Browse Source

是组织书加pid字段

feature
是小王呀\24601 1 year ago
parent
commit
3f8f634d53
  1. 2
      src/views/selectAgency/index.vue

2
src/views/selectAgency/index.vue

@ -88,7 +88,7 @@ export default {
}) })
}, },
async getAgency(type) { async getAgency(type) {
let res = await getAllOrgTreeList({ organizationName: this.district }) let res = await getAllOrgTreeList({ organizationName: this.district,pid:0 })
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 })

Loading…
Cancel
Save