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 @@ + + + + + +