若干bug修改
parent
b8331f9ad7
commit
3f20c93293
|
@ -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',
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue