This commit is contained in:
parent
b35aad7a51
commit
5307112844
|
|
@ -997,11 +997,9 @@ export default {
|
|||
})
|
||||
},
|
||||
// 获取产权单位
|
||||
getDeptTreeSelect() {
|
||||
deptTreeSelect().then((res) => {
|
||||
this.propertyUnitList = this.filterTree(res.data)
|
||||
console.log('🚀 ~ getDeptTreeSelect ~ this.propertyUnitList:', this.propertyUnitList)
|
||||
})
|
||||
async getDeptTreeSelect() {
|
||||
const res = await deptTreeSelect()
|
||||
this.propertyUnitList = this.filterTree(res.data)
|
||||
},
|
||||
filterTree(nodes) {
|
||||
return nodes
|
||||
|
|
@ -1668,7 +1666,7 @@ export default {
|
|||
},
|
||||
|
||||
async created() {
|
||||
await this.getDeptTreeSelect()
|
||||
await this.getDeptTreeSelect().catch(() => {})
|
||||
const params = this.$route.query
|
||||
this.queryParams.propertyUnitId = params?.deptId || ''
|
||||
if (params && params.parentId) {
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@ export default {
|
|||
}
|
||||
},
|
||||
async created() {
|
||||
await this.getDeptTreeSelect()
|
||||
await this.getDeptTreeSelect().catch(() => {})
|
||||
const params = this.$route.query
|
||||
this.queryParams.propertyUnitId = params?.deptId || ''
|
||||
const ids = []
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ export default {
|
|||
}
|
||||
},
|
||||
async created() {
|
||||
await this.getDeptTreeSelect()
|
||||
await this.getDeptTreeSelect().catch(() => {})
|
||||
const params = this.$route.query
|
||||
this.queryParams.propertyUnitId = params?.deptId || ''
|
||||
const ids = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue