diff --git a/src/components/360View/collection.vue b/src/components/360View/collection.vue index 40ab9f4..b6b9489 100644 --- a/src/components/360View/collection.vue +++ b/src/components/360View/collection.vue @@ -179,7 +179,7 @@ export default { async findTree() { const { data } = await this.$http.get(`/tree/findTree`, { params: { - doctorId: JSON.parse(window.sessionStorage.getItem('qg-userData')).idid, + doctorId: JSON.parse(window.sessionStorage.getItem('qg-userData')).id, platform: this.platform } }) diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index 2739ead..9211c2c 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -372,7 +372,7 @@ export default { this.confirmData.patientName = this.patientDetail.patientName this.confirmData.patientAge = this.patientDetail.patientAge this.confirmData.patientGender = this.patientDetail.patientSex - const userData = window.sessionStorage.getItem('qg-userData') + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) this.confirmData.operationSign = userData.signImgBase this.confirmData.operationDate = this.$moment().format('YYYY-MM-DD HH:mm:ss') this.confirmData.patientDate = this.$moment().format('YYYY-MM-DD HH:mm:ss') diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index 02b079d..4afa04a 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -298,7 +298,7 @@ export default { this.confirmData.jgzlSyt = odOrOs.os } } - const userData = window.sessionStorage.getItem('qg-userData') + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) this.confirmData.operateSign = userData.signImgBase }) }, diff --git a/src/page-subspecialty/views/modules/formList/reportForm.vue b/src/page-subspecialty/views/modules/formList/reportForm.vue index 20ebed6..d718fcb 100644 --- a/src/page-subspecialty/views/modules/formList/reportForm.vue +++ b/src/page-subspecialty/views/modules/formList/reportForm.vue @@ -144,7 +144,7 @@ export default { created() { this.origin = JSON.parse(JSON.stringify(this.formData)) this.confirmData.patientName = this.patientDetail.patientName - const userData = window.sessionStorage.getItem('qg-userData') + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) this.confirmData.operator = userData.signImgBase this.getReportInfo() },