From e62acbbcf7757e119decc5888163fa10dec9bfc9 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Tue, 29 Aug 2023 11:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=AF=86=E6=96=87=E4=BC=A0?= =?UTF-8?q?=E8=BE=93+=E7=9F=A5=E8=AF=86=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- src/components/360View/index.vue | 10 +- .../360View/knowledge/electronInfo.vue | 323 ++++++++++++++++++ src/components/360View/knowledge/index.vue | 42 +++ src/components/360View/shrink.vue | 15 + .../views/main-navbar-update-password.vue | 6 +- .../seeDoctor/historyRecord.vue | 3 +- .../views/modules/template/manage/tab-fun.vue | 1 - 8 files changed, 393 insertions(+), 11 deletions(-) create mode 100644 src/components/360View/knowledge/electronInfo.vue create mode 100644 src/components/360View/knowledge/index.vue diff --git a/public/index.html b/public/index.html index 13c0c29..24877b8 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/index.vue b/src/components/360View/index.vue index 237ebbb..ac51e37 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -216,7 +216,7 @@ - + + + @@ -253,8 +255,9 @@ import pacsList from '@/components/360View/pacs/patientList' import medicalRecord from '@/components/360View/medicalRecord' // 门诊病历 import opticalFile from '@/components/360View/opticalFile' // 视光档案 import eventBus from '@/page-subspecialty/utils/eventBus' +import KnowledgeBase from '@/components/360View/knowledge/index.vue' export default { - components: { timeLine, drawer, keyIndicators, shrink, business, collection, imgRecord, overView, medicalRecord, dataInfo, routine, special, followUpRecord, opticalFile, pacsList }, + components: { KnowledgeBase, timeLine, drawer, keyIndicators, shrink, business, collection, imgRecord, overView, medicalRecord, dataInfo, routine, special, followUpRecord, opticalFile, pacsList }, mixins: [], props: { patientId: { @@ -402,9 +405,6 @@ export default { this.display = false } }, - changeWidth() { - this.drawerWidth = (this.drawerWidth === '500px') ? '800px' : '500px' - }, backList() { if (this.$route.query.patientId && !this.$route.query.doctorId) { this.$router.go(-1) diff --git a/src/components/360View/knowledge/electronInfo.vue b/src/components/360View/knowledge/electronInfo.vue new file mode 100644 index 0000000..5b699f4 --- /dev/null +++ b/src/components/360View/knowledge/electronInfo.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/components/360View/knowledge/index.vue b/src/components/360View/knowledge/index.vue new file mode 100644 index 0000000..18982c5 --- /dev/null +++ b/src/components/360View/knowledge/index.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/src/components/360View/shrink.vue b/src/components/360View/shrink.vue index 8d00378..7091d37 100644 --- a/src/components/360View/shrink.vue +++ b/src/components/360View/shrink.vue @@ -8,10 +8,12 @@ + 关键指标 数据集 病历收集 常用业务 + 知识库 @@ -65,6 +67,9 @@ export default { break case 4: this.active = 'imgThree' + break + case 5: + this.active = 'imgFour' } } }, @@ -89,6 +94,8 @@ export default { this.active = 'imgTwo' } else if (type === 4) { this.active = 'imgThree' + } else if (type === 5) { + this.active = 'imgFour' } } } @@ -145,6 +152,9 @@ export default { .dataFour{ top: 455px; } + .dataFive{ + top: 582px; + } .imgCur{ position: absolute; left: 0; @@ -165,5 +175,10 @@ export default { left: 0; top: 411px; } + .imgFour{ + position: absolute; + left: 0; + top: 535px; + } } diff --git a/src/page-subspecialty/views/main-navbar-update-password.vue b/src/page-subspecialty/views/main-navbar-update-password.vue index 2791314..b0d6592 100644 --- a/src/page-subspecialty/views/main-navbar-update-password.vue +++ b/src/page-subspecialty/views/main-navbar-update-password.vue @@ -77,7 +77,11 @@ export default { if (!valid) { return false } - this.$http.put('/sys/user/password', this.dataForm).then(({ data: res }) => { + const param = { ...this.dataForm } + param.password = this.$md5(param.password) + param.newPassword = this.$md5(param.newPassword) + param.confirmPassword = this.$md5(param.confirmPassword) + this.$http.put('/sys/user/password', param).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/historyRecord.vue b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/historyRecord.vue index 9fd70ff..37cad0e 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/historyRecord.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/seeDoctor/historyRecord.vue @@ -94,13 +94,12 @@ export default { if (!extension) { this.loading = false this.$message.warning('上传文件只能是pdf格式!') - return } if (isLt100M) { this.loading = false this.$message.warning('上传文件大小不能超过 100MB!') - return } + return extension && !isLt100M }, successFile() { this.$message.success('上传成功!') diff --git a/src/page-subspecialty/views/modules/template/manage/tab-fun.vue b/src/page-subspecialty/views/modules/template/manage/tab-fun.vue index 9f0caf1..3cd715f 100644 --- a/src/page-subspecialty/views/modules/template/manage/tab-fun.vue +++ b/src/page-subspecialty/views/modules/template/manage/tab-fun.vue @@ -9,7 +9,6 @@ node-key="id" accordion highlight-current - default-expand-all :expand-on-click-node="false" >