|
|
|
@ -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({ |
|
|
|
|