| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | {title: '角色编号', field: 'role_id', align: 'center', width: '200px'}, |
| | | {title: '角色名称', field: 'role_name', align: 'center', width: '260px'}, |
| | | {title: '权限字符', field: 'role_key', align: 'center', width: '260px'}, |
| | | {title: '顺序号', field: 'role_sort', align: 'center', width: '100px'}, |
| | | {title: '角色编号', field: 'role_id', align: 'center',}, |
| | | {title: '角色名称', field: 'role_name', align: 'center',}, |
| | | {title: '权限字符', field: 'role_key', align: 'center',}, |
| | | {title: '顺序号', field: 'role_sort', align: 'center',}, |
| | | { |
| | | title: '状态', field: 'status', align: 'center', width: '100px', |
| | | title: '状态', field: 'status', align: 'center', |
| | | switch: row => { |
| | | const result = {} |
| | | if (row.status == 0) { |
| | |
| | | ], |
| | | // 操作信息 |
| | | operation: { |
| | | // width: 150, |
| | | width: 150, |
| | | align: 'center', |
| | | show: true, // 显示操作列 |
| | | attr: [ |