|
@ -177,10 +177,17 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
handleChangeAgency (value) { |
|
|
handleChangeAgency (value) { |
|
|
|
|
|
if (value && value.length > 0) { |
|
|
let selAgency = this.$refs["myCascader"].getCheckedNodes()[0].data |
|
|
let selAgency = this.$refs["myCascader"].getCheckedNodes()[0].data |
|
|
this.peoForm.orgName = selAgency.agencyName |
|
|
this.peoForm.orgName = selAgency.agencyName |
|
|
this.peoForm.orgType = selAgency.level |
|
|
this.peoForm.orgType = selAgency.level |
|
|
this.peoForm.orgId = selAgency.agencyId |
|
|
this.peoForm.orgId = selAgency.agencyId |
|
|
|
|
|
} else { |
|
|
|
|
|
this.peoForm.orgName = '' |
|
|
|
|
|
this.peoForm.orgType = '' |
|
|
|
|
|
this.peoForm.orgId = '' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|