fix:是否同步到正元权限
This commit is contained in:
1 parent
49694f7489
commit
4b2c247082
1 file changed
+8
-2
@@ -60,7 +60,7 @@
|
||||
<el-table-column prop="isSyncZy" label="是否同步正元" min-width="120">
|
||||
<template #default="{ row }">
|
||||
<el-switch
|
||||
:disabled="useUserInfo().userInfos.roleCodes.includes('ROLE_ADMIN')"
|
||||
:disabled="!useUserInfo().userInfos.roleCodes.includes('ROLE_ADMIN')"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
v-model="row.isSyncZy"
|
||||
@@ -70,7 +70,13 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="是否在移动端展示" min-width="150">
|
||||
<template #default="{ row }">
|
||||
<el-switch active-value="1" inactive-value="0" v-model="row.visibleMobile" @change="visibleMobileChange(row)" />
|
||||
<el-switch
|
||||
:disabled="!useUserInfo().userInfos.roleCodes.includes('ROLE_ADMIN')"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
v-model="row.visibleMobile"
|
||||
@change="visibleMobileChange(row)"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="200" label="支付默认钱包">
|
||||
|
||||
Reference in new issue
Block a user