|
@ -96,7 +96,13 @@ export default { |
|
|
this.signWX() |
|
|
this.signWX() |
|
|
}, |
|
|
}, |
|
|
async getAgency(type) { |
|
|
async getAgency(type) { |
|
|
let res = await getAllOrgTreeList({ organizationName: this.district,pid:0 }) |
|
|
let parm ={ |
|
|
|
|
|
organizationName: this.district |
|
|
|
|
|
} |
|
|
|
|
|
if(!this.autoFlag){ |
|
|
|
|
|
parm.pid = 0 |
|
|
|
|
|
} |
|
|
|
|
|
let res = await getAllOrgTreeList(parm) |
|
|
if (res.code === 0) { |
|
|
if (res.code === 0) { |
|
|
if (type) { |
|
|
if (type) { |
|
|
this.selfCity.push({ label: this.district, children: res.data }) |
|
|
this.selfCity.push({ label: this.district, children: res.data }) |
|
|