|
|
@ -11,7 +11,7 @@ |
|
|
|
</div> |
|
|
|
<el-tabs v-model="comonFormActive" type="border-card"> |
|
|
|
<el-tab-pane label="病史采集" name="1" style="height: 100%"> |
|
|
|
<history-form ref="history" :common-list="commonList" :form-data="formData" @openDrawer="openDrawer" /> |
|
|
|
<history-form ref="history" :common-list="commonList" :form-data="formData" @openDrawer="openDrawer" @getUsual="queryCommonWord" /> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="前段检查" name="2" style="height: 100%"> |
|
|
|
<forePart ref="foreParts" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" :case-id="caseId" :is-platform="isPlatform" /> |
|
|
@ -23,7 +23,7 @@ |
|
|
|
<specialExamine ref="examines" :patient-id="patientId" :is-search="isSearch" :case-id="caseId" /> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="诊断处置" name="5"> |
|
|
|
<diagnosis-form ref="diagnosis" :common-list="commonList" :diagnosis="diagnosis" @openDrawer="openDrawer" /> |
|
|
|
<diagnosis-form ref="diagnosis" :common-list="commonList" :diagnosis="diagnosis" @openDrawer="openDrawer" @getUsual="queryCommonWord" /> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
<!-- 历史病历查看及引入 --> |
|
|
@ -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 |
|
|
|
}) |
|
|
|
}, |
|
|
|