diff --git a/public/index.html b/public/index.html index f449c2f..6f52be6 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/assets/img/od.png b/src/assets/img/od.png index 32dd218..e703e0b 100644 Binary files a/src/assets/img/od.png and b/src/assets/img/od.png differ diff --git a/src/assets/img/os.png b/src/assets/img/os.png index 9b13fb2..d5bd67b 100644 Binary files a/src/assets/img/os.png and b/src/assets/img/os.png differ diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index e49d6be..67dd4e3 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -19,7 +19,14 @@
年龄:
性别:
眼别: - + {{ item.name }} - ( - + {{ area.name }} - + )
@@ -185,7 +191,8 @@ export default { patientSign: '', qgy: '', ydb: '', - swmxgxbb: '' + swmxgxbb: '', + frequency: '' }, options: [{ value: 'OD', @@ -370,14 +377,6 @@ export default { }, created() { this.origin = JSON.parse(JSON.stringify(this.confirmData)) - // 患者信息带入 - this.confirmData.patientName = this.patientDetail.patientName - this.confirmData.patientAge = this.patientDetail.patientAge - this.confirmData.patientGender = this.patientDetail.patientSex - 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') this.getInfoDetail() this.queryProject() this.$store.commit('initPlugin') @@ -392,9 +391,7 @@ export default { patientId: this.patientDetail.patientId }}).then(data => { const detail = data.data.data - if (detail.eyeType) { - this.confirmData.eyeType = detail.eyeType - } + this.confirmData.eyeType = detail.eyeType const bnzList = detail.bnz && detail.bnz.split('/') || [] const qgyList = detail.qgy && detail.qgy.split('/') || [] const ydbList = detail.ydb && detail.ydb.split('/') || [] @@ -405,6 +402,22 @@ export default { this.handleDetail(bnzList, qgyList, ydbList, swmList, detail.coats, mzfsList, jgshList, jgshAreaList) this.confirmData.other = detail.other || '' this.$store.commit('informPatientSign', detail.patientSign) + if (!detail.jzNumber) { + // 患者信息带入 + this.confirmData.patientName = this.patientDetail.patientName + this.confirmData.patientAge = this.patientDetail.patientAge + this.confirmData.patientGender = this.patientDetail.patientSex + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) + this.confirmData.operationSign = userData.signImgBase + this.confirmData.operationDate = this.$moment().format('YYYY-MM-DD') + this.confirmData.patientDate = this.$moment().format('YYYY-MM-DD') + } else { + this.confirmData.patientName = detail.patientName + this.confirmData.patientAge = detail.patientAge + this.confirmData.patientGender = detail.patientGender + this.confirmData.operationDate = detail.operationDate + this.confirmData.patientDate = detail.patientDate + } }) }, // 获取详情数据并展示在页面中 @@ -552,6 +565,11 @@ export default { }, // 保存 handleSaveTable() { + if (!this.confirmData.eyeType) { + this.$message.error('请选择眼别') + this.$refs.eyeTypeRef.focus() + return + } this.handleList() this.handleNarcotism() this.handleMode() diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index 7450ae9..0676179 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -176,9 +176,8 @@
-
示意图
+
示意图 {{ confirmData.eyeType }}
-
@@ -294,9 +293,9 @@ export default { methods: { changeEyeType(value) { if (value === 'OD') { - this.confirmData.jgzlSyt = odOrOs.od + this.confirmData.jgzlSyt = require('@/assets/img/od.png') } else { - this.confirmData.jgzlSyt = odOrOs.os + this.confirmData.jgzlSyt = require('@/assets/img/os.png') } }, onEnter(index) { @@ -374,10 +373,11 @@ export default { this.confirmData.patientAddress = this.patientDetail.patientAddress this.confirmData.patientPhone = this.patientDetail.patientPhone this.confirmData.operateDate = new Date() + this.confirmData.eyeType = 'OD' if (this.confirmData.eyeType === 'OD') { - this.confirmData.jgzlSyt = odOrOs.od + this.confirmData.jgzlSyt = require('@/assets/img/od.png') } else { - this.confirmData.jgzlSyt = odOrOs.os + this.confirmData.jgzlSyt = require('@/assets/img/os.png') } } const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) @@ -437,12 +437,15 @@ export default { margin-bottom: 10px; } .descImg{ - font-size: 12px; + font-size: 16px; padding: 10px; flex: 1; border: 1px solid #8e8c8c; margin-left: 20px; height: 280px; + span{ + font-weight: bold; + } div{ height: 20px; text-align: left; diff --git a/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue b/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue index b41b50e..46c8b81 100644 --- a/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue +++ b/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue @@ -121,11 +121,12 @@ export default { margin-bottom: 0; } .img { - width: 360px*0.2; - height: 400px*0.2; + width: 320px*0.2; + height: 320px*0.2; padding: 5px; margin-left: 5px; cursor: pointer; + background: #fff; } ::v-deep .el-divider__text{ diff --git a/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue b/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue index 40265f9..5ca4b59 100644 --- a/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue +++ b/src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue @@ -38,8 +38,8 @@ export default { inject: ['canvas', 'fabric'], data() { return { - width: 360 * 2, - height: 400 * 2, + width: 320 * 2.5, + height: 320 * 2.5, presetSize: [{ label: '红书竖版', width: 900, diff --git a/src/page-subspecialty/views/modules/imgEditorFabric/index.vue b/src/page-subspecialty/views/modules/imgEditorFabric/index.vue index b6e3ae0..fb04947 100644 --- a/src/page-subspecialty/views/modules/imgEditorFabric/index.vue +++ b/src/page-subspecialty/views/modules/imgEditorFabric/index.vue @@ -2,7 +2,7 @@
-
眼底绘图
+
眼底绘图 {{ isOdOrOs }}
关闭 diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue index 0f98eff..fb85dab 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -19,7 +19,7 @@
- + - + 患者类型: - - - - - - @@ -98,14 +92,8 @@ - + - - - - - -
@@ -118,12 +106,6 @@ - - - - - -
@@ -376,6 +358,13 @@ input{ ::v-deep .el-checkbox{ margin-right: 12px; } +.otherProject{ + ::v-deep .el-input__inner{ + border: 0; + border-radius: 0; + border-bottom: 1px solid #ccc !important; + } +} .patientDetail{ border: 1px solid #6EB1FF; border-radius: 8px; diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue index 79a7082..c56a134 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue @@ -33,26 +33,6 @@ :value="item.itemId" /> - {{ item.label }} -
- {{ item.label }} -
预约时间: 打印
+
+ {{ item.label }} +
+ {{ item.label }} +
+
+