diff --git a/src/layout/index.vue b/src/layout/index.vue index 3466cbd..683516d 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -55,6 +55,7 @@ export default { } }, created() { + localStorage.removeItem('questionquery') localStorage.removeItem('manualReviewquery') localStorage.removeItem('signRecordquery') localStorage.removeItem('followupquery') diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index 5a196c3..838b931 100644 --- a/src/store/modules/tagsView.js +++ b/src/store/modules/tagsView.js @@ -112,6 +112,9 @@ const actions = { }, delView({ dispatch, state }, view) { + if (view.fullPath == "/knowledge/question") { + localStorage.removeItem('questionquery') + } if (view.fullPath == '/task/manualReview') { localStorage.removeItem('manualReviewquery') } @@ -144,6 +147,9 @@ const actions = { }, delOthersViews({ dispatch, state }, view) { + if (view.fullPath == "/knowledge/question") { + localStorage.removeItem('questionquery') + } if (view.fullPath != '/task/manualReview') { localStorage.removeItem('manualReviewquery') } diff --git a/src/views/components/DepartmentList.vue b/src/views/components/DepartmentList.vue index cb8b437..98f7a07 100644 --- a/src/views/components/DepartmentList.vue +++ b/src/views/components/DepartmentList.vue @@ -79,6 +79,7 @@ export default { switchvalue: true, //校验 itemid: null, + departmentName: '', // 表格数据 DepartmentoList: [], count: '', @@ -236,12 +237,18 @@ export default { this.count += item.countNum; } }); - this.$emit("clickdepartment", { - hospitalAgencyId: this.querydepartmen.hospitalAgencyId, - itemid: this.itemid, - itemName: this.departmentName, - hospitalAgencyName: this.hospitalAgencyName - }); + if (localStorage.getItem('questionquery')) { + this.itemid = JSON.parse(localStorage.getItem('questionquery')).departmentId + this.departmentName = JSON.parse(localStorage.getItem('questionquery')).departmentName + } + if (this.methods != 'getDepartmentList') { + this.$emit("clickdepartment", { + hospitalAgencyId: this.querydepartmen.hospitalAgencyId, + itemid: this.itemid, + itemName: this.departmentName, + hospitalAgencyName: this.hospitalAgencyName + }); + } } }); }, diff --git a/src/views/manage/components/PathReview.vue b/src/views/manage/components/PathReview.vue index 6b271fe..9ff47c1 100644 --- a/src/views/manage/components/PathReview.vue +++ b/src/views/manage/components/PathReview.vue @@ -286,14 +286,6 @@
文字提醒
-
- {{ item.textRemindContent }} -
- -
-
- 内容 -
diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue index c36c774..aae9330 100644 --- a/src/views/system/question/index.vue +++ b/src/views/system/question/index.vue @@ -3,256 +3,105 @@ - +
- + - + - + - 搜索 - 重置 + 搜索 + 重置
- 新增问卷模板 - 导入 + 新增问卷模板 + 导入
- - - - - - + + + + + + - + - - + +
- +
- - + + - - + + - - + + - +