| | |
| | | custom: [ |
| | | { |
| | | name: '新增', |
| | | checkPermission:'system:role:edit', |
| | | // checkPermission:'system:role:edit', |
| | | click: () => { |
| | | this.handleAdd(null) |
| | | } |
| | |
| | | {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_sort', align: 'center', width: '100px'}, |
| | | { |
| | | title: '状态', field: 'status', align: 'center', width: '100px', |
| | | switch: row => { |
| | |
| | | return result |
| | | } |
| | | }, |
| | | {title: '备注', field: 'remark', align: 'left', width: '250px'}, |
| | | // {title: '备注', field: 'remark', align: 'left', width: '250px'}, |
| | | ], |
| | | // 操作信息 |
| | | operation: { |