|
|
|
@ -201,7 +201,8 @@ export default { |
|
|
|
}, |
|
|
|
changId:null, |
|
|
|
changPid:null, |
|
|
|
changType:null |
|
|
|
changType:null, |
|
|
|
partyOrgIdPath:null |
|
|
|
}; |
|
|
|
}, |
|
|
|
props: { |
|
|
|
@ -243,7 +244,8 @@ export default { |
|
|
|
this.form[item.pformName].id = item.id |
|
|
|
if (item.itemType == 'checkbox') { |
|
|
|
this.form[item.pformName][item.formName] = item.value || [] |
|
|
|
} else if (item.itemType == 'cascader1') { |
|
|
|
} else if (item.itemType == 'cascader1' && item.orgPath) { |
|
|
|
this.partyOrgIdPath = item.orgPath.split(':')[0] |
|
|
|
await this.getOrgTree() |
|
|
|
this.form[item.pformName][item.formName] = item.value || null |
|
|
|
} else { |
|
|
|
@ -305,7 +307,7 @@ export default { |
|
|
|
}, |
|
|
|
async getOrgTree() { |
|
|
|
try { |
|
|
|
const { data } = await requestGet('/actual/base/party/org/listPartyOrgTreeRoot4Select', { depth: 8 }) |
|
|
|
const { data } = await requestGet('/actual/base/party/org/listPartyOrgTreeRoot4Select', { partyOrgId:this.partyOrgIdPath,depth:8 }) |
|
|
|
this.formList.forEach(c => { |
|
|
|
if (c.formId == "parymemberInfoDto") { |
|
|
|
for (let i of c.form[0].children) { |
|
|
|
|