|  |  |  | 
|---|
|  |  |  | <el-table-column prop="birthday" label="生日" sortable="custom" sort-by="BIRTHDAY" min-width="100px"></el-table-column> | 
|---|
|  |  |  | <el-table-column prop="roles" label="角色" min-width="160px" class-name="table-column-strings"> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | <ul> | 
|---|
|  |  |  | <li v-for="role in row.roles" :key="role.id">{{role.name}}</li> | 
|---|
|  |  |  | </ul> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <ul> | 
|---|
|  |  |  | <li v-for="role in row.roles" :key="role.id">{{role.name}}</li> | 
|---|
|  |  |  | </ul> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column prop="createUser" label="创建人" min-width="100px"> | 
|---|
|  |  |  | <template slot-scope="{row}">{{row.createUserInfo == null ? '' : row.createUserInfo.username}}</template> | 
|---|
|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | // 搜索 | 
|---|
|  |  |  | searchForm: { | 
|---|
|  |  |  | type:0, | 
|---|
|  |  |  | username: '', // 名字 | 
|---|
|  |  |  | realname: '', // 姓名 | 
|---|
|  |  |  | rootDeptId: null, // 部门ID | 
|---|