修改用户信息按钮样式

This commit is contained in:
fl 2025-02-27 15:11:14 +08:00
parent 753d0c230a
commit ca3985f19c
1 changed files with 13 additions and 8 deletions

View File

@ -99,21 +99,26 @@
@click="handleResetPwd(scope.row)" @click="handleResetPwd(scope.row)"
>重置密码</el-button> >重置密码</el-button>
<el-button <el-tooltip content="授予用户更新人脸权限" placement="top">
size="mini" <el-button
type="warning" size="mini"
v-if="scope.row.isFace ==0 " type="warning"
v-hasPermi="['system:user:isFace']" v-if="scope.row.isFace ==0 || (scope.row.isCheck =='1' && scope.row.isFace ==1)"
@click="handleResetIsFace(scope.row)" v-hasPermi="['system:user:isFace']"
>人脸权限录入权限</el-button> @click="handleResetIsFace(scope.row)"
>授权</el-button>
</el-tooltip>
<el-button <el-tooltip content="审核用户更新的人脸" placement="top">
<el-button
size="mini" size="mini"
type="warning" type="warning"
v-if="scope.row.isCheck =='0' " v-if="scope.row.isCheck =='0' "
v-hasPermi="['system:user:examine']" v-hasPermi="['system:user:examine']"
@click="handleExamine(scope.row)" @click="handleExamine(scope.row)"
>审核</el-button> >审核</el-button>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>