| | |
| | | const addressEditRef = ref<AddressEditInstance>() |
| | | const chosenAddressId = ref(1) |
| | | const addressInfo=ref({ |
| | | code:'', |
| | | id:0, |
| | | name:'', |
| | | addressDetail:'', |
| | |
| | | console.log('用户信息') |
| | | console.log(userInfo.patient) |
| | | addressInfo.value={ |
| | | code:'', |
| | | id:0, |
| | | name:userInfo.patient.patientInfo.patientName, |
| | | addressDetail:userInfo.patient.patientInfo.patientAddress, |
| | |
| | | const onEdit = (item:any, index:number) =>{ |
| | | console.log(item,index) |
| | | addressInfo.value={ |
| | | code:item.code, |
| | | id:item.id, |
| | | name:item.name, |
| | | addressDetail:item.address, |
| | |
| | | const pasm={ |
| | | addressArea: [form.city,form.county].toString(), |
| | | id: addressInfo.value.id, |
| | | code:addressInfo.value.code, |
| | | patientAddress: form.addressDetail, |
| | | patientCode: userInfo.patient.patientInfo.code, |
| | | patientIsDefault: form.isDefault===true?1:0, |