|
|
@ -15,20 +15,6 @@ |
|
|
|
</p> |
|
|
|
<!--患者信息--> |
|
|
|
<div class="form_top"> |
|
|
|
<!-- <div class="flex a-c j-b">--> |
|
|
|
<!-- <div class="flex a-c">--> |
|
|
|
<!-- 姓名:<el-input v-model="confirmData.patientName" style="flex: 1" />--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex a-c">--> |
|
|
|
<!-- 性别:<el-input v-model="confirmData.patientSex" style="flex: 1" />--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex a-c">--> |
|
|
|
<!-- 年龄:<el-input v-model="confirmData.patientAge" style="flex: 1" />--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div class="flex a-c">--> |
|
|
|
<!-- 联系电话:<el-input v-model="confirmData.patientPhone" style="flex: 1" />--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </div>--> |
|
|
|
<div class="flex a-c"> |
|
|
|
<span style="font-weight: bold">诊断:</span><el-input v-model="confirmData.diagnose" style="width: 700px" /> |
|
|
|
</div> |
|
|
@ -204,13 +190,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
caseId(val) { |
|
|
|
if (val) { |
|
|
|
this.getformList() |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
conPatientSign() { |
|
|
|
return this.$store.getters.conPatientSign |
|
|
@ -219,6 +198,13 @@ export default { |
|
|
|
return this.$store.getters.conKinSign |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
caseId(val) { |
|
|
|
if (val) { |
|
|
|
this.getformList() |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.sourceData = JSON.parse(JSON.stringify(this.confirmData)) |
|
|
|
this.getformList() |
|
|
@ -229,6 +215,7 @@ export default { |
|
|
|
this.$store.commit('beginSign', index) |
|
|
|
}, |
|
|
|
setData() { |
|
|
|
this.queryDiagnostic() |
|
|
|
const date = this.$moment().format('YYYY-MM-DD') |
|
|
|
this.confirmData.operateDate = date |
|
|
|
this.confirmData.operate2Date = date |
|
|
@ -236,6 +223,13 @@ export default { |
|
|
|
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) |
|
|
|
this.confirmData.operator = userData.signImgBase |
|
|
|
}, |
|
|
|
queryDiagnostic() { |
|
|
|
this.$http.get('/mzbl/getLastDiagnostic', { params: { |
|
|
|
patientId: this.patientDetail.patientId |
|
|
|
}}).then(data => { |
|
|
|
this.confirmData.diagnose = data.data.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
async getformList() { |
|
|
|
const { data: res } = await this.$http.get('/case/getCaseById', { |
|
|
|
params: { |
|
|
|