| | |
| | | </div> |
| | | <div class="right"> |
| | | <el-button v-if="task.status == 5" plain @click="handleErr(task)">异常挂起</el-button> |
| | | <el-button v-if="task.status == 8" plain @click="restore(task)">恢复作业</el-button> |
| | | <el-button v-if="task.status == 5 || task.status == 8" plain |
| | | @click="handleTransform(item, task)">转移月台</el-button> |
| | | <el-button v-if="task.status == 4" plain @click="handlePass(task)">过号</el-button> |
| | |
| | | platformMove, |
| | | updUserPlatformConfig, |
| | | |
| | | listByGroupId |
| | | listByGroupId, |
| | | restoreWork |
| | | } from '@/api' |
| | | import PlatformQueuing from './components/PlatformQueuing.vue' |
| | | import WaybillDetail from './components/WaybillDetail.vue' |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | restore(item) { |
| | | this.$confirm('您确认要对该任务进行恢复作业吗', '温馨提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | restoreWork({ jobId: item.id }).then(ress => { |
| | | Message.success('恢复作业成功') |
| | | this.getPlatGroupList() |
| | | }) |
| | | }) |
| | | }, |
| | | platgroupClick(item) { |
| | | this.activeGroup = { ...item } |
| | | this.circulInitTaskList() |