| | |
| | | :pagination="ipagination" :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange" |
| | | :scroll="{x:'max-content'}"> |
| | | |
| | | <!--使用部门--> |
| | | <template slot="factoryOrgCode" slot-scope="text,record"> |
| | | {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.repairStatus=='PENDING_REPAIR'||record.repairStatus=='UNDER_MAINTENANCE' ||record.repairStatus=='REJECTED'"> |
| | | <a-popconfirm v-if="record.claimStatus=='0' || record.claimStatus==null " title="确定提交吗?" @confirm="() => handleClaim(record.id)"> |
| | |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '使用部门', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'factoryOrgCode' }, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '维修状态', |
| | | align: 'center', |
| | | dataIndex: 'repairStatus_dictText', |
| | |
| | | dataIndex: 'reportPerson_dictText', |
| | | }, |
| | | { |
| | | title: '故障开始时间', |
| | | align: 'center', |
| | | dataIndex: 'faultStartTime', |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '维修开始时间', |
| | | align: 'center', |
| | | dataIndex: 'actualStartTime', |
| | |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '维修时长', |
| | | title: '维修时长(小时)', |
| | | align: 'center', |
| | | dataIndex: 'repairDuration', |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '故障时长', |
| | | title: '故障时长(小时)', |
| | | align: 'center', |
| | | dataIndex: 'faultDuration', |
| | | width: 200 |