|
|
|
@ -1189,7 +1189,7 @@ export default { |
|
|
|
// if (lfind > -1) { |
|
|
|
// 弹出编辑框,只有在编辑框显示时,才去触发获取数据 |
|
|
|
this.clickTime1 = new Date().getTime() |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
if (this.clickTime1 > this.clickTime2) { |
|
|
|
this.dataTransOpts.tableS.patient_register = deepCopy(row); |
|
|
|
@ -1211,7 +1211,7 @@ export default { |
|
|
|
this.dataTransOpts.tableS.patient_register = deepCopy(row); |
|
|
|
this.tableDataCurrentRow = deepCopy(row); |
|
|
|
this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新 |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 导入企业(青藏公司)数据 |
|
|
|
@ -2498,32 +2498,22 @@ export default { |
|
|
|
|
|
|
|
//按条码号查个人数据 |
|
|
|
signByPatientRegisterNo() { |
|
|
|
let patientRegisterNo = this.patientRegisterNo |
|
|
|
|
|
|
|
let patientRegisterNos = [this.patientRegisterNo] |
|
|
|
let body = { |
|
|
|
sType: 1, |
|
|
|
patientRegisterNo |
|
|
|
patientRegisterNos |
|
|
|
} |
|
|
|
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient', body) |
|
|
|
postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) |
|
|
|
.then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
if (res.data) { |
|
|
|
this.recoverCore([res.data.id]) |
|
|
|
this.patientRegisterNo = '' |
|
|
|
} |
|
|
|
if (res.code > -1) { |
|
|
|
this.patientRegisterNo = '' |
|
|
|
this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 回收表提交 |
|
|
|
recoverCore(body) { |
|
|
|
postapi(`/api/app/patientregister/updaterecoverguidemany`, body) |
|
|
|
.then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.$message.success({ showClose: true, message: "操作成功!" }); |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
btnDragColDesign() { |
|
|
|
this.dragColDesign = deepCopy(this.dragCol); |
|
|
|
|