Browse Source

dj seo

master
pengjun 2 years ago
parent
commit
ec3c814655
  1. 32
      src/components/patientRegister/PatientRegisterList.vue

32
src/components/patientRegister/PatientRegisterList.vue

@ -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,
@ -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