| | |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | width: 60, |
| | | align: 'center', |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | } |
| | | }, |
| | | { |
| | | title: '序号', |
| | | align: 'center', |
| | | dataIndex: 'itemCode' |
| | | dataIndex: 'itemCode', |
| | | width: 60, |
| | | }, |
| | | { |
| | | title: '部位', |
| | | align: 'center', |
| | | dataIndex: 'itemPart', |
| | | width: 200, |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '保养项', |
| | | align: 'center', |
| | | dataIndex: 'itemName' |
| | | }, |
| | | { |
| | | title: '子项目', |
| | | align: 'center', |
| | | dataIndex: 'subItemName' |
| | | dataIndex: 'itemName', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '保养要求', |
| | | align: 'center', |
| | | dataIndex: 'itemDemand' |
| | | dataIndex: 'itemDemand', |
| | | ellipsis: true, |
| | | } |
| | | ], |
| | | url: { |