| | |
| | | this.selectionRows = selectionRows |
| | | this.planId = this.selectedRowKeys[0] |
| | | this.equipmentId = selectionRows[0].equipment_id |
| | | this.isAdd = true |
| | | this.isAdd = selectionRows[0].status=='1'; |
| | | this.isDel = selectionRows[0].status=='1'; |
| | | this.isEdit = selectionRows[0].status=='1'; |
| | | |
| | | }, |
| | | |
| | | onChange(e) { |
| | |
| | | |
| | | showModals(oldSelectRows) { |
| | | this.oldSelectRows = oldSelectRows |
| | | this.selectionRows = []; |
| | | this.visible = true |
| | | this.loadData(1) |
| | | }, |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="maintenanceStandardId !='' && isAdd " |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="maintenanceStandardId !='' && isAdd " |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="maintenanceStandardId !='' && isAdd " |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | } |
| | | ], |
| | | url: { |
| | | list: "/eam/repairOrder/pageRepairOrderDetailByMainId", |
| | | list: "/eam/repairOrder/listRepairOrderDetailByMainId", |
| | | delete: "/eam/repairOrder/deleteRepairOrderDetail", |
| | | deleteBatch: "/eam/repairOrder/deleteBatchRepairOrderDetail", |
| | | exportXlsUrl: "/eam/repairOrder/exportRepairOrderDetail", |
| | |
| | | }, |
| | | ], |
| | | url: { |
| | | list: "/eam/repairOrder/pageRepairOrderDetailByMainId", |
| | | list: "/eam/repairOrder/listRepairOrderDetailByMainId", |
| | | delete: "/eam/repairOrder/deleteRepairOrderDetail", |
| | | deleteBatch: "/eam/repairOrder/deleteBatchRepairOrderDetail", |
| | | exportXlsUrl: "/eam/repairOrder/exportRepairOrderDetail", |
| | |
| | | @click="handleDownload(record)" |
| | | >下载</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <!-- <a-divider type="vertical" /> |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | | </a-popconfirm> --> |
| | | |
| | | </span> |
| | | </a-table> |
| | |
| | | scopedSlots: { customRender: 'size' }, |
| | | width:200 |
| | | }, |
| | | { |
| | | title: '操作', |
| | | align: 'center', |
| | | dataIndex: 'action', |
| | | scopedSlots: { |
| | | customRender: 'action' |
| | | }, |
| | | width:200 |
| | | } |
| | | ], |
| | | url: { |
| | | list: "/eam/maintenanceStandardWorkInstruction/getMaintenanceStandardWorkInstructionList", |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="planId != '' && isDel" |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="planId != '' && isAdd " |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-if="planId != '' && isAdd " |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |