修改任务记录
This commit is contained in:
parent
3eef97c54e
commit
093939a2e2
@ -59,6 +59,7 @@ export default {
|
||||
localStorage.removeItem('manualReviewquery')
|
||||
localStorage.removeItem('signRecordquery')
|
||||
localStorage.removeItem('followupquery')
|
||||
localStorage.removeItem('taskquery')
|
||||
},
|
||||
methods: {
|
||||
handleClickOutside() {
|
||||
|
||||
@ -124,6 +124,10 @@ const actions = {
|
||||
if (view.fullPath == "/task/followup") {
|
||||
localStorage.removeItem('followupquery')
|
||||
}
|
||||
if (view.fullPath == "/task/taskExecuteRecord") {
|
||||
localStorage.removeItem('taskquery')
|
||||
}
|
||||
|
||||
return new Promise(resolve => {
|
||||
dispatch('delVisitedView', view)
|
||||
dispatch('delCachedView', view)
|
||||
@ -159,6 +163,10 @@ const actions = {
|
||||
if (view.fullPath != "/task/followup") {
|
||||
localStorage.removeItem('followupquery')
|
||||
}
|
||||
if (view.fullPath != "/task/taskExecuteRecord") {
|
||||
localStorage.removeItem('taskquery')
|
||||
}
|
||||
|
||||
return new Promise(resolve => {
|
||||
dispatch('delOthersVisitedViews', view)
|
||||
dispatch('delOthersCachedViews', view)
|
||||
|
||||
@ -211,8 +211,8 @@ export default {
|
||||
this.screenChange()
|
||||
},
|
||||
created(){
|
||||
if (localStorage.getItem("followupquery")) {
|
||||
this.queryParams = JSON.parse(localStorage.getItem("followupquery"));
|
||||
if (localStorage.getItem("taskquery")) {
|
||||
this.queryParams = JSON.parse(localStorage.getItem("taskquery"));
|
||||
this.queryParams.hospitalAgencyId = undefined;
|
||||
this.queryParams.campusAgencyId = undefined;
|
||||
this.queryParams.departmentId = undefined;
|
||||
@ -272,7 +272,7 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listTaskExecuteRecord(this.queryParams).then((response) => {
|
||||
localStorage.setItem("followupquery", JSON.stringify(this.queryParams));
|
||||
localStorage.setItem("taskquery", JSON.stringify(this.queryParams));
|
||||
this.taskExecuteRecordList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user