src/views/followvisit/tasklist/index.vue
@@ -811,13 +811,21 @@ }, // 删除任务 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) {