人员管理禁用更换字典
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2025-01-16 17:02:58 +08:00
parent 6977ed3713
commit 830718c228
1 changed files with 4 additions and 4 deletions

View File

@ -446,7 +446,7 @@
" "
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span> {{ $fd('IsEnable', !scope.row.IsDeleted) }}</span> <span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -487,7 +487,7 @@
:disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, true)" @click.stop="changeRoleStatus(scope.row, true)"
> >
{{ $fd('IsEnable', false) }} {{ $fd('IsDisable', true) }}
</el-button> </el-button>
<el-button <el-button
size="mini" size="mini"
@ -495,7 +495,7 @@
:disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, false)" @click.stop="changeRoleStatus(scope.row, false)"
> >
{{ $fd('IsEnable', true) }} {{ $fd('IsDisable', false) }}
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -624,7 +624,7 @@ export default {
try { try {
let message = this.$t('trials:staff:comfirm:changeRoleStatus').replace( let message = this.$t('trials:staff:comfirm:changeRoleStatus').replace(
'xxx', 'xxx',
this.$fd('IsEnable', !status) this.$fd('IsDisable', status)
) )
let comfirm = await this.$confirm(message) let comfirm = await this.$confirm(message)
if (!comfirm) return false if (!comfirm) return false