修改
This commit is contained in:
parent
728c35b816
commit
ac48a4f8bd
@ -112,6 +112,15 @@ const actions = {
|
||||
},
|
||||
|
||||
delView({ dispatch, state }, view) {
|
||||
if (view.fullPath == '/task/manualReview') {
|
||||
localStorage.removeItem('routeCheckStatus')
|
||||
}
|
||||
if (view.fullPath == "/patient/signRecord") {
|
||||
localStorage.removeItem('serviceStatus')
|
||||
}
|
||||
if (view.fullPath == "/task/followup") {
|
||||
localStorage.removeItem('nodeExecuteStatus')
|
||||
}
|
||||
return new Promise(resolve => {
|
||||
dispatch('delVisitedView', view)
|
||||
dispatch('delCachedView', view)
|
||||
@ -135,6 +144,15 @@ const actions = {
|
||||
},
|
||||
|
||||
delOthersViews({ dispatch, state }, view) {
|
||||
if (view.fullPath != '/task/manualReview') {
|
||||
localStorage.removeItem('routeCheckStatus')
|
||||
}
|
||||
if (view.fullPath != "/patient/signRecord") {
|
||||
localStorage.removeItem('serviceStatus')
|
||||
}
|
||||
if (view.fullPath != "/task/followup") {
|
||||
localStorage.removeItem('nodeExecuteStatus')
|
||||
}
|
||||
return new Promise(resolve => {
|
||||
dispatch('delOthersVisitedViews', view)
|
||||
dispatch('delOthersCachedViews', view)
|
||||
|
||||
@ -216,7 +216,6 @@ export default {
|
||||
created() {
|
||||
if (localStorage.getItem('routeCheckStatus')) {
|
||||
this.queryParams.routeCheckStatus = localStorage.getItem('routeCheckStatus')
|
||||
localStorage.removeItem('routeCheckStatus')
|
||||
}
|
||||
this.getList();
|
||||
this.selectAgencyinfo();
|
||||
@ -253,7 +252,6 @@ export default {
|
||||
},
|
||||
//查看操作
|
||||
handleLook(row) {
|
||||
localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus)
|
||||
this.$router.push({
|
||||
path: "/task/LookAuditing",
|
||||
query: {
|
||||
@ -265,7 +263,6 @@ export default {
|
||||
},
|
||||
/** 审核操作 */
|
||||
handleAuthRole(row) {
|
||||
localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus)
|
||||
this.$router.push({
|
||||
path: "/task/Auditing",
|
||||
query: {
|
||||
|
||||
@ -357,7 +357,6 @@ export default {
|
||||
created() {
|
||||
if (localStorage.getItem('serviceStatus')) {
|
||||
this.queryParams.serviceStatus = localStorage.getItem('serviceStatus')
|
||||
localStorage.removeItem('serviceStatus')
|
||||
}
|
||||
this.selectAgencyinfo();
|
||||
},
|
||||
@ -554,7 +553,6 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
handlenewsign(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/newSigning",
|
||||
@ -672,7 +670,6 @@ export default {
|
||||
},
|
||||
//续约
|
||||
handleContinue(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
// this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.replace({
|
||||
path: "/patient/continueSigning",
|
||||
@ -686,7 +683,6 @@ export default {
|
||||
},
|
||||
/** 详情操作 */
|
||||
handleAuthRole(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
@ -706,7 +702,6 @@ export default {
|
||||
},
|
||||
// 生成数据
|
||||
handledata(row) {
|
||||
localStorage.setItem('serviceStatus', this.queryParams.serviceStatus)
|
||||
this.$router.push({
|
||||
path: "/patient/Datadetails",
|
||||
query: {
|
||||
|
||||
@ -270,6 +270,9 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (localStorage.getItem('nodeExecuteStatus')) {
|
||||
this.queryParams.nodeExecuteStatus = localStorage.getItem('nodeExecuteStatus')
|
||||
}
|
||||
this.getList();
|
||||
this.selectAgencyinfo();
|
||||
},
|
||||
@ -284,10 +287,11 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
handleClick(tab, event) {
|
||||
this.intentionalTime = [],
|
||||
this.mzTime = [],
|
||||
this.ryTime = [],
|
||||
this.queryParams.dischargeStartTime = null
|
||||
localStorage.setItem('nodeExecuteStatus', this.queryParams.nodeExecuteStatus)
|
||||
this.intentionalTime = []
|
||||
this.mzTime = []
|
||||
this.ryTime = []
|
||||
this.queryParams.dischargeStartTime = null
|
||||
this.queryParams.dischargeEndTime = null
|
||||
this.queryParams.clinicalStartTime = null
|
||||
this.queryParams.clinicalEndTime = null
|
||||
@ -642,15 +646,6 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
// handleClick(tab, event) {
|
||||
// this.intentionalTime = [];
|
||||
// this.queryParams.startDate = null;
|
||||
// this.queryParams.endDate = null;
|
||||
// // this.signTime = []
|
||||
// // this.queryParams.signTimeStart = null
|
||||
// // this.queryParams.signTimeEnd = null
|
||||
// this.getList();
|
||||
// },
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user