|
|
|
@ -71,15 +71,43 @@ |
|
|
|
:closePicUpload="closePicUpload" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="Dcm查看" :visible.sync="dialogDcm" :close-on-click-modal="false" fullscreen> |
|
|
|
<el-dialog title="Dcm查看" :visible.sync="dialogDcm" :close-on-click-modal="false" fullscreen @close="iframeSrc = ''"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div> |
|
|
|
<iframe :src="iframeSrc" height="600" width="800"></iframe> |
|
|
|
<iframe :src="iframeSrc" :height="window.pageHeight - 85" :width="window.pageWidth - 260"></iframe> |
|
|
|
</div> |
|
|
|
<div style="width: 240px;margin-left: 2px;"> |
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">检查结果:</span> |
|
|
|
<el-input style="width: 100%;border: 1px solid #232748;" type="textarea" v-model="pacsParams.result" |
|
|
|
:disabled="doctorBtnDisabled('save')" placeholder="请输入描述" |
|
|
|
:autosize="{ minRows: Math.floor((window.pageHeight - 350) / 24), maxRows: 20 }" /> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px;"> |
|
|
|
<span style="color: #232748;">检查结论:</span> |
|
|
|
<el-input style="width: 100%;border: 1px solid #232748;" type="textarea" v-model="pacsParams.summary" |
|
|
|
:disabled="doctorBtnDisabled('save')" placeholder="请输入结论" :autosize="{ minRows: 8, maxRows: 8 }" /> |
|
|
|
</div> |
|
|
|
<div style="display: flex;justify-content: space-between;margin-top: 10px;"> |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<!-- |
|
|
|
<el-button type="primary" @click="btnTest" class="commonbutton">测试</el-button> |
|
|
|
--> |
|
|
|
<el-button type="primary" @click="btnChooseBigtext" :disabled="doctorBtnDisabled('save')" |
|
|
|
class="commonbutton">选择描述</el-button> |
|
|
|
<el-button type="primary" @click="btnOkBigtext" :disabled="doctorBtnDisabled('save')" |
|
|
|
class="commonbutton">保存结果</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div></div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!--Pacs结果录入模版--> |
|
|
|
<el-dialog :title="'Pacs结果录入模版 -- ' + doctorCheck.asbitemName" :visible.sync="dialogWin.PacsTemplate" fullscreen |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<PacsTemplate :refParams="pacsParams" :refFuncOther="handlePacsResult" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
@ -90,12 +118,13 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
|
import { getPagePriv, checkPagePriv, deepCopy, arrayExistObj } from "../../utlis/proFunc"; |
|
|
|
import { hadoopGet, hadoopPost, hadoopPut, hadoopDel } from "../../api/hadoopApi" |
|
|
|
import CheckPictureUpload from "./CheckPictureUpload.vue"; |
|
|
|
import PacsTemplate from "./PacsTemplate.vue"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
CheckPictureUpload, |
|
|
|
CheckPictureUpload, PacsTemplate |
|
|
|
}, |
|
|
|
props: ["doctorBtnDisabled"], |
|
|
|
props: ["doctorBtnDisabled", "save"], |
|
|
|
data() { |
|
|
|
return { |
|
|
|
sysConfig: {}, // |
|
|
|
@ -105,6 +134,14 @@ export default { |
|
|
|
}, |
|
|
|
dialogDcm: false, |
|
|
|
iframeSrc: '', |
|
|
|
pacsParams: { |
|
|
|
row: {}, |
|
|
|
index: 0, |
|
|
|
result: '', |
|
|
|
summary: '' |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
checkPictures: [ |
|
|
|
// { |
|
|
|
// id: "1", |
|
|
|
@ -146,6 +183,7 @@ export default { |
|
|
|
...mapState([ |
|
|
|
"window", |
|
|
|
"dict", |
|
|
|
"dialogWin", |
|
|
|
"dataTransOpts", |
|
|
|
"doctorCheck", |
|
|
|
"patientRegister", |
|
|
|
@ -303,10 +341,47 @@ export default { |
|
|
|
|
|
|
|
// 浏览Dcm文件 |
|
|
|
btnBrowseDcm() { |
|
|
|
|
|
|
|
this.iframeSrc = `${this.sysConfig.dcmViewers}/?mrn=24071610696` |
|
|
|
this.pacsParams.result = this.doctorCheck.checkItemList[0].result |
|
|
|
let summary = '' |
|
|
|
this.doctorCheck.checkSummaryList.forEach(e => { |
|
|
|
summary += e.summary |
|
|
|
}); |
|
|
|
this.pacsParams.summary = summary |
|
|
|
this.pacsParams.row = deepCopy(this.doctorCheck.checkItemList[0]) |
|
|
|
this.pacsParams.index = 0 |
|
|
|
|
|
|
|
console.log('pacsParams', this.pacsParams) |
|
|
|
|
|
|
|
this.iframeSrc = `${this.sysConfig.dcmViewers}/?mrn=${this.doctorCheck.checkRequestNo}` |
|
|
|
this.dialogDcm = true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 选择描述与结论 |
|
|
|
btnChooseBigtext() { |
|
|
|
console.log('this.pacsParams', this.pacsParams) |
|
|
|
this.dialogWin.PacsTemplate = true |
|
|
|
}, |
|
|
|
|
|
|
|
// 确定描述与结论 |
|
|
|
btnOkBigtext() { |
|
|
|
console.log('this.pacsParams', this.pacsParams) |
|
|
|
this.doctorCheck.checkItemList[0].result = this.pacsParams.result |
|
|
|
this.doctorCheck.checkSummaryList = [{ |
|
|
|
id: Math.random(), |
|
|
|
registerCheckId: this.doctorCheck.RegisterCheckEdit.id, |
|
|
|
summary: this.pacsParams.summary, |
|
|
|
summaryFlag: 'N', |
|
|
|
}] |
|
|
|
|
|
|
|
this.save() |
|
|
|
|
|
|
|
this.dialogDcm = false |
|
|
|
}, |
|
|
|
|
|
|
|
// 处理 pacs 结果录入的情况 |
|
|
|
handlePacsResult(row, index, pacsResult) { |
|
|
|
Object.assign(this.pacsParams, pacsResult) |
|
|
|
}, |
|
|
|
|
|
|
|
// 浏览Dcm文件 |
|
|
|
|