From 913c3d78926b0f5472afb774fbebe3205c2acddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 28 Jun 2024 16:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/manualReview/index.vue | 299 +++++------------------- src/views/manage/signRecord/index.vue | 97 ++++---- 2 files changed, 110 insertions(+), 286 deletions(-) diff --git a/src/views/manage/manualReview/index.vue b/src/views/manage/manualReview/index.vue index dae3a3b..152dd18 100644 --- a/src/views/manage/manualReview/index.vue +++ b/src/views/manage/manualReview/index.vue @@ -1,39 +1,19 @@ @@ -405,6 +214,10 @@ export default { }; }, created() { + if (localStorage.getItem('routeCheckStatus')) { + this.queryParams.routeCheckStatus = localStorage.getItem('routeCheckStatus') + localStorage.removeItem('routeCheckStatus') + } this.getList(); this.selectAgencyinfo(); }, @@ -439,6 +252,7 @@ export default { }, //查看操作 handleLook(row) { + localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus) this.$router.push({ path: "/task/LookAuditing", query: { @@ -450,12 +264,13 @@ export default { }, /** 审核操作 */ handleAuthRole(row) { + localStorage.setItem('routeCheckStatus', this.queryParams.routeCheckStatus) this.$router.push({ path: "/task/Auditing", query: { patientId: row.patientId, signRecordId: row.id, - routeCheckStatus:row.routeCheckStatus + routeCheckStatus: row.routeCheckStatus }, }); }, diff --git a/src/views/manage/signRecord/index.vue b/src/views/manage/signRecord/index.vue index 857fe68..b5ecd86 100644 --- a/src/views/manage/signRecord/index.vue +++ b/src/views/manage/signRecord/index.vue @@ -355,6 +355,10 @@ export default { }; }, created() { + if (localStorage.getItem('serviceStatus')) { + this.queryParams.serviceStatus = localStorage.getItem('serviceStatus') + localStorage.removeItem('serviceStatus') + } this.selectAgencyinfo(); }, mounted() { @@ -477,18 +481,19 @@ export default { //手动创建任务 addTask() { if (this.addTaskitem) { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.push({ - path: "/patient/ManuallyCreatingTasks", - query: { - signPatientRecordId: this.addTaskitem.id, - patientId: this.addTaskitem.patientId, - patientName: this.addTaskitem.patientName, - departmentId: this.addTaskitem.departmentId, - departmentName: this.addTaskitem.departmentName, - }, - }); - }) + localStorage.setItem('serviceStatus', this.queryParams.serviceStatus) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.push({ + path: "/patient/ManuallyCreatingTasks", + query: { + signPatientRecordId: this.addTaskitem.id, + patientId: this.addTaskitem.patientId, + patientName: this.addTaskitem.patientName, + departmentId: this.addTaskitem.departmentId, + departmentName: this.addTaskitem.departmentName, + }, + }); + // }) } else { this.$message.error('请先选择一名签约服务中患者'); } @@ -548,28 +553,29 @@ export default { this.getList(); }, handlenewsign(row) { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.replace({ - path: "/patient/newSigning", - query: { - departmentId: row.departmentId, - patientName: row.patientName, - patientPhone: row.patientPhone, - visitMethod: row.visitMethod, - signDiagnosis: row.signDiagnosis, - visitSerialNumber: row.visitSerialNumber, - hospitalAgencyName: row.hospitalAgencyName, - hospitalAgencyId: row.hospitalAgencyId, - inHospitalNumber: row.inHospitalNumber, - departmentName: row.departmentName, - paymentStatus: row.paymentStatus, - sex: row.sex, - age: row.birthDate ? getAge(row.birthDate) : '', - patientId: row.patientId, - createTime: row.createTime, - }, - }); - }) + localStorage.setItem('serviceStatus', this.queryParams.serviceStatus) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.replace({ + path: "/patient/newSigning", + query: { + departmentId: row.departmentId, + patientName: row.patientName, + patientPhone: row.patientPhone, + visitMethod: row.visitMethod, + signDiagnosis: row.signDiagnosis, + visitSerialNumber: row.visitSerialNumber, + hospitalAgencyName: row.hospitalAgencyName, + hospitalAgencyId: row.hospitalAgencyId, + inHospitalNumber: row.inHospitalNumber, + departmentName: row.departmentName, + paymentStatus: row.paymentStatus, + sex: row.sex, + age: row.birthDate ? getAge(row.birthDate) : '', + patientId: row.patientId, + createTime: row.createTime, + }, + }); + // }) }, selectAgencyinfo() { let query = { @@ -665,19 +671,21 @@ export default { }, //续约 handleContinue(row) { - this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { - this.$router.replace({ - path: "/patient/continueSigning", - query: { - hospitalAgencyId: row.hospitalAgencyId, - hospitalAgencyName: row.hospitalAgencyName, - patientSignRecordId: row.id, - }, - }); - }) + localStorage.setItem('serviceStatus', this.queryParams.serviceStatus) + // this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.replace({ + path: "/patient/continueSigning", + query: { + hospitalAgencyId: row.hospitalAgencyId, + hospitalAgencyName: row.hospitalAgencyName, + patientSignRecordId: row.id, + }, + }); + // }) }, /** 详情操作 */ handleAuthRole(row) { + localStorage.setItem('serviceStatus', this.queryParams.serviceStatus) this.$router.push({ path: "/patient/patientdetails", query: { @@ -697,6 +705,7 @@ export default { }, // 生成数据 handledata(row) { + localStorage.setItem('serviceStatus', this.queryParams.serviceStatus) this.$router.push({ path: "/patient/Datadetails", query: {