| | |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | class="j-table-force-nowrap" |
| | | :scroll="{x:'max-content'}" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE' && isShowAuth('eam:secondMaintenance:edit')"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'"> |
| | | <a @click="handleEdit(record)" v-if="isShowAuth('eam:thirdMaintenance:edit')">编辑</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:edit')" /> |
| | | |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)"> |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:thirdMaintenance:collect')"> |
| | | <a>领取</a> |
| | | </a-popconfirm> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:thirdMaintenance:collect')" /> |
| | | |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a-menu-item v-if="isShowAuth('eam:thirdMaintenance:abolish')"> |
| | | <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)"> |
| | | <a>作废</a> |
| | | </a-popconfirm> |
| | |
| | | dataIndex: 'operator_dictText' |
| | | }, |
| | | { |
| | | title: '精度检验人', |
| | | align: 'center', |
| | | dataIndex: 'precisionChecker_dictText' |
| | | }, |
| | | { |
| | | title: '精度检验时间', |
| | | align: 'center', |
| | | dataIndex: 'precisionCheckTime' |
| | | }, |
| | | { |
| | | title: '保养状态', |
| | | align: 'center', |
| | | dataIndex: 'maintenanceStatus_dictText' |
| | |
| | | dataIndex: 'creationMethod_dictText' |
| | | }, |
| | | { |
| | | title: '机动办确认', |
| | | align: 'center', |
| | | dataIndex: 'confirmUser_dictText', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '机动办确认时间', |
| | | align: 'center', |
| | | dataIndex: 'confirmTime', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '机动办意见', |
| | | align: 'center', |
| | | dataIndex: 'confirmComment', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '确认领导', |
| | | align: 'center', |
| | | dataIndex: 'confirmLeader_dictText', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '领导确认时间', |
| | | align: 'center', |
| | | dataIndex: 'leaderConfirmTime', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '领导意见', |
| | | align: 'center', |
| | | dataIndex: 'leaderConfirmComment', |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '备注', |
| | | align: 'center', |
| | | dataIndex: 'remark' |