From 970d51bd2600c6e2720df5f39485dc67cf8dc655 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Thu, 31 Aug 2023 16:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=BC=95=E5=85=A5=E5=88=86?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outPatientRecord/diagnosisForm.vue | 9 ++-- .../outPatientRecord/historyForm.vue | 13 +++--- .../outPatientRecord/historyRecordForm.vue | 7 ++++ .../medicalRecord/outPatientRecord/index.vue | 23 +++++++--- .../modules/template/manage/add-fenlei.vue | 42 ++++++++++++++++++- .../views/modules/template/manage/tab-fun.vue | 1 - 6 files changed, 78 insertions(+), 17 deletions(-) diff --git a/src/components/360View/medicalRecord/outPatientRecord/diagnosisForm.vue b/src/components/360View/medicalRecord/outPatientRecord/diagnosisForm.vue index 13492cd..06c67b5 100644 --- a/src/components/360View/medicalRecord/outPatientRecord/diagnosisForm.vue +++ b/src/components/360View/medicalRecord/outPatientRecord/diagnosisForm.vue @@ -3,13 +3,13 @@
- + - + - +
@@ -43,8 +43,9 @@ export default { this.$refs.form.resetFields() }) }, - setCurWord(word) { + setCurWord(word, category) { this.curWord = word + this.$emit('getUsual', category) }, combineWord(text) { switch (this.curWord) { diff --git a/src/components/360View/medicalRecord/outPatientRecord/historyForm.vue b/src/components/360View/medicalRecord/outPatientRecord/historyForm.vue index 7985187..a04279a 100644 --- a/src/components/360View/medicalRecord/outPatientRecord/historyForm.vue +++ b/src/components/360View/medicalRecord/outPatientRecord/historyForm.vue @@ -3,19 +3,19 @@
- + - + - + - + - +
@@ -63,8 +63,9 @@ export default { this.$refs.form.resetFields() }) }, - setCurWord(word) { + setCurWord(word, category) { this.curWord = word + this.$emit('getUsual', category) }, openTextTemplate() { this.$emit('openDrawer', this.curWord) diff --git a/src/components/360View/medicalRecord/outPatientRecord/historyRecordForm.vue b/src/components/360View/medicalRecord/outPatientRecord/historyRecordForm.vue index 976da47..aef7ca4 100644 --- a/src/components/360View/medicalRecord/outPatientRecord/historyRecordForm.vue +++ b/src/components/360View/medicalRecord/outPatientRecord/historyRecordForm.vue @@ -19,6 +19,9 @@
日期:{{ historyData.createDate }}
+
+ 【引入】 +
@@ -120,4 +123,8 @@ export default { padding-right: 20px; } } +.introduce{ + color: #409EFF; + cursor: pointer; +} diff --git a/src/components/360View/medicalRecord/outPatientRecord/index.vue b/src/components/360View/medicalRecord/outPatientRecord/index.vue index ea2eb8e..f56b324 100644 --- a/src/components/360View/medicalRecord/outPatientRecord/index.vue +++ b/src/components/360View/medicalRecord/outPatientRecord/index.vue @@ -11,7 +11,7 @@
- + @@ -23,7 +23,7 @@ - + @@ -159,7 +159,6 @@ export default { this.jzNumber = window.sessionStorage.getItem('jzNumber') await this.getMedicalHistory() await this.getDiagnosis() - this.queryCommonWord() }, methods: { // 保存表单 @@ -271,6 +270,16 @@ export default { case '治疗意见': this.diagnosis.zlyj = param.content break + default: + this.formData.zhuSu = param.content.zhuSu + this.formData.xbs = param.content.xbs + this.formData.jws = param.content.jws + this.formData.gms = param.content.gms + this.formData.zsqtbs = param.content.zsqtbs + this.diagnosis.zd = param.content.zd + this.diagnosis.cl = param.content.cl + this.diagnosis.zlyj = param.content.zlyj + break } }, // 引入模板 @@ -328,8 +337,12 @@ export default { } }, // 换取常用关键词 - queryCommonWord() { - this.$http.get('/bd/template/getUsual').then(res => { + queryCommonWord(category) { + this.$http.get('/bd/template/getUsual', { + params: { + category + } + }).then(res => { this.commonList = res.data.data }) }, diff --git a/src/page-subspecialty/views/modules/template/manage/add-fenlei.vue b/src/page-subspecialty/views/modules/template/manage/add-fenlei.vue index e241534..e0296d9 100644 --- a/src/page-subspecialty/views/modules/template/manage/add-fenlei.vue +++ b/src/page-subspecialty/views/modules/template/manage/add-fenlei.vue @@ -25,6 +25,17 @@ + + + + + +