|
|
@@ -46,7 +46,6 @@ |
|
|
|
<el-table-column type="index" :index="index" label="编号" width="60" align="center" fixed="left" show-overflow-tooltip/> |
|
|
|
<el-table-column prop="username" label="用户账号" sortable="custom" show-overflow-tooltip min-width="110"/> |
|
|
|
<el-table-column prop="realname" label="用户姓名" sortable="custom" show-overflow-tooltip min-width="110"/> |
|
|
|
<el-table-column prop="nickname" label="用户姓名" sortable="custom" show-overflow-tooltip min-width="110"/> |
|
|
|
<el-table-column label="头像" min-width="60" align="center"> |
|
|
|
<template slot-scope="{row}"> |
|
|
|
<el-avatar shape="square" :size="35" :src="row.avatar"/> |
|
|
@@ -94,8 +93,9 @@ |
|
|
|
<el-row :gutter="15"> |
|
|
|
<el-col :sm="12"> |
|
|
|
<el-form-item label="用户账号:" prop="username"> |
|
|
|
<el-input v-model="editForm.username" placeholder="请输入账号" clearable |
|
|
|
:disabled="editForm.id?true:false"/> |
|
|
|
<!-- <el-input v-model="editForm.username" placeholder="请输入账号" clearable |
|
|
|
:disabled="editForm.id?true:false"/> --> |
|
|
|
<el-input v-model="editForm.username" placeholder="请输入账号" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="用户姓名:" prop="realname"> |
|
|
|
<el-input v-model="editForm.realname" placeholder="请输入用户姓名" clearable/> |
|
|
@@ -116,9 +116,6 @@ |
|
|
|
<el-option v-for="(item,index) in departmentsList" :key="index" :label="item.name" :value="item.id"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="用户昵称:" prop="nickname"> |
|
|
|
<el-input v-model="editForm.nickname" placeholder="请输入用户昵称" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :sm="12"> |
|
|
|
<el-form-item label="手机号:"> |
|
|
@@ -183,9 +180,6 @@ export default { |
|
|
|
password: [ |
|
|
|
{required: true, message: '请输入密码', trigger: 'blur'} |
|
|
|
], |
|
|
|
nickname:[ |
|
|
|
{required:true,message:"请输入用户昵称",trigger:"blur"} |
|
|
|
] |
|
|
|
}, |
|
|
|
updDir: 'user', |
|
|
|
roleList: [], // 角色列表 |