| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="科室" prop="deptName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="邮箱" prop="email" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="手机" prop="phonenumber" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="状态" align="center" prop="status"> |
| | |
| | | getList() { |
| | | this.loading = true; |
| | | allocatedUserList(this.queryParams).then(response => { |
| | | this.userList = response.rows; |
| | | console.log(response,111); |
| | | this.userList = response.rows.map(item=>{ |
| | | item.deptName = item.dept ? item.dept.deptName : ''; |
| | | return item; |
| | | }) |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | } |