Browse Source

修改

master
yangzhou-cyber 3 years ago
parent
commit
5b2678ef85
2 changed files with 10 additions and 2 deletions
  1. +1
    -0
      debug.log
  2. +9
    -2
      src/views/system/user/index.vue

+ 1
- 0
debug.log View File

@@ -1,3 +1,4 @@
[1226/195631.570:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0113/083726.834:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0121/083242.199:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0125/083756.578:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

+ 9
- 2
src/views/system/user/index.vue View File

@@ -46,6 +46,7 @@
<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"/>
@@ -110,11 +111,14 @@
<el-option v-for="item in levelList" :key="item.id" :label="item.name" :value="item.id"/>
</el-select>
</el-form-item>
<el-form-item label="部门:" prop="deptId">
<el-form-item label="部门:" prop="deptId">
<el-select filterable clearable v-model="editForm.deptId" size="small" placeholder="-请选择部门-">
<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="手机号:">
@@ -134,7 +138,7 @@
<el-form-item label="登录密码:" prop="password" v-if="!editForm.id">
<el-input v-model="editForm.password" placeholder="请输入登录密码" show-password/>
</el-form-item>
<el-form-item label="角色:" prop="roleIds">
<el-form-item label="角色:" prop="roleIds">
<el-select v-model="editForm.roleIds" placeholder="请选择角色" class="ele-block" clearable multiple>
<el-option v-for="(item,index) in roleList" :key="index" :label="item.name" :value="item.id"/>
</el-select>
@@ -178,6 +182,9 @@ export default {
],
password: [
{required: true, message: '请输入密码', trigger: 'blur'}
],
nickname:[
{required:true,message:"请输入用户昵称",trigger:"blur"}
]
},
updDir: 'user',

Loading…
Cancel
Save