|
|
|
@ -28,6 +28,10 @@ |
|
|
|
<el-button type="primary" class="btnClass" @click="save">保存结果</el-button> |
|
|
|
</div> |
|
|
|
--> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, 'AI诊断')" class="divBtnClass"> |
|
|
|
<el-button slot="reference" class="commonbutton" @click="btnAIdiagnosis(false)" |
|
|
|
:disabled="doctorBtnDisabled('save')">AI诊断</el-button> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '修改结果')" class="divBtnClass"> |
|
|
|
<el-button type="primary" class="commonbutton" @click="btnEdit" |
|
|
|
:disabled="doctorBtnDisabled('btnEdit')">修改结果</el-button> |
|
|
|
@ -125,19 +129,19 @@ |
|
|
|
<div> |
|
|
|
<el-tabs v-model="tabChoosed"> |
|
|
|
<el-tab-pane label="明细结果" name="2"> |
|
|
|
<CheckDetails :patientRegisterId="doctorCheck.prBase.id" :refParams="{ place: 'doctor' }"/> |
|
|
|
<CheckDetails :patientRegisterId="doctorCheck.prBase.id" :refParams="{ place: 'doctor' }" /> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="本次图文报告" name="4"> |
|
|
|
<ImageTextReport :refParams="{ place: 'doctor' }"/> |
|
|
|
<ImageTextReport :refParams="{ place: 'doctor' }" /> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- <el-tab-pane label="项目对比" name="4"> |
|
|
|
<SumItemsType :patientId="doctorCheck.prBase.patientId" /> |
|
|
|
</el-tab-pane> --> |
|
|
|
<el-tab-pane label="横向对比" name="5"> |
|
|
|
<SumItems :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }"/> |
|
|
|
<SumItems :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }" /> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="历次综述" name="6"> |
|
|
|
<SumHistory :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }"/> |
|
|
|
<SumHistory :patientId="doctorCheck.prBase.patientId" :refParams="{ place: 'doctor' }" /> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
@ -147,6 +151,31 @@ |
|
|
|
:append-to-body="true"> |
|
|
|
<OccDisease /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- AI诊断--> |
|
|
|
<div v-show="AI.visible" |
|
|
|
:style="`z-index:3;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:0px;width:${AI.width}px;height: ${AI.height}px;opacity:1;`"> |
|
|
|
<div v-show="AI.max" style="display: flex;justify-content: space-between;"> |
|
|
|
<p>AI诊断内容:</p> |
|
|
|
<el-tooltip content="隐藏 AI诊断内容" placement="top"> |
|
|
|
<i class="el-icon-minus" @click="btnAImax(AI.max)" |
|
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
<div v-show="!AI.max"> |
|
|
|
<el-tooltip content="显示 AI诊断内容" placement="top"> |
|
|
|
<i class="el-icon-plus" @click="btnAImax(AI.max)" |
|
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
<el-input v-show="AI.max" type="textarea" v-model="AI.diagnosis" placeholder="AI诊断内容" |
|
|
|
:autosize="{ minRows: AIDH, maxRows: AIDH }" style="text-align: right;"> |
|
|
|
</el-input> |
|
|
|
<div v-show="AI.max" style="text-align: right; margin-top: 10px;"> |
|
|
|
<el-button class="commonbutton" @click="AI.visible = false">关闭</el-button> |
|
|
|
<el-button class="commonbutton" @click="btnAIdiagnosis(true)">AI重新诊断</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
@ -256,6 +285,13 @@ export default { |
|
|
|
displayPrList: false, //是否显示人员列表 |
|
|
|
dialogVisibleCheckHistory: false, //历次结果 |
|
|
|
tabChoosed: '2', |
|
|
|
AI: { |
|
|
|
width: 500, |
|
|
|
height: 24, |
|
|
|
max: true, |
|
|
|
visible: false, |
|
|
|
diagnosis: 'AI诊断信息', |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -266,6 +302,7 @@ export default { |
|
|
|
|
|
|
|
this.formInitData = Object.assign({}, this.formData) |
|
|
|
this.medicalStartDateTemp = new Date() |
|
|
|
this.AI.height = this.frameHeight |
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
@ -275,6 +312,13 @@ export default { |
|
|
|
|
|
|
|
computed: { |
|
|
|
...mapState(["window", "dialogWin", "dataTransOpts", "dict", "patientRegister", "doctorCheck", "sumDoctorCheck"]), |
|
|
|
frameHeight() { |
|
|
|
return this.window.pageHeight - 42 - 10 |
|
|
|
}, |
|
|
|
// AIdiagnosisHeight |
|
|
|
AIDH() { |
|
|
|
return Math.floor((this.AI.height - 24 - 42 - 4) / 21.5) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
@ -625,6 +669,42 @@ export default { |
|
|
|
this.dataTransOpts.plus.OccDisease++ |
|
|
|
this.dialogWin.OccDisease = true |
|
|
|
}, |
|
|
|
|
|
|
|
// AI诊断 AI重新诊断 |
|
|
|
btnAIdiagnosis(again) { |
|
|
|
if (!again) { |
|
|
|
if (this.AI.visible) { |
|
|
|
this.btnAImax(false) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
let reqText = '' |
|
|
|
let linkStr = ';' |
|
|
|
this.doctorCheck.checkItemList.forEach(e => { |
|
|
|
if (e.result) { |
|
|
|
if (reqText) { |
|
|
|
linkStr = ';' |
|
|
|
} else { |
|
|
|
linkStr = '' |
|
|
|
} |
|
|
|
reqText += linkStr + e.itemName + ':' + e.result |
|
|
|
} |
|
|
|
}); |
|
|
|
this.AI.visible = true |
|
|
|
this.AI.diagnosis = reqText |
|
|
|
this.btnAImax(false) |
|
|
|
}, |
|
|
|
|
|
|
|
btnAImax(max) { |
|
|
|
this.AI.max = !max |
|
|
|
if (this.AI.max) { |
|
|
|
this.AI.width = 500 |
|
|
|
this.AI.height = this.frameHeight |
|
|
|
} else { |
|
|
|
this.AI.width = 24 |
|
|
|
this.AI.height = 24 |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//监听事件() |
|
|
|
|