|
|
|
@ -1632,7 +1632,7 @@ export default { |
|
|
|
|
|
|
|
//提交 |
|
|
|
btnSubmit(formName, msgTip) { |
|
|
|
console.log('btnSubmit', formName) |
|
|
|
console.log('btnSubmit,formName,form', formName,JSON.stringify(this.form)) |
|
|
|
this.$refs[formName].validate((valid, fields) => { |
|
|
|
// console.log('fields', fields) |
|
|
|
if (!valid) { |
|
|
|
@ -1908,6 +1908,7 @@ export default { |
|
|
|
}) |
|
|
|
.then(res => { |
|
|
|
if (res && res.code > -1) { |
|
|
|
this.form.appointPatientRegisterId = res.data.appointPatientRegisterId |
|
|
|
return postapi('/api/app/AppointPatientRegister/GetAppointRegisterAsbitemListById', { |
|
|
|
thirdInterFaceId:this.thirdInterfaceId, |
|
|
|
appointPatientRegisterId: res.data.appointPatientRegisterId |
|
|
|
@ -2469,8 +2470,15 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 新增 |
|
|
|
// 新增 (个人预约只登记个人的) |
|
|
|
this.dataTransOpts.tableS.patient_register.id = '' |
|
|
|
this.preCustomerOrgId = this.dict.personOrgId |
|
|
|
this.patientRegister.query.customerOrgId = this.dict.personOrgId |
|
|
|
this.patientRegister.query.CustomerOrgParentId = this.dict.personOrgId |
|
|
|
this.form.customerOrgId = [this.dict.personOrgId] //单位编号 默认个人 |
|
|
|
this.form.customerOrgParentId = this.dict.personOrgId |
|
|
|
this.form.customerOrgRegisterId = "00000000-0000-0000-0000-000000000001" //默认单位体检次数 |
|
|
|
|
|
|
|
await this.initFormData(this.dataTransOpts.tableS.patient_register.id) |
|
|
|
// "appointPatientRegisterId": "string", |
|
|
|
// "personId": "string", |
|
|
|
@ -2501,9 +2509,10 @@ export default { |
|
|
|
{ |
|
|
|
patientName: appoint_patient_register.personName, |
|
|
|
completeFlag: '1', |
|
|
|
customerOrgId: ["00000000-0000-0000-0000-000000000001"], //单位编号 默认个人 |
|
|
|
} |
|
|
|
) |
|
|
|
|
|
|
|
console.log('this.form',JSON.stringify(this.form)) |
|
|
|
// 明细必填项 |
|
|
|
// "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
|
|
|
// "asbitemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
|
|
|
|