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