后台-权限管理-用户管理:去掉多余的操作按钮

This commit is contained in:
gongjiale 2022-10-31 18:10:48 +08:00
parent d130bcf1aa
commit 61bb1291c2
1 changed files with 5 additions and 5 deletions

View File

@ -45,21 +45,21 @@
<el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" <el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle"
@sort-change="dataListSortChangeHandle" style="width: 100%"> @sort-change="dataListSortChangeHandle" style="width: 100%">
<el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column> <el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column>
<el-table-column prop="username" :label="$t('user.username')" sortable="custom" header-align="center" <el-table-column prop="username" :label="$t('user.username')" header-align="center"
align="center"></el-table-column> align="center"></el-table-column>
<el-table-column prop="realName" label="真实姓名" header-align="center" align="center"></el-table-column> <el-table-column prop="realName" label="真实姓名" header-align="center" align="center"></el-table-column>
<el-table-column prop="deptName" :label="$t('user.deptName')" header-align="center" align="center"> <el-table-column prop="deptName" :label="$t('user.deptName')" header-align="center" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="email" :label="$t('user.email')" header-align="center" align="center"></el-table-column> <el-table-column prop="email" :label="$t('user.email')" header-align="center" align="center"></el-table-column>
<el-table-column prop="mobile" :label="$t('user.mobile')" sortable="custom" header-align="center" <el-table-column prop="mobile" :label="$t('user.mobile')" header-align="center"
align="center"></el-table-column> align="center"></el-table-column>
<el-table-column prop="gender" :label="$t('user.gender')" sortable="custom" header-align="center" <el-table-column prop="gender" :label="$t('user.gender')" header-align="center"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ $getDictLabel('gender', scope.row.gender) }} {{ $getDictLabel('gender', scope.row.gender) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="status" :label="$t('user.status')" sortable="custom" header-align="center" <el-table-column prop="status" :label="$t('user.status')" header-align="center"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.status === 0" size="small" type="danger">{{ <el-tag v-if="scope.row.status === 0" size="small" type="danger">{{
@ -70,7 +70,7 @@
}}</el-tag> }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="createDate" :label="$t('user.createDate')" sortable="custom" header-align="center" <el-table-column prop="createDate" :label="$t('user.createDate')" header-align="center"
align="center" width="180"></el-table-column> align="center" width="180"></el-table-column>
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> <el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">