|
|
@ -542,7 +542,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//体检报告 |
|
|
//体检报告 |
|
|
btnReport() { |
|
|
|
|
|
|
|
|
async btnReport() { |
|
|
|
|
|
|
|
|
if (!this.$peisAPI) { |
|
|
if (!this.$peisAPI) { |
|
|
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }) |
|
|
this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }) |
|
|
@ -556,7 +556,7 @@ export default { |
|
|
isBuildImage: 'N', |
|
|
isBuildImage: 'N', |
|
|
IsUploadPdf: 'N', |
|
|
IsUploadPdf: 'N', |
|
|
ReportCode, token, |
|
|
ReportCode, token, |
|
|
preViewCanPrint: this.doctorCheck.prBase.isAudit, //this.dataTransOpts.tableS.patient_register.isAudit |
|
|
|
|
|
|
|
|
preViewCanPrint: 'Y', // this.doctorCheck.prBase.isAudit, //this.dataTransOpts.tableS.patient_register.isAudit |
|
|
Parameters: [ |
|
|
Parameters: [ |
|
|
{ Name: 'printer', Value: user }, |
|
|
{ Name: 'printer', Value: user }, |
|
|
{ Name: 'LTS', Value: 'Y' }, //Y、N N只看不能打印 |
|
|
{ Name: 'LTS', Value: 'Y' }, //Y、N N只看不能打印 |
|
|
@ -565,10 +565,18 @@ export default { |
|
|
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" }, |
|
|
{ Name: "pageFooter", Value: "pic/peisReportPageFooter.jpg" }, |
|
|
{ Name: "orgSign", Value: "pic/orgSign.png" }, |
|
|
{ Name: "orgSign", Value: "pic/orgSign.png" }, |
|
|
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, |
|
|
{ Name: 'picExtOne', Value: 'pic/hisLog.jpg' }, |
|
|
|
|
|
|
|
|
], |
|
|
], |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 总检审核后才能打印 |
|
|
|
|
|
if(this.dataTransOpts.tableS.patient_register.completeFlag != '3') toOutShell.preViewCanPrint = 'N' |
|
|
|
|
|
if (toOutShell.preViewCanPrint == 'Y' && this.dataTransOpts.tableS.patient_register.isAudit == 'N') { |
|
|
|
|
|
let sysParmId = "medical_report_print_after_summary_check_is_audit" |
|
|
|
|
|
let sysParam = await postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId }) |
|
|
|
|
|
if(sysParam.data.toUpperCase() == 'Y') toOutShell.preViewCanPrint = 'N' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
toOutShell.BusinessCode = this.doctorCheck.prBase.id |
|
|
toOutShell.BusinessCode = this.doctorCheck.prBase.id |
|
|
this.$peisAPI.printPre(JSON.stringify(toOutShell)) |
|
|
this.$peisAPI.printPre(JSON.stringify(toOutShell)) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
|