| | |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | <span>{{ formatTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | }, |
| | | // 删除任务 |
| | | deletefn(row) { |
| | | delTaskInfo(row.taskid).then((res) => { |
| | | console.log(2); |
| | | if (res.code == 200) { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | } |
| | | }); |
| | | this.$modal |
| | | .confirm( |
| | | '是否删除任务名称为"' + |
| | | row.taskName + |
| | | '"的数据项,删除后不可撤回!是否继续' |
| | | ) |
| | | .then(() => { |
| | | delTaskInfo(row.taskid).then((res) => { |
| | | if (res.code == 200) { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | } |
| | | }); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | // 任务发起 |
| | | sponsor(row) { |