Browse Source

doctor

master
pengjun 2 years ago
parent
commit
6688c74fb3
  1. 43
      src/views/doctorCheck/doctorCheck.vue

43
src/views/doctorCheck/doctorCheck.vue

@ -6,10 +6,7 @@
体检 /<span class="contenttitleBold">检查医生诊台</span>
</div>
<div style="position: absolute;margin-right:110px; top:50px;right:10px;z-index: 2;">
<el-image
style="width: 100px; height: 105px;"
:src="peoplePhoto"
>
<el-image style="width: 100px; height: 105px;" :src="peoplePhoto">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
@ -36,13 +33,17 @@
<div :style="'width:' + (window.pageWidth - 200 - 110 - 15) + 'px;'">
<div :style="'margin-left: 2px;width:' + (window.pageWidth - 200 - 110 - 15 - 2) + 'px;'">
<CheckItemList :isCheckPicture="isCheckPicture" :registerCheckId="dataTransOpts.tableS.register_check.id"/>
<CheckItemList :isCheckPicture="isCheckPicture"
:registerCheckId="dataTransOpts.tableS.register_check.id" />
</div>
<div v-if="isCheckPicture" class="demo-image__preview" :style="'margin-top: 2px;margin-left: 2px;height:110px;width:' + (window.pageWidth - 200 - 110 - 45 - 2) + 'px;'">
<div v-if="isCheckPicture" class="demo-image__preview"
:style="'margin-top: 2px;margin-left: 2px;height:110px;width:' + (window.pageWidth - 200 - 110 - 45 - 2) + 'px;'">
<CheckPicture />
</div>
<div :style="'margin-top: 2px;margin-left: 2px;width:' + (window.pageWidth - 200 - 110 - 15 - 2) + 'px;'">
<CheckSumSug :registerCheckId="dataTransOpts.tableS.register_check.id" :isCheckPicture="isCheckPicture" :optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save" :audit="audit" :unAudit="unAudit" :btnLineUp="btnLineUp"/>
<CheckSumSug :registerCheckId="dataTransOpts.tableS.register_check.id" :isCheckPicture="isCheckPicture"
:optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save"
:audit="audit" :unAudit="unAudit" :btnLineUp="btnLineUp" />
</div>
<div :style="'margin-top: 2px;width:' + (window.pageWidth - 200 - 110 - 15 - 2) + 'px;'">
<RegisterCheckEdit :registerCheckId="dataTransOpts.tableS.register_check.id" />
@ -51,7 +52,8 @@
</div>
</div>
<div style="width:110px;">
<ButtonList :optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save" :audit="audit" :unAudit="unAudit"/>
<ButtonList :optGrant="optGrant" :addSummary="addSummary" :btnMakeDiagnosis="btnMakeDiagnosis" :save="save"
:audit="audit" :unAudit="unAudit" />
</div>
</div>
</div>
@ -328,29 +330,16 @@ export default {
})
})
console.log(`/api/app/diagnosisfunction/getdiagnosisresult`, body)
// console.log(`/api/app/diagnosisfunction/getdiagnosisresult`, body)
this.doctorCheck.checkSummaryList = []
this.doctorCheck.checkSuggestionList = []
postapi(`/api/app/diagnosisfunction/getdiagnosisresult`, body)
postapi(`/api/app/DiagnosisFunction/GetDoctorCheckDiagnosisResultAsync`, body)
.then((res) => {
if (res.code != -1) {
// console.log(res.data)
// {
// "diagnosisResultDetails": [
// {
// "diagnosisResult": ""
// }
// ],
// "diagnosisSuggestionDetails": [
// {
// "diagnosisSuggestion": ""
// },
// {
// "diagnosisSuggestion": ""
if (res.code > -1) {
// if (res.code == 0) {
// //
// this.$message.warning({ showClose: true, message: res.message })
// }
// ]
// }
//
res.data.diagnosisResultDetails.forEach(e => {
this.doctorCheck.checkSummaryList.push({

Loading…
Cancel
Save