| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | { title: '编号', field: 'code', align: 'center', width: '100px' }, |
| | | { title: '部门', field: 'name', align: 'left' }, |
| | | { title: '顺序号', field: 'orderNum', align: 'left' }, |
| | | { title: '备注', field: 'remark', align: 'left', width: '200px' }, |
| | | { title: '编号', field: 'code', align: 'center', width: 80 }, |
| | | { title: '部门', field: 'name', align: 'left', minWidth: 200 }, |
| | | { title: '顺序号', field: 'orderNum', align: 'center', width: 100 }, |
| | | { title: '备注', field: 'remark', align: 'left', minWidth: 200 }, |
| | | { |
| | | title: '状态', |
| | | field: 'status', |
| | | align: 'center', |
| | | width: '180px', |
| | | width: 100, |
| | | formatter: (row) => { |
| | | return { value: row.status === 0 ? '启用' : '禁用' }; |
| | | }, |
| | |
| | | ], |
| | | // 操作信息 |
| | | operation: { |
| | | width: 150, |
| | | width: 100, |
| | | align: 'center', |
| | | show: true, // 显示操作列 |
| | | attr: [ |