WXL
2024-06-03 a85d70fa032f355baa9cafdb2b7350a19cd88741
src/views/followvisit/tasklist/index.vue
@@ -733,16 +733,21 @@
      if (row.sendState != 2) {
        this.TaskOperation.taskId = row.taskid;
        this.TaskOperation.sendState = 2;
        TaskTemplateSendExecution(this.TaskOperation).then((res) => {});
        TaskTemplateSendExecution(this.TaskOperation).then((res) => {
          this.getList();
        });
      }
    },
    // 立即执行
    immediateExecution(row) {
      console.log(row, "任务信息");
      if (row.sendState != 2) {
        this.TaskOperation.taskId = row.taskid;
        this.TaskOperation.sendState = 2;
        this.TaskOperation.sendType = 2;
        TaskTemplateSendExecution(this.TaskOperation).then((res) => {});
        TaskTemplateSendExecution(this.TaskOperation).then((res) => {
          this.getList();
        });
      }
    },
@@ -755,7 +760,9 @@
      if (row.sendState == 2) {
        this.TaskOperation.taskId = row.taskId;
        this.TaskOperation.sendState = 3;
        TaskTemplateSendExecution().then((res) => {});
        TaskTemplateSendExecution().then((res) => {
          this.getList();
        });
      }
    },