From ac9729e6e65bde575aa80c1ee7366992ca300cf2 Mon Sep 17 00:00:00 2001 From: newPeter7 Date: Wed, 24 May 2023 18:04:17 +0800 Subject: [PATCH] peter --- .../360View/commonForm/threeVision.vue | 4 +- src/components/patient-search/data-list.vue | 6 +- src/page-subspecialty/store/modules/sign.js | 7 + .../reservation/schedule/addPatientOrder.vue | 95 +++-- .../schedule/number-detail-manage.vue | 2 +- .../optometryManagement/cornea/HIS-add.vue | 16 +- .../optometryManagement/cornea/index.vue | 39 +- .../cornea/patient-add-or-update.vue | 2 +- .../seeDoctor/CornealReview.vue | 344 +++++++++++------- .../seeDoctor/first-visit/index.vue | 293 +++++++-------- .../seeDoctor/informBook/notice-book.vue | 2 +- .../seeDoctor/informBook/rgp-book.vue | 2 +- .../seeDoctor/ok-lens-rgp/add-or-update.vue | 1 - .../seeDoctor/ok-lens-rgp/left-right-eye.vue | 24 +- .../optometryManagement/seeDoctor/review.vue | 184 +++++++++- .../scientificManagement/sys/project.vue | 6 +- 16 files changed, 655 insertions(+), 372 deletions(-) diff --git a/src/components/360View/commonForm/threeVision.vue b/src/components/360View/commonForm/threeVision.vue index 95e4006..fc9e2a3 100644 --- a/src/components/360View/commonForm/threeVision.vue +++ b/src/components/360View/commonForm/threeVision.vue @@ -778,8 +778,8 @@ export default { data() { return { myLayout: [ - '1234567890{delete:backspace}|qwertyuiop|asdfghjkl|{shift:goto:1}zxcvbnm|{space:space}{custom:custom}', - '@+-/%△°*()ᴿᴸ|1234567890|QWERTYUIOP|ASDFGHJKL|{shift:goto:0}ZXCVBNM|{space:space}{custom:custom}' + '@+-/%△°*()ᴿᴸ|1234567890|QWERTYUIOP|ASDFGHJKL|{shift:goto:1}ZXCVBNM|{space:space}{custom:custom}{delete:backspace}', + '1234567890{delete:backspace}|qwertyuiop|asdfghjkl|{shift:goto:0}zxcvbnm|{space:space}{custom:custom}' ], // myLayout: '||{EX:EX}', focusItem: '', diff --git a/src/components/patient-search/data-list.vue b/src/components/patient-search/data-list.vue index ede698e..330f7f7 100644 --- a/src/components/patient-search/data-list.vue +++ b/src/components/patient-search/data-list.vue @@ -19,9 +19,9 @@
-

- {{ item.name }} - {{ item.num }}次 +

+ {{ item.checkName }} + {{ item.count }}次

diff --git a/src/page-subspecialty/store/modules/sign.js b/src/page-subspecialty/store/modules/sign.js index 554d7dd..68cb59b 100644 --- a/src/page-subspecialty/store/modules/sign.js +++ b/src/page-subspecialty/store/modules/sign.js @@ -26,6 +26,7 @@ export default { operator: '', informedDocSign: '', informPatientSign: '', + checkSign: '' fundusDocSign: '', kinSign: '', performerSign: '', @@ -44,6 +45,7 @@ export default { operator: state => state.operator, informedDocSign: state => state.informedDocSign, informPatientSign: state => state.informPatientSign, + checkSign: state => state.checkSign, fundusDocSign: state => state.fundusDocSign, kinSign: state => state.kinSign, performerSign: state => state.performerSign, @@ -198,6 +200,8 @@ export default { this.commit('performerSign', img_base64) } else if (state.type === 15) { this.commit('checkerSign', img_base64) + } else if (state.type === 16) { + this.commit('checkSign', img_base64) } } else { // debugPrint("saveSignToBase64 error,description:" + args[0]); @@ -241,6 +245,9 @@ export default { informPatientSign(state, val) { state.informPatientSign = val }, + checkSign(state, val) { + state.checkSign = val + }, fundusDocSign(state, val) { state.fundusDocSign = val }, 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 929f8e2..b786df2 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -29,14 +29,19 @@ /> - - - 已开医嘱: - - 是 - - 否 - + + 患者类型: + + + + + + + + + + + @@ -65,28 +70,60 @@ OU - - 散瞳: - OD - - OS - - - - 缩瞳: - OD - - OS - + + + + + + + + + + + + + + + + + + + +
+ +
项目:
+ + + + + + + + + + + + + +
- -
三面镜:
- 是 - - 否 - + +
准备工作:
+ + + + + + + + + + + + +
@@ -151,6 +188,7 @@ export default { patientInfo: null, form: { patientId: '', + patientType: [], doctorName: '', yzOpen: '', remark: '', @@ -334,6 +372,9 @@ input{ ::v-deep .el-radio{ margin-right: 8px; } +::v-deep .el-checkbox{ + margin-right: 12px; +} .patientDetail{ border: 1px solid #6EB1FF; border-radius: 8px; diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue index 072d5bc..572d094 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue @@ -78,7 +78,7 @@ export default { }, addOrder() { this.addPatientVisible = true - this.addTitle = '新增预约' + this.addTitle = `新增预约-${this.projectName}` this.isEdit = false this.curPatient = null this.$nextTick(() => { diff --git a/src/page-subspecialty/views/modules/optometryManagement/cornea/HIS-add.vue b/src/page-subspecialty/views/modules/optometryManagement/cornea/HIS-add.vue index ec48945..8263578 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/cornea/HIS-add.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/cornea/HIS-add.vue @@ -108,7 +108,21 @@ export default { // 点击引入按钮 async introduceHandle(scopwRow) { this.visible = false - this.$parent.addOrUpdateHandle('', scopwRow, 'HIS引入') + // this.$parent.addOrUpdateHandle('', scopwRow, 'HIS引入') + await this.doLeadIn() + }, + async doLeadIn() { + this.loading = true + const { data: res } = await this.$http.get('/lenses/doLeadIn', { + params: this.dataFormHis + }) + if (res.code === 0) { + this.loading = false + this.$parent.getDataListInitial() + } else { + this.loading = false + this.$message.error(res.msg) + } } } } diff --git a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue index dfc6483..3b71e77 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/cornea/index.vue @@ -30,25 +30,25 @@ - - - - - - - - - - - - +
+
+ + + + + + + + +
+
- - - - - - + + + HIS引入 + +
+
- 保存 - 打印 + 保存 + 打印
-
+

角膜塑形镜复查单

@@ -17,22 +17,19 @@
检查日期
-
已戴镜时间
+
已戴镜时间
- - + + - - -
@@ -41,49 +38,59 @@ 右眼 左眼 - - + + 视力 + + - {{ formData.projectList[4].name }} + 眼压 + + - - {{ item.name }} - - + + 角膜地形图 + + + + + + + + + + + + + 眼表 - {{ formData.projectList[5].name }} + 角膜 + + + + + 结膜 + + + + + 其他 + + + + + 镜片
- +
- +
@@ -98,11 +105,16 @@
-
- 检查人签字 +
+ 检查人签字: + + +
- 医生签字 + 医生签字: + +
@@ -121,188 +133,261 @@ export default { components: { headTemplate }, + props: { + caseId: { + type: String, + default: '' + }, + patientId: { + type: String, + default: '' + }, + }, data() { return { cornealList: [ { name: '居中', - id: 1 + id: '1' }, { name: '大致居中', - id: 2 + id: '2' }, { name: '偏上', - id: 3 + id: '3' }, { name: '偏下', - id: 4 + id: '4' }, { name: '偏左', - id: 5 + id: '5' }, { name: '偏右', - id: 6 + id: '6' }, { name: '偏颞上', - id: 7 + id: '7' }, { name: '偏颞下', - id: 8 + id: '8' }, { name: '偏鼻上', - id: 9 + id: '9' }, { name: '偏鼻下', - id: 10 + id: '10' }, { name: '稍上', - id: 11 + id: '11' }, { name: '稍下', - id: 12 + id: '12' }, { name: '稍左', - id: 13 + id: '13' }, { name: '稍右', - id: 14 + id: '14' }, { name: '稍颞上', - id: 15 + id: '15' }, { name: '稍颞下', - id: 16 + id: '16' }, { name: '稍鼻上', - id: 17 + id: '17' }, { name: '稍鼻下', - id: 18 + id: '18' } ], checkList: [ { name: '正常', - id: 1 + id: '1' }, { name: '重影', - id: 2 + id: '2' }, { name: '视力波动', - id: 3 + id: '3' }, { name: '异物感', - id: 4 + id: '4' }, { name: '镜片难摘', - id: 5 + id: '5' }, { name: '眼红', - id: 6 + id: '6' }, { name: '眼痛', - id: 7 + id: '7' }, { name: '眩光', - id: 8 + id: '8' }, { name: '视力不佳', - id: 9 + id: '9' }, { name: '其他', - id: 10 + id: '10' } ], lensList: [ { name: '正常', - id: 1 + id: '1' }, { name: '划痕', - id: 2 + id: '2' }, { name: '污染', - id: 3 + id: '3' }, { name: '破损', - id: 4 + id: '4' } ], formData: { - patientName: '', - patientCheckDate: '', - patientWearTime: '', - check: '', - projectList: [ - { - name: '视力', - os: '', - od: '' - }, { - name: '眼压', - os: '', - od: '' - }, { - name: '角膜地形图', - os: '', - od: '' - }, { - name: '眼轴', - os: '', - od: '' - }, { - name: '眼表', - os: '', - od: '', - areaList: [ - { - name: '角膜', - os: '', - od: '' - }, { - name: '结膜', - os: '', - od: '' - }, { - name: '其他', - os: '', - od: '' - } - ] - }, { - name: '镜片', - os: '', - od: '', - } - ], - remark: '', - patientSign: '', - lensOD: '', - lensOS: '', - docSign: '' + checkResult: [], // 检查结果,多个用逗号分割 + checkSign: '', // 检查者签名 + conjunctivaOd: '', // 右眼结膜 + conjunctivaOs: '', // 左眼结膜 + corneaOd: '', // 右眼角膜 + corneaOs: '', // 左眼角膜 + djTime: '', // 戴镜时间 + doctorSign: '', // 医生签名 + iolOd: '', // 右眼眼压 + iolOs: '', // 左眼眼压 + iopOd: '', // 右眼眼轴 + iopOs: '', // 左眼眼轴 + jmdxtOd: [], // 右眼角膜地形图 + jmdxtOs: [], // 左眼角膜地形图 + mirrorOd: [], // 右眼镜片状态 + mirrorOs: [], // 左眼镜片状态 + otherOd: '', // 右眼其他 + otherOs: '', // 左眼其他 + patientName: '', // 患者名称 + patientAddress: '', // 地址 + patientBirthday: '', // 生日 + patientId: '', // 患者id + patientPhone: '', // 手机 + patientSex: '', // 性别 + remark: '', // 备注 + vaOd: '', // 右眼视力 + vaOs: '', // 左眼视力 + checkDate: '' // 检查日期 } } }, + watch: { + caseId(val) { + this.querySecondVisit() + } + }, + computed: { + checkSign: { + get() { + return this.$store.getters.checkSign + }, + set(val) { + + } + }, + }, + mounted() { + this.$store.commit('initPlugin') + this.querySecondVisit() + }, methods: { - saveCheckData() { - console.log(this.formData) + signClick(index) { + this.$store.commit('beginSign', index) + }, + setSign() { + const userData = window.sessionStorage.getItem('qg-userData') + const date = this.$moment().format('YYYY-MM-DD') + this.formData.doctorSign = JSON.parse(userData).signImgBase + this.formData.checkDate = date + }, + async querySecondVisit() { + const params = { + caseId: this.caseId + } + const { data: res } = await this.$http.get('/hospital/notice/getSecondDiagnosis', { + params: params + }) + if (res.code === 0) { + this.formData = res.data + this.formData.checkResult = this.formData.checkResult ? this.formData.checkResult.split(',') : [] + this.formData.jmdxtOd = this.formData.jmdxtOd ? this.formData.jmdxtOd.split(',') : [] + this.formData.jmdxtOs = this.formData.jmdxtOs ? this.formData.jmdxtOs.split(',') : [] + this.formData.mirrorOd = this.formData.mirrorOd ? this.formData.mirrorOd.split(',') : [] + this.formData.mirrorOs = this.formData.mirrorOs ? this.formData.mirrorOs.split(',') : [] + if (this.formData.isChange === 0) { + this.$store.commit('checkSign', '') + await this.getPatientData() + this.setSign() + } else { + this.$store.commit('checkSign', res.data.checkSign) + } + } else { + this.$message.error(res.msg) + } + }, + // 获取患者信息 + async getPatientData() { + const { data: res } = await this.$http.get( + '/patient/view/getPatientData', + { + params: { + patientId: this.patientId + } + } + ) + if (res.code === 0) { + this.formData.patientId = res.data.patientId + this.formData.patientName = res.data.patientName + } else { + this.$message.error(res.msg) + } + }, + async handleSaveTable() { + this.formData.checkResult = this.formData.checkResult.length ? this.formData.checkResult.join(',') : '' + this.formData.jmdxtOd = this.formData.jmdxtOd.length ? this.formData.jmdxtOd.join(',') : '' + this.formData.jmdxtOs = this.formData.jmdxtOs.length ? this.formData.jmdxtOs.join(',') : '' + this.formData.mirrorOd = this.formData.mirrorOd.length ? this.formData.mirrorOd.join(',') : '' + this.formData.mirrorOs = this.formData.mirrorOs.length ? this.formData.mirrorOs.join(',') : '' + this.formData.checkSign = this.checkSign ? this.checkSign : '' + const data = JSON.parse(JSON.stringify(this.formData)) + const params = { + ...data + } + const { data: res } = await this.$http.post('/hospital/notice/saveOrUpdateSecondDiagnosis', params) + if (res.code === 0) { + await this.querySecondVisit() + this.$message.success('保存成功') + } else { + this.$message.error(res.msg) + } } } } @@ -344,6 +429,9 @@ input{ word-break: keep-all; margin-right: 20px; } + ::v-deep .el-icon-arrow-up{ + display: none; + } } } .corneal{ diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.vue index d2dfd16..e702b44 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/first-visit/index.vue @@ -1,7 +1,7 @@