|
|
|
@ -48,7 +48,7 @@ export default { |
|
|
|
routeUrlorPageName: 'patientLis', //当前页面归属路由或归属页面权限名称 |
|
|
|
privs: [] // 页面权限 |
|
|
|
}, |
|
|
|
pacsRequest:[], // 检查申请单 |
|
|
|
pacsRequest: [], // 检查申请单 |
|
|
|
chooseRows: [], // 选中的行 |
|
|
|
}; |
|
|
|
}, |
|
|
|
@ -129,7 +129,7 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
if (isPreview) { |
|
|
|
this.pacsPrint(this.chooseRows[0].registerCheckId,"0004",isPreview) |
|
|
|
this.pacsPrint(this.chooseRows[0].registerCheckId, "0004", isPreview) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
@ -137,10 +137,10 @@ export default { |
|
|
|
for (let i = 0; i < this.chooseRows.length; i++) { |
|
|
|
let e = this.chooseRows[i]; |
|
|
|
try { |
|
|
|
await this.pacsPrint(e.registerCheckId,"0004",isPreview) |
|
|
|
await this.pacsPrint(e.registerCheckId, "0004", isPreview) |
|
|
|
} catch (error) { |
|
|
|
console.log(`打印条码或更新条码打印状态失败,原因:${error}`) |
|
|
|
this.$message.warning({ showClose: true, message: `打印条码或更新条码打印状态失败,原因:${error}`}) |
|
|
|
this.$message.warning({ showClose: true, message: `打印条码或更新条码打印状态失败,原因:${error}` }) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -180,7 +180,7 @@ export default { |
|
|
|
try { |
|
|
|
let lres = await this.$peisAPI.print(JSON.stringify(toOutShell)) |
|
|
|
let Jres = JSON.parse(lres) |
|
|
|
if(Jres.code < 0){ |
|
|
|
if (Jres.code < 0) { |
|
|
|
err = Jres.message |
|
|
|
console.log('打印检查条码错误', err) |
|
|
|
this.$message.error({ showClose: true, message: `打印检查条码错误 ${err}` }); |
|
|
|
@ -198,7 +198,7 @@ export default { |
|
|
|
this.pacsRequest = [] |
|
|
|
if (!patientRegisterId) return |
|
|
|
// console.log(`/api/app/registerasbitem/getlistinpatientregisterid?PatientRegisterId=${id}`, res) |
|
|
|
postapi(`/api/app/PrintReport/getpacsnoreport?PatientRegisterId=${patientRegisterId}`) |
|
|
|
postapi('/api/app/PrintReport/getpacsnoreport', { patientRegisterId }) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.pacsRequest = res.data |
|
|
|
@ -215,7 +215,7 @@ export default { |
|
|
|
// immediate:true, |
|
|
|
handler(newVal, oldVal) { |
|
|
|
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`); |
|
|
|
if(newVal != oldVal) this.retrieve_pacs_request(this.dataTransOpts.tableS.patient_register.id) |
|
|
|
if (newVal != oldVal) this.retrieve_pacs_request(this.dataTransOpts.tableS.patient_register.id) |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
|