From 1e0990aa8e1c15d0a54f16fb8fc10dbe14ece168 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 2 Aug 2023 15:52:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + public/index.html | 4 +- .../360View/medicalRecord/index.vue | 35 +- src/components/echarts/yanya.vue | 4 +- src/page-subspecialty/main.js | 3 + .../views/modules/formList/DrugInjection.vue | 4 +- .../modules/formList/InformedConsent.vue | 6 +- .../modules/formList/InjectionTherapy.vue | 4 +- .../views/modules/formList/MinorOperation.vue | 4 +- .../views/modules/formList/StyeForm.vue | 4 +- .../modules/formList/childrenLacrimal.vue | 4 +- .../formList/conjunctivalOperation.vue | 6 +- .../views/modules/formList/cornealForeign.vue | 6 +- .../views/modules/formList/laserSurgery.vue | 4 +- .../views/modules/formList/mraForm.vue | 8 +- .../views/modules/formList/mraOrder.vue | 14 + .../views/modules/formList/puncture.vue | 6 +- .../outFocusEye/outDetail.vue | 85 ++- .../outFocusEye/reviewForm.vue | 113 +++- .../seeDoctor/CornealReview.vue | 272 ++++++-- .../seeDoctor/first-visit/index.vue | 628 +++++++++++++++++- .../seeDoctor/informBook/notice-book.vue | 8 +- .../seeDoctor/informBook/rgp-book.vue | 8 +- .../seeDoctor/notice-book.vue | 40 +- .../removeLens-returnGoods-or-update.vue | 4 +- .../removeLens-returnGoods-or-update.vue | 4 +- src/page-subspecialty/views/pages/login.vue | 30 +- 27 files changed, 1110 insertions(+), 199 deletions(-) diff --git a/package.json b/package.json index f86debb..3847cb5 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "js-audio-recorder": "^1.0.7", "js-base64": "^3.6.1", "js-cookie": "^2.2.1", + "js-md5": "^0.7.3", "jszip-utils": "^0.1.0", "less": "^4.0.0", "less-loader": "^5.0.0", diff --git a/public/index.html b/public/index.html index 24877b8..13c0c29 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/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index f90cdaa..7c217a3 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -9,7 +9,7 @@ ref="leftFormList" :patient-id="patientId" :is-search="isSearch" - :only-read="onlyRead" + :only-read="onlyRead || !isCreator" :is-platform="isPlatform" :form-list="formList" :cur-index="curIndex" @@ -34,7 +34,7 @@ - +
@@ -118,7 +118,7 @@ - +
与患者关系 diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index 38dc03a..22dcade 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -18,6 +18,7 @@
姓名:
年龄:
性别:
+
登记号:
眼别: 患者或直系亲属签名:
- +
日期: @@ -200,6 +201,7 @@ export default { patientDate: '', patientGender: '', patientName: '', + patientId: '', patientSign: '', qgy: '', ydb: '', @@ -413,6 +415,7 @@ export default { this.confirmData.patientName = this.patientDetail.patientName this.confirmData.patientAge = this.patientDetail.patientAge this.confirmData.patientGender = this.patientDetail.patientSex + this.confirmData.patientId = this.patientDetail.patientId const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) this.confirmData.operationSign = userData.signImgBase this.confirmData.operationDate = this.$moment().format('YYYY-MM-DD') @@ -421,6 +424,7 @@ export default { this.confirmData.patientName = detail.patientName this.confirmData.patientAge = detail.patientAge this.confirmData.patientGender = detail.patientGender + this.confirmData.patientId = detail.patientId this.confirmData.operationSign = detail.operationSign this.confirmData.operationDate = detail.operationDate this.confirmData.patientDate = detail.patientDate diff --git a/src/page-subspecialty/views/modules/formList/InjectionTherapy.vue b/src/page-subspecialty/views/modules/formList/InjectionTherapy.vue index d19fde7..c646e4b 100644 --- a/src/page-subspecialty/views/modules/formList/InjectionTherapy.vue +++ b/src/page-subspecialty/views/modules/formList/InjectionTherapy.vue @@ -65,7 +65,7 @@ - +
@@ -75,7 +75,7 @@ - +
diff --git a/src/page-subspecialty/views/modules/formList/MinorOperation.vue b/src/page-subspecialty/views/modules/formList/MinorOperation.vue index 66fef31..ff06b2f 100644 --- a/src/page-subspecialty/views/modules/formList/MinorOperation.vue +++ b/src/page-subspecialty/views/modules/formList/MinorOperation.vue @@ -101,7 +101,7 @@ 患者签名:
- +
@@ -124,7 +124,7 @@
患者授权亲属签名:
- +
与患者关系 diff --git a/src/page-subspecialty/views/modules/formList/StyeForm.vue b/src/page-subspecialty/views/modules/formList/StyeForm.vue index fa506f6..eda68c0 100644 --- a/src/page-subspecialty/views/modules/formList/StyeForm.vue +++ b/src/page-subspecialty/views/modules/formList/StyeForm.vue @@ -116,7 +116,7 @@ - +
@@ -141,7 +141,7 @@ - +
与患者关系 diff --git a/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue b/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue index 9193f03..7c1d288 100644 --- a/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue +++ b/src/page-subspecialty/views/modules/formList/childrenLacrimal.vue @@ -70,7 +70,7 @@ - +
@@ -93,7 +93,7 @@
医生签名: - +
diff --git a/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue b/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue index 0e60b20..93f004e 100644 --- a/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue +++ b/src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue @@ -53,7 +53,7 @@ - +
@@ -73,7 +73,7 @@ - + 与患者关系
@@ -97,7 +97,7 @@
医生签名: - +
diff --git a/src/page-subspecialty/views/modules/formList/cornealForeign.vue b/src/page-subspecialty/views/modules/formList/cornealForeign.vue index c83fcd4..df42fa0 100644 --- a/src/page-subspecialty/views/modules/formList/cornealForeign.vue +++ b/src/page-subspecialty/views/modules/formList/cornealForeign.vue @@ -81,7 +81,7 @@ - +
@@ -101,7 +101,7 @@ - + 与患者关系
@@ -125,7 +125,7 @@
医生签名: - +
diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index ac5a76c..9498312 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -365,6 +365,8 @@ export default { this.confirmData = { ...detail } if (!detail.jzNumber) { this.queryDiagnostic() + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) + this.confirmData.operateSign = userData.signImgBase this.confirmData.patientName = this.patientDetail.patientName this.confirmData.patientAge = this.patientDetail.patientAge this.confirmData.patientSex = this.patientDetail.patientSex @@ -379,8 +381,6 @@ export default { this.confirmData.jgzlSyt = require('@/assets/img/os.png') } } - const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) - this.confirmData.operateSign = userData.signImgBase }) }, // 保存 diff --git a/src/page-subspecialty/views/modules/formList/mraForm.vue b/src/page-subspecialty/views/modules/formList/mraForm.vue index 587f725..7718daf 100644 --- a/src/page-subspecialty/views/modules/formList/mraForm.vue +++ b/src/page-subspecialty/views/modules/formList/mraForm.vue @@ -62,7 +62,7 @@ 患者签字:
- +
@@ -70,7 +70,7 @@ 或授权亲属签字(关系):
- +
日期: @@ -159,7 +159,7 @@ 执行药敏试验者签字:
- +
工号: @@ -168,7 +168,7 @@ 核对药敏实验者签字:
- +
工号: diff --git a/src/page-subspecialty/views/modules/formList/mraOrder.vue b/src/page-subspecialty/views/modules/formList/mraOrder.vue index 2c86a0f..56a3d0b 100644 --- a/src/page-subspecialty/views/modules/formList/mraOrder.vue +++ b/src/page-subspecialty/views/modules/formList/mraOrder.vue @@ -190,6 +190,16 @@
+ + + 造影前需要眼底照相拼图(双眼) + + +
+ 已做 +
+ +
@@ -257,6 +267,7 @@ export default { remark: '', yzOpen: '', isPrint: '', + needYdzxpt: false, examineDate: '', checkAdvice: '', docAdvice: '', @@ -304,6 +315,9 @@ export default { this.getOrderDetail() }, methods: { + changeNeed() { + this.$set(this.formData, 'needYdzxpt', !this.formData.needYdzxpt) + }, // 获取医生列表 getDoctorList() { this.$http.get('/sys/user', { params: { position: '门诊医师' }}).then(data => { diff --git a/src/page-subspecialty/views/modules/formList/puncture.vue b/src/page-subspecialty/views/modules/formList/puncture.vue index e514299..ada2c7a 100644 --- a/src/page-subspecialty/views/modules/formList/puncture.vue +++ b/src/page-subspecialty/views/modules/formList/puncture.vue @@ -57,7 +57,7 @@ - +
@@ -78,7 +78,7 @@ - + 与患者关系
@@ -102,7 +102,7 @@
医生签名: - +
diff --git a/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue b/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue index 7b035bf..e21d987 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue @@ -38,8 +38,8 @@
@@ -73,7 +73,7 @@ 取镜签名: diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens/removeLens-returnGoods-or-update.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens/removeLens-returnGoods-or-update.vue index 5db0acf..41053aa 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens/removeLens-returnGoods-or-update.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/ok-lens/removeLens-returnGoods-or-update.vue @@ -40,7 +40,7 @@
取镜签字: - +
@@ -71,7 +71,7 @@
签名 - +
diff --git a/src/page-subspecialty/views/pages/login.vue b/src/page-subspecialty/views/pages/login.vue index cefaeb7..18f855a 100644 --- a/src/page-subspecialty/views/pages/login.vue +++ b/src/page-subspecialty/views/pages/login.vue @@ -26,16 +26,16 @@ - - - - - - - - - - + + + + + + + + {{ $t('login.title') }} @@ -53,6 +53,7 @@ import Cookies from 'js-cookie' import debounce from 'lodash/debounce' import { messages } from '@/i18n' import { getUUID } from '@/utils' +import md5 from 'uuid/dist/esm-browser/md5' export default { data() { return { @@ -82,7 +83,7 @@ export default { } }, created() { - // this.getCaptcha() + this.getCaptcha() }, methods: { submitNext() { @@ -100,12 +101,15 @@ export default { if (!valid) { return false } - this.$http.post('/login', this.dataForm).then(({ data: res }) => { + const params = { + ...this.dataForm + } + params.password = this.$Base64.encode(this.dataForm.password) + this.$http.post('/login', params).then(({ data: res }) => { if (res.code !== 0) { this.getCaptcha() return this.$message.error(res.msg) } - // Cookies.set('xa-token', res.data.token) window.sessionStorage.setItem('xa-token', res.data.token) window.sessionStorage.setItem('qg-userData', JSON.stringify(res.data.currentUser)) this.$router.push({ name: 'outpatientManagement-call' })