| | |
| | | ><i class="el-icon-s-promotion"></i>任务发起</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | v-if="scope.row.sendState == 1 || scope.row.sendState == 3" |
| | | size="medium" |
| | | type="text" |
| | | @click="immediateExecution(scope.row)" |
| | | ><span class="button-lj" |
| | | ><i class="el-icon-s-promotion"></i>立即执行</span |
| | | ></el-button |
| | | > |
| | | |
| | | <el-button size="medium" type="text" @click="newAdd(scope.row)" |
| | | ><span class="button-xj" |
| | | ><i class="el-icon-circle-plus-outline"></i>依照新增</span |
| | | ><i class="el-icon-circle-plus-outline"></i>任务终止</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | |
| | | width="50%" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-tabs type="border-card" v-model="activname"> |
| | | <el-tab-pane> |
| | | <span slot="label"><i class="el-icon-date"></i> 正常发起</span> |
| | | <div style="font-size: 20px; color: red; margin-bottom: 20px"> |
| | | 请确认任务"{{ taskform.taskName }}"的执行时间 |
| | | </div> |
| | |
| | | {{ taskform.showTimeNoon[1] }}</span |
| | | > |
| | | </div> |
| | | <div style="text-align: right"> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="立即执行"> |
| | | <div style="font-size: 20px; color: red; margin-bottom: 20px"> |
| | | 此操作将立即发起并执行任务:{{ taskform.taskName }},请谨慎操作! |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <div style="text-align: right; margin: 20px 0"> |
| | | <el-button style="margin-right: 20px" @click="taskformVisible = false" |
| | | >取 消</el-button |
| | | > |
| | |
| | | }, |
| | | ], |
| | | tasktopic: "2", //新增类型 |
| | | activname: "", |
| | | value: [], |
| | | list: [], |
| | | loading: false, |
| | |
| | | }, |
| | | // 确认发起 |
| | | confirmSponsor(row) { |
| | | if (this.activname == 0) { |
| | | this.TaskOperation.taskId = row.taskid; |
| | | this.TaskOperation.sendState = 2; |
| | | TaskTemplateSendExecution(this.TaskOperation).then((res) => { |
| | |
| | | this.getList(); |
| | | } |
| | | }); |
| | | } else if (this.activname == 1) { |
| | | this.immediateExecution(row); |
| | | } |
| | | }, |
| | | |
| | | // 立即执行 |