|
@@ -26,17 +26,18 @@
|
|
|
</div>
|
|
|
<el-table :data="tableData" stripe v-loading="tableLoading" fit class="marginT-10 order-table" border>
|
|
|
<el-table-column label="工号" prop="id" width="60"></el-table-column>
|
|
|
- <el-table-column label="账号" prop="user_name"></el-table-column>
|
|
|
- <el-table-column label="姓名" prop="user_full_name"></el-table-column>
|
|
|
+ <el-table-column label="账号" prop="user_name" width="140"></el-table-column>
|
|
|
+ <el-table-column label="姓名" prop="user_full_name" width="140"></el-table-column>
|
|
|
<el-table-column label="是否管理员" prop="is_admin"
|
|
|
- :formatter="row => row.is_admin == 1 ? '管理员' : '普通账号'"></el-table-column>
|
|
|
+ :formatter="row => row.is_admin == 1 ? '管理员' : '普通账号'"
|
|
|
+ width="120"></el-table-column>
|
|
|
<el-table-column label="创建时间" prop="created_at" width="160"></el-table-column>
|
|
|
- <el-table-column label="所属项目" prop="user_project_name"></el-table-column>
|
|
|
- <el-table-column label="所属部门" prop="user_department_name"></el-table-column>
|
|
|
- <el-table-column label="所属角色" prop="user_role_name"></el-table-column>
|
|
|
+ <el-table-column label="所属项目" prop="user_project_name" width="140"></el-table-column>
|
|
|
+ <el-table-column label="所属部门" prop="user_department_name" width="140"></el-table-column>
|
|
|
+ <el-table-column label="所属角色" prop="user_role_name" width="140"></el-table-column>
|
|
|
<el-table-column label="手机号" prop="user_phone" width="110"></el-table-column>
|
|
|
- <el-table-column label="邮箱" prop="user_email"></el-table-column>
|
|
|
- <el-table-column label="操作" width="160">
|
|
|
+ <el-table-column label="邮箱" prop="user_email" width="200"></el-table-column>
|
|
|
+ <el-table-column label="操作" width="160" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="edit(scope.row)" v-permission="'user_list_edit'">编辑</el-button>
|
|
|
<el-button type="text" @click="modPassword(scope.row)" v-permission="'user_list_del'">修改密码</el-button>
|