From 6654981721793a1bbed04dabb3120667230dd391 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 29 Aug 2025 15:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=AE=A1=E7=90=86=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=B1=BB=E5=9E=8B=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/personnel-manage/components/staff.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/staff.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/staff.vue index e533b2a..64f1eb4 100644 --- a/src/views/trials/trials-panel/setting/personnel-manage/components/staff.vue +++ b/src/views/trials/trials-panel/setting/personnel-manage/components/staff.vue @@ -14,11 +14,7 @@ - + {{ item.UserType }} @@ -580,19 +576,20 @@ export default { getTrialUserTypeList().then((res) => { let arr = []; if (this.hasPermi(["role:admin"])) { - arr = [1]; + arr = [1, 35]; } if (this.hasPermi(["role:oa"])) { - arr = [1, 2]; + arr = [1, 2, 35]; } if (this.hasPermi(["role:pm"])) { - arr = [1, 2, 14]; + arr = [1, 2, 14, 35]; } this.userTypeOptions = res.Result.map((item) => { if (!arr.includes(item.UserTypeEnum)) { return item; } }).filter((item) => item); + console.log(this.userTypeOptions, 'this.userTypeOptions') }) }, },