pengjun 1 year ago
parent
commit
d4ccd6b496
  1. 15
      src/components/patientRegister/PatientRegisterEdit.vue

15
src/components/patientRegister/PatientRegisterEdit.vue

@ -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",

Loading…
Cancel
Save