若干bug修改

pull/10/head
liujun 2024-01-22 18:11:54 +08:00
parent b8331f9ad7
commit 3f20c93293
1 changed files with 11 additions and 3 deletions

View File

@ -107,7 +107,8 @@ export default {
},
departmentTree: [],
peopleList: []
peopleList: [],
corpFlag: false
}
},
methods: {
@ -122,12 +123,19 @@ export default {
if (this.info.FLOWS_STEP === 0) {
this.isShow = true
await this.getDepartmentTree()
this.corpFlag = false
} else {
this.isShow = false
}
} else {
this.isShow = true
await this.getCorpDepartmentTree()
if (this.info.FLOWS_STEP === 0) {
await this.getDepartmentTree()
this.corpFlag = false
} else {
await this.getCorpDepartmentTree()
this.corpFlag = true
}
}
this.loading = false
},
@ -174,7 +182,7 @@ export default {
},
getPeopleList(e) {
this.form.APPOINT_DEPARTMENT_NAME = e.name
if (this.info.FLOWS_TYPE === '0') {
if (!this.corpFlag) {
requestFN(
'/user/listAll',
{