【人员管理】pm需要禁止操作自己的账号
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6654981721
commit
afce1e2bab
|
@ -184,7 +184,7 @@
|
|||
<template slot-scope="scope">
|
||||
<el-button v-hasPermi="['trials:trials-panel:setting:personnel-manage:status']" circle
|
||||
:title="$t('trials:staff:action:status')" icon="el-icon-edit-outline" :disabled="!!scope.row.TrialUserRoleList.find(
|
||||
(item) => item.UserTypeEnum === 1
|
||||
(item) => item.UserTypeEnum === 4
|
||||
)
|
||||
" @click="handleStatus(scope.row)" />
|
||||
<!---v-if="!scope.row.UserName"-->
|
||||
|
@ -293,11 +293,11 @@
|
|||
</el-table-column>
|
||||
<el-table-column :label="$t('common:action:action')" min-width="120px">
|
||||
<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 === 4"
|
||||
@click.stop="changeRoleStatus(scope.row, true)">
|
||||
{{ $fd('IsEnable', false) }}
|
||||
</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 === 4"
|
||||
@click.stop="changeRoleStatus(scope.row, false)">
|
||||
{{ $fd('IsEnable', true) }}
|
||||
</el-button>
|
||||
|
|
Loading…
Reference in New Issue