Browse Source

dj seo

master
pengjun 1 year ago
parent
commit
ec3c814655
  1. 40
      src/components/patientRegister/PatientRegisterList.vue

40
src/components/patientRegister/PatientRegisterList.vue

@ -382,7 +382,7 @@ export default {
this.scrollFull()
})
},
computed: {
...mapState([
@ -515,7 +515,7 @@ export default {
try {
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} 为预登记人员,不可打印指引单` });
continue
}
@ -1000,6 +1000,20 @@ export default {
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: "----------------", })
this.$contextmenu({
items,
@ -1247,7 +1261,7 @@ export default {
BusinessCode: row.id
};
if (isPreview) {
if (isPreview) {
this.$peisAPI.printPre(JSON.stringify(toOutShell))
.then(res => {
if (JSON.parse(res).code < 0) {
@ -1258,7 +1272,7 @@ export default {
// console.log('pacs', err)
this.$message.warning({ showClose: true, message: `${err}` });
});
} else {
} else {
this.$peisAPI.print(JSON.stringify(toOutShell))
.then(res => {
if (JSON.parse(res).code < 0) {
@ -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) {

Loading…
Cancel
Save