From 3f20c93293eaa25e91cd3dc6d7d256c121bc6c6e Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 22 Jan 2024 18:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=A5=E5=B9=B2bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/sendUtil.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 5cf5078..bc75230 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -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', {