| | |
| | | </a-row> |
| | | </a-card> |
| | | <a-row :gutter="16"> |
| | | <!-- 备件寿命预测 --> |
| | | <!-- 部件寿命预测 --> |
| | | <a-col :span="12"> |
| | | <a-card title="备件寿命预测" class="mb-4"> |
| | | <a-card title="部件寿命预测" class="mb-4"> |
| | | <a-table |
| | | :columns="sparePartColumns" |
| | | :data-source="sparePartData" |
| | |
| | | dataIndex: 'suggestedTime', |
| | | key: 'suggestedTime' |
| | | }, |
| | | { |
| | | title: '紧急程度', |
| | | dataIndex: 'urgency', |
| | | key: 'urgency' |
| | | }, |
| | | { |
| | | title: '操作', |
| | | key: 'action', |
| | | slots: { customRender: 'action' } |
| | | }, |
| | | |
| | | { |
| | | title: '紧急程度', |
| | | dataIndex: 'urgency', |
| | |
| | | |
| | | const sparePartColumns = [ |
| | | { |
| | | title: '备件名称', |
| | | title: '部件名称', |
| | | dataIndex: 'name', |
| | | key: 'name' |
| | | }, |