From d552aca24f01cbea3afd66a1e4a199b967b2d0db Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Thu, 18 May 2023 09:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=82=A8=E5=AD=98=E5=88=B0se?= =?UTF-8?q?ssion=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/business.vue | 4 ++-- src/components/360View/commonForm/eyesVision.vue | 6 +++--- .../360View/commonForm/optometryForm-copy.vue | 10 +++++----- src/components/360View/commonForm/optometryForm.vue | 8 ++++---- src/components/360View/commonForm/threeVision.vue | 4 ++-- .../360View/medicalRecord/outPatientRecord/index.vue | 10 +++++----- src/components/360View/routine/index.vue | 4 ++-- src/components/patient-search/data-list.vue | 6 +++--- .../views/modules/formList/InformedConsent.vue | 4 ++-- .../views/modules/formList/laserSurgery.vue | 4 ++-- .../views/modules/formList/mraOrder.vue | 4 ++-- .../views/modules/formList/reportForm.vue | 4 ++-- .../modules/optometryManagement/dioptric/index.vue | 10 +++++----- .../views/modules/outpatientManagement/call/index.vue | 4 ++-- .../views/modules/outpatientManagement/treat/index.vue | 4 ++-- 15 files changed, 43 insertions(+), 43 deletions(-) diff --git a/src/components/360View/business.vue b/src/components/360View/business.vue index 758039e..d82b35e 100644 --- a/src/components/360View/business.vue +++ b/src/components/360View/business.vue @@ -20,7 +20,7 @@
医疗项目: - + - + - + - + @@ -110,14 +110,14 @@ export default { watch: { caseId: { handler: async function(newV, oldV) { - this.jzNumber = window.localStorage.getItem('jzNumber') + this.jzNumber = window.sessionStorage.getItem('jzNumber') await this.getMedicalHistory() await this.getDiagnosis() } } }, async mounted() { - this.jzNumber = window.localStorage.getItem('jzNumber') + this.jzNumber = window.sessionStorage.getItem('jzNumber') await this.getMedicalHistory() await this.getDiagnosis() }, diff --git a/src/components/360View/routine/index.vue b/src/components/360View/routine/index.vue index c90f0f5..4c156dd 100644 --- a/src/components/360View/routine/index.vue +++ b/src/components/360View/routine/index.vue @@ -276,9 +276,9 @@ export default { this.odStatus = this.shiliLast.length ? this.shiliLast[0].odCvText : '' this.osStatus = this.shiliLast.length ? this.shiliLast[0].osCvText : '' if (this.shiliLast.length) { - window.localStorage.setItem('shili', JSON.stringify(res.data.shiliLast)) + window.sessionStorage.setItem('shili', JSON.stringify(res.data.shiliLast)) } else { - window.localStorage.setItem('shili', []) + window.sessionStorage.setItem('shili', []) } } else { this.routineData = {} diff --git a/src/components/patient-search/data-list.vue b/src/components/patient-search/data-list.vue index 4f79994..ede698e 100644 --- a/src/components/patient-search/data-list.vue +++ b/src/components/patient-search/data-list.vue @@ -56,7 +56,7 @@ @@ -144,8 +144,8 @@ export default { // this.patientId = scopeRow.patientId const mzName = scopeRow.mzDoctorName ? scopeRow.mzDoctorName : '' const jzNumber = scopeRow.jzNumber ? scopeRow.jzNumber : '' - window.localStorage.setItem('mzDoctorName', mzName) - window.localStorage.setItem('jzNumber', jzNumber) + window.sessionStorage.setItem('mzDoctorName', mzName) + window.sessionStorage.setItem('jzNumber', jzNumber) } } } diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index 9211c2c..d292297 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -519,7 +519,7 @@ export default { }, // 获取项目id列表 async queryProject() { - const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] + const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : [] const { data: res } = await this.$http.get( '/patient/getZlItemDict', { @@ -551,7 +551,7 @@ export default { this.handleNarcotism() this.handleMode() this.confirmData.patientSign = this.informPatientSign - this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') + this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblJgshzqtys', { caseId: this.caseId, ...this.confirmData diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index 4afa04a..4fb7fe1 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -244,7 +244,7 @@ export default { }, // 获取项目id列表 async queryProject() { - const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] + const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : [] const { data: res } = await this.$http.get( '/patient/getZlItemDict', { @@ -304,7 +304,7 @@ export default { }, // 保存 handleSaveTable() { - this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') + this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblJgshzl', { caseId: this.caseId, ...this.confirmData diff --git a/src/page-subspecialty/views/modules/formList/mraOrder.vue b/src/page-subspecialty/views/modules/formList/mraOrder.vue index d8e1642..f8d9b11 100644 --- a/src/page-subspecialty/views/modules/formList/mraOrder.vue +++ b/src/page-subspecialty/views/modules/formList/mraOrder.vue @@ -283,7 +283,7 @@ export default { }) }, handleSaveTable() { - this.formData.jzNumber = window.localStorage.getItem('jzNumber') + this.formData.jzNumber = window.sessionStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblYdxgzy', { caseId: this.caseId, ...this.formData @@ -313,7 +313,7 @@ export default { }, // 获取项目id列表 async queryProject() { - const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] + const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : [] const { data: res } = await this.$http.get( '/patient/getZlItemDict', { diff --git a/src/page-subspecialty/views/modules/formList/reportForm.vue b/src/page-subspecialty/views/modules/formList/reportForm.vue index d718fcb..db5db4d 100644 --- a/src/page-subspecialty/views/modules/formList/reportForm.vue +++ b/src/page-subspecialty/views/modules/formList/reportForm.vue @@ -190,7 +190,7 @@ export default { handleSaveTable() { this.confirmData.fmwOd = this.handleFormEye(this.formData.form.OD).join('/') this.confirmData.fmwOs = this.handleFormEye(this.formData.form.OS).join('/') - this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') + this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblBg', { caseId: this.caseId, ...this.confirmData @@ -214,7 +214,7 @@ export default { }, // 获取项目id列表 async queryProject() { - const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] + const project = window.sessionStorage.getItem('projectItem') ? JSON.parse(window.sessionStorage.getItem('projectItem')) : [] const { data: res } = await this.$http.get( '/patient/getZlItemDict', { diff --git a/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue index b22f5d3..2f2bf31 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/dioptric/index.vue @@ -84,7 +84,7 @@ - +