人员配置角色状态字典修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
30144b479b
commit
8517d37584
|
@ -272,7 +272,7 @@
|
||||||
)
|
)
|
||||||
">
|
">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span> {{ $fd('IsEnable', scope.row.IsDeleted) }}</span>
|
<span> {{ $fd('IsEnable', !scope.row.IsDeleted) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="IsDeleted" :label="$t(
|
<el-table-column prop="IsDeleted" :label="$t(
|
||||||
|
@ -299,11 +299,11 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
||||||
@click.stop="changeRoleStatus(scope.row, true)">
|
@click.stop="changeRoleStatus(scope.row, true)">
|
||||||
{{ $fd('IsEnable', true) }}
|
{{ $fd('IsEnable', false) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
||||||
@click.stop="changeRoleStatus(scope.row, false)">
|
@click.stop="changeRoleStatus(scope.row, false)">
|
||||||
{{ $fd('IsEnable', false) }}
|
{{ $fd('IsEnable', true) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue