| | |
| | | :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:secondMaintenance:edit')">编辑</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:edit')" /> |
| | | |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)"> |
| | | <a-popconfirm title="确定领取吗?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:secondMaintenance:collect')"> |
| | | <a>领取</a> |
| | | </a-popconfirm> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:secondMaintenance:collect')" /> |
| | | |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)"> |
| | | <a-menu-item v-if="isShowAuth('eam:secondMaintenance:abolish')"> |
| | | <a-popconfirm title="确定作废吗?" @confirm="() => handlerAbolish(record.id)" > |
| | | <a>作废</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> |
| | |
| | | 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' |