|
|
|
@ -238,6 +238,7 @@ export default { |
|
|
|
.finally(() => console.log('this.$peisAPI.openExternal over')) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//获取检查组合项目 |
|
|
|
registerCheckList(patientRegisterId) { |
|
|
|
if (!patientRegisterId) { |
|
|
|
@ -257,16 +258,40 @@ export default { |
|
|
|
this.handleRegisterCheckList(res.data) |
|
|
|
|
|
|
|
//查询出来 默认显示第1条记录明细、小结等 |
|
|
|
if (res.data.length > 0) { |
|
|
|
this.doctorCheck.RegisterCheckId = res.data[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = res.data[0].id |
|
|
|
|
|
|
|
if (this.registerCheckList0.length > 0) { |
|
|
|
this.doctorCheck.RegisterCheckId = this.registerCheckList0[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = this.registerCheckList0[0].id |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = this.registerCheckList0[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = this.registerCheckList0[0].checkRequestNo |
|
|
|
} else if(this.registerCheckList1.length > 0){ |
|
|
|
this.doctorCheck.RegisterCheckId = this.registerCheckList1[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = this.registerCheckList1[0].id |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = this.registerCheckList1[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = this.registerCheckList1[0].checkRequestNo |
|
|
|
} else if(this.registerCheckList2.length > 0){ |
|
|
|
this.doctorCheck.RegisterCheckId = this.registerCheckList2[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = this.registerCheckList2[0].id |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = this.registerCheckList2[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = this.registerCheckList2[0].checkRequestNo |
|
|
|
} else if(this.registerCheckList3.length > 0){ |
|
|
|
this.doctorCheck.RegisterCheckId = this.registerCheckList3[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = this.registerCheckList3[0].id |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = this.registerCheckList3[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = this.registerCheckList3[0].checkRequestNo |
|
|
|
|
|
|
|
// if (res.data.length > 0) { |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = res.data[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = res.data[0].checkRequestNo |
|
|
|
|
|
|
|
// this.doctorCheck.RegisterCheckEdit = res.data[0] |
|
|
|
// this.doctorCheck.RegisterCheckId = res.data[0].id |
|
|
|
// this.dataTransOpts.tableS.register_check.id = res.data[0].id |
|
|
|
|
|
|
|
// this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0]) |
|
|
|
// this.doctorCheck.asbitemName = res.data[0].asbitemName |
|
|
|
// this.doctorCheck.checkRequestNo = res.data[0].checkRequestNo |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataTransOpts.tableS.register_check.id = '' |
|
|
|
|