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') }) }, },