|
|
|
@ -121,7 +121,7 @@ |
|
|
|
<!-- 结果录入模版 --> |
|
|
|
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false"> |
|
|
|
<div style="margin-top: -10px"> |
|
|
|
<el-checkbox v-model="isSplitChooseResult" size="small" true-label="Y" |
|
|
|
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y" |
|
|
|
false-label="N">选结果模板时自动添加分隔符;</el-checkbox> |
|
|
|
<div style=" |
|
|
|
overflow-y: auto; |
|
|
|
@ -271,8 +271,7 @@ export default { |
|
|
|
result: "", |
|
|
|
defaultResult: "", |
|
|
|
index: 0, // 明细序列 |
|
|
|
}, //结果模版 |
|
|
|
isSplitChooseResult: "N", // 选结果时,是否自动加上分隔符 |
|
|
|
}, //结果模版 |
|
|
|
selection: { |
|
|
|
// 光标位置 |
|
|
|
start: 0, |
|
|
|
@ -302,6 +301,7 @@ export default { |
|
|
|
doctorCheck: { |
|
|
|
isSelectAll: 'N', // 录入结果时,是否全选 |
|
|
|
pacsDescFontSize: "14px", //描述内容的字体大小 |
|
|
|
isSplitChooseResult: "Y", // 选结果时,是否自动加上分隔符 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -322,7 +322,7 @@ export default { |
|
|
|
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) |
|
|
|
if (LocalConfig?.doctorCheck?.isSelectAll) this.LocalConfig.doctorCheck.isSelectAll = LocalConfig.doctorCheck.isSelectAll |
|
|
|
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize + 'px' |
|
|
|
|
|
|
|
if (LocalConfig?.doctorCheck?.isSplitChooseResult) this.LocalConfig.doctorCheck.isSplitChooseResult = LocalConfig.doctorCheck.isSplitChooseResult |
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
@ -769,9 +769,9 @@ export default { |
|
|
|
|
|
|
|
if (this.moreResult.result) result = this.moreResult.result.split(";"); |
|
|
|
// 不用分隔符时,不判断包含关系 |
|
|
|
if (this.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1) |
|
|
|
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1) |
|
|
|
return; |
|
|
|
if (this.isSplitChooseResult == "Y" || result.length == 0) { |
|
|
|
if (this.LocalConfig.doctorCheck.isSplitChooseResult == "Y" || result.length == 0) { |
|
|
|
result.push(item.result); |
|
|
|
} else { |
|
|
|
result[result.length - 1] = result[result.length - 1] + item.result; |
|
|
|
@ -1090,9 +1090,52 @@ export default { |
|
|
|
return false; |
|
|
|
}, |
|
|
|
|
|
|
|
// 预览影像报告 |
|
|
|
pacsReportView() { |
|
|
|
this.$message.info({ showClose: true, message: this.doctorCheck.RegisterCheckId }) |
|
|
|
|
|
|
|
if (!this.$peisAPI) { |
|
|
|
this.$message.info("此功能,需要在壳客户端才可运行!") |
|
|
|
return |
|
|
|
} |
|
|
|
///3a0c990e-5756-2dc0-19d5-69a617fe4048 |
|
|
|
let ReportCode = '0011'; |
|
|
|
let BusinessCode = this.doctorCheck.RegisterCheckId |
|
|
|
|
|
|
|
let token = window.sessionStorage.getItem('token'); |
|
|
|
let user = window.sessionStorage.getItem('user'); |
|
|
|
let toOutShell = { |
|
|
|
ReportCode, token, BusinessCode, |
|
|
|
isBuildImage: 'N', |
|
|
|
IsUploadPdf: 'N', |
|
|
|
preViewCanPrint: 'Y', |
|
|
|
Parameters: [ |
|
|
|
{ Name: 'printer', Value: user }, |
|
|
|
{ Name: 'LTS', Value: 'Y' }, //Y、N N只看不能打印 |
|
|
|
{ Name: "firstPage", Value: "pic/peisReportFirstPage.jpg" }, |
|
|
|
{ Name: "pageHeader", Value: "pic/peisReportPageHeader.jpg" }, |
|
|
|
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" }, |
|
|
|
{ Name: "orgSign", Value: this.dataTransOpts.tableS.patient_register.isPatientOccupationalDisease == 'Y' ? "pic/orgSignOcc.png" : "pic/orgSign.png" }, |
|
|
|
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, |
|
|
|
{ Name: 'resultSign', Value: 'pic/resultSign.png' }, |
|
|
|
], |
|
|
|
}; |
|
|
|
|
|
|
|
let JSONtoOutShell = JSON.stringify(toOutShell) |
|
|
|
console.log('$peisAPI.printPre', JSONtoOutShell) |
|
|
|
this.$peisAPI.printPre(JSONtoOutShell) |
|
|
|
.then(res => { |
|
|
|
if (res) { |
|
|
|
let lres = JSON.parse(res) |
|
|
|
if (lres.code < 0) this.$message.error({ showClose: true, message: lres.message }) |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
this.$message.warning(err); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//监听事件 |
|
|
|
|