|
|
|
@ -143,13 +143,13 @@ export default { |
|
|
|
], |
|
|
|
summary_check_doctor_alias: ["总检", "审核"], |
|
|
|
|
|
|
|
AI:{ |
|
|
|
width:500, |
|
|
|
height:24, |
|
|
|
max:true, |
|
|
|
AI: { |
|
|
|
width: 500, |
|
|
|
height: 24, |
|
|
|
max: true, |
|
|
|
visible: false, |
|
|
|
diagnosis: 'AI诊断信息', |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -172,12 +172,12 @@ export default { |
|
|
|
|
|
|
|
computed: { |
|
|
|
...mapState(["window", "dict", "dataTransOpts", "dialogWin", "patientRegister", "doctorCheck", "sumDoctorCheck"]), |
|
|
|
frameHeight(){ |
|
|
|
return this.window.pageHeight - 42 - 10 |
|
|
|
frameHeight() { |
|
|
|
return this.window.pageHeight - 42 - 10 |
|
|
|
}, |
|
|
|
// AIdiagnosisHeight |
|
|
|
AIDH(){ |
|
|
|
return Math.floor((this.AI.height - 24 - 42 - 4)/21.5) |
|
|
|
AIDH() { |
|
|
|
return Math.floor((this.AI.height - 24 - 42 - 4) / 21.5) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -414,37 +414,44 @@ export default { |
|
|
|
// AI诊断 AI重新诊断 |
|
|
|
btnAIdiagnosis(again) { |
|
|
|
if (!again) { |
|
|
|
if (this.AI.visible){ |
|
|
|
if (this.AI.visible) { |
|
|
|
this.btnAImax(false) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
let reqText = '' |
|
|
|
let message = '' |
|
|
|
let linkStr = ';' |
|
|
|
this.sumDoctorCheck.summaryList.forEach(e => { |
|
|
|
if (reqText) { |
|
|
|
linkStr = ';' |
|
|
|
this.sumDoctorCheck.summaryList.forEach(e => { |
|
|
|
if (message) { |
|
|
|
linkStr = ';' |
|
|
|
} else { |
|
|
|
linkStr = '' |
|
|
|
} |
|
|
|
reqText += linkStr + e.summaryTitle + ':' |
|
|
|
e.details.forEach((e1,i) => { |
|
|
|
reqText += (i+1) + ')、' + e1.summaryContent |
|
|
|
}); |
|
|
|
message += linkStr + e.summaryTitle + ':' |
|
|
|
e.details.forEach((e1, i) => { |
|
|
|
message += (i + 1) + ')、' + e1.summaryContent |
|
|
|
}); |
|
|
|
}); |
|
|
|
postapi('/api/app/AIMessage/GetAIMessageResult', { message }) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.AI.visible = true |
|
|
|
this.AI.diagnosis = res.data.result |
|
|
|
this.btnAImax(false) |
|
|
|
} else { |
|
|
|
this.$message.error({ showClose: true, message: res.message }) |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
this.AI.visible = true |
|
|
|
this.AI.diagnosis = reqText |
|
|
|
this.btnAImax(false) |
|
|
|
}, |
|
|
|
|
|
|
|
btnAImax(max){ |
|
|
|
btnAImax(max) { |
|
|
|
this.AI.max = !max |
|
|
|
if(this.AI.max){ |
|
|
|
if (this.AI.max) { |
|
|
|
this.AI.width = 500 |
|
|
|
this.AI.height = this.frameHeight |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
this.AI.width = 24 |
|
|
|
this.AI.height = 24 |
|
|
|
} |
|
|
|
|