|
|
|
@ -1480,23 +1480,23 @@ export default { |
|
|
|
if (this.patientRegister.photo && this.patientRegister.photo.indexOf("data:image") > -1) savePeoplePhoto(res.data.id, this.patientRegister.photo); |
|
|
|
|
|
|
|
// 新增保存时,提示是否打条码 |
|
|
|
if (!body.id) { |
|
|
|
this.$confirm("是否打印 指引单、检验条码及 Pacs 条码?", "提示", { |
|
|
|
confirmButtonText: "是", |
|
|
|
cancelButtonText: "否", |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.guidePrint('0001', false) |
|
|
|
|
|
|
|
this.labelPrint(false) |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
// if (err == "cancel") { |
|
|
|
// this.$message.info({ showClose: true, message: "已取消操作" }); |
|
|
|
// } |
|
|
|
}); |
|
|
|
} |
|
|
|
// if (!body.id) { |
|
|
|
// this.$confirm("是否打印 指引单、检验条码及 Pacs 条码?", "提示", { |
|
|
|
// confirmButtonText: "是", |
|
|
|
// cancelButtonText: "否", |
|
|
|
// type: "warning", |
|
|
|
// }) |
|
|
|
// .then(() => { |
|
|
|
// this.guidePrint('0001', false) |
|
|
|
|
|
|
|
// this.labelPrint(false) |
|
|
|
// }) |
|
|
|
// .catch((err) => { |
|
|
|
// // if (err == "cancel") { |
|
|
|
// // this.$message.info({ showClose: true, message: "已取消操作" }); |
|
|
|
// // } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
|