This commit is contained in:
2024-06-28 17:05:57 +08:00
parent 728c35b816
commit ac48a4f8bd
4 changed files with 27 additions and 22 deletions

View File

@ -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)

View File

@ -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: {

View File

@ -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: {

View File

@ -270,6 +270,9 @@ export default {
};
},
created() {
if (localStorage.getItem('nodeExecuteStatus')) {
this.queryParams.nodeExecuteStatus = localStorage.getItem('nodeExecuteStatus')
}
this.getList();
this.selectAgencyinfo();
},
@ -284,9 +287,10 @@ export default {
this.getList();
},
handleClick(tab, event) {
this.intentionalTime = [],
this.mzTime = [],
this.ryTime = [],
localStorage.setItem('nodeExecuteStatus', this.queryParams.nodeExecuteStatus)
this.intentionalTime = []
this.mzTime = []
this.ryTime = []
this.queryParams.dischargeStartTime = null
this.queryParams.dischargeEndTime = null
this.queryParams.clinicalStartTime = 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;