|
|
@ -445,7 +445,7 @@ export default { |
|
|
|
const url = "/gov/org/agency/maporg" |
|
|
|
let params = { |
|
|
|
orgId: this.orgId, |
|
|
|
level: this.orgLevel |
|
|
|
level: this.orgType |
|
|
|
} |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
@ -454,7 +454,7 @@ export default { |
|
|
|
|
|
|
|
this.orgData = data |
|
|
|
this.orgId = this.orgData.id |
|
|
|
this.orgLevel = this.orgData.level |
|
|
|
this.orgType = this.orgData.level |
|
|
|
this.parentPolygon = [] |
|
|
|
this.parentPolygon = data.children.map(item => { |
|
|
|
return { |
|
|
|