|
|
@ -515,7 +515,7 @@ export default { |
|
|
try { |
|
|
try { |
|
|
|
|
|
|
|
|
let patientregisterId = this.multipleSelection[i].id |
|
|
let patientregisterId = this.multipleSelection[i].id |
|
|
if (this.multipleSelection[i].completeFlag == '0'){ |
|
|
|
|
|
|
|
|
if (this.multipleSelection[i].completeFlag == '0') { |
|
|
this.$message.warning({ showClose: true, message: `${this.multipleSelection[i].patientName} 为预登记人员,不可打印指引单` }); |
|
|
this.$message.warning({ showClose: true, message: `${this.multipleSelection[i].patientName} 为预登记人员,不可打印指引单` }); |
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|
@ -1000,6 +1000,20 @@ export default { |
|
|
this.pacsPrint(row, "0004", false); |
|
|
this.pacsPrint(row, "0004", false); |
|
|
}, |
|
|
}, |
|
|
}) |
|
|
}) |
|
|
|
|
|
if (checkPagePriv(this.pagePriv.privs, '导入检查结果') && row.completeFlag != '0') |
|
|
|
|
|
items.push({ |
|
|
|
|
|
label: "导入检查结果", |
|
|
|
|
|
onClick: () => { |
|
|
|
|
|
this.importResult('pacs', row); |
|
|
|
|
|
}, |
|
|
|
|
|
}) |
|
|
|
|
|
if (checkPagePriv(this.pagePriv.privs, '导入检验结果') && row.completeFlag != '0') |
|
|
|
|
|
items.push({ |
|
|
|
|
|
label: "导入检验结果", |
|
|
|
|
|
onClick: () => { |
|
|
|
|
|
this.importResult('lis', row); |
|
|
|
|
|
}, |
|
|
|
|
|
}) |
|
|
items.push({ label: "----------------", }) |
|
|
items.push({ label: "----------------", }) |
|
|
this.$contextmenu({ |
|
|
this.$contextmenu({ |
|
|
items, |
|
|
items, |
|
|
@ -1271,6 +1285,24 @@ export default { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 导入检查检验结果 |
|
|
|
|
|
importResult(checkType, row) { |
|
|
|
|
|
let url = '/api/app/ImportLisResult/ImportResultByPatientRegisterId' |
|
|
|
|
|
switch (checkType) { |
|
|
|
|
|
case 'pacs': |
|
|
|
|
|
url = '/api/app/ImportPacsResult/ImportResultByPatientRegisterId' |
|
|
|
|
|
break; |
|
|
|
|
|
default: |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
postapi(url, { patientRegisterId: row.id }).then(res => { |
|
|
|
|
|
if (res.code > -1) { |
|
|
|
|
|
this.$message.success({ showClose: true, message: '导入成功!' }) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.$message.error({ showClose: true, message: res.message }) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//通用导出 |
|
|
//通用导出 |
|
|
btnExport(elId) { |
|
|
btnExport(elId) { |
|
|
|