人员配置角色状态字典修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-08-27 11:08:00 +08:00
parent 30144b479b
commit 8517d37584
1 changed files with 3 additions and 3 deletions

View File

@ -272,7 +272,7 @@
)
">
<template slot-scope="scope">
<span> {{ $fd('IsEnable', scope.row.IsDeleted) }}</span>
<span> {{ $fd('IsEnable', !scope.row.IsDeleted) }}</span>
</template>
</el-table-column>
<el-table-column prop="IsDeleted" :label="$t(
@ -299,11 +299,11 @@
<template slot-scope="scope">
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, true)">
{{ $fd('IsEnable', true) }}
{{ $fd('IsEnable', false) }}
</el-button>
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, false)">
{{ $fd('IsEnable', false) }}
{{ $fd('IsEnable', true) }}
</el-button>
</template>
</el-table-column>