新增、编辑角色时去除RC和Dash
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
328359dfde
commit
d790a95952
|
@ -89,7 +89,7 @@
|
|||
>
|
||||
<template v-for="userType of userTypeOptions">
|
||||
<el-option
|
||||
v-if="userType.UserTypeEnum !== 20"
|
||||
v-if="![4, 6, 20].includes(userType.UserTypeEnum)"
|
||||
:key="userType.Id"
|
||||
:label="userType.UserType"
|
||||
:value="userType.Id"
|
||||
|
@ -109,7 +109,7 @@
|
|||
>
|
||||
<template v-for="userType of userTypeOptions">
|
||||
<el-option
|
||||
v-if="userType.UserTypeEnum !== 20"
|
||||
v-if="![4, 6, 20].includes(userType.UserTypeEnum)"
|
||||
:key="userType.Id"
|
||||
:label="userType.UserType"
|
||||
:value="userType.Id"
|
||||
|
|
|
@ -155,7 +155,8 @@ export default {
|
|||
roleList() {
|
||||
let arr = this.list.map((item) => item.UserTypeId)
|
||||
return this.userTypeOptions.filter(
|
||||
(item) => !arr.includes(item.Id) && item.UserTypeEnum !== 20
|
||||
(item) =>
|
||||
!arr.includes(item.Id) && ![4, 6, 20].includes(userType.UserTypeEnum)
|
||||
)
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue