WXL
2024-06-01 48f86b37392f856f322fad02fc97c6e58a2e9719
src/views/followvisit/tasklist/index.vue
@@ -387,6 +387,7 @@
      inputVisible: false,
      inputValue: "",
      previewVisible: false, //门诊随访预览弹框
      TaskOperation: {},
      radio: "",
      radios: [],
      previewtype: 2, //预览门诊随访类型
@@ -715,8 +716,11 @@
    deletefn() {},
    // 任务发起
    sponsor(row) {
      if (row.sendState != 1) {
        TaskTemplateSendExecution().then((res) => {});
      console.log(row,'任务信息');
      if (row.sendState != 2) {
        this.TaskOperation.taskId = row.taskid;
        this.TaskOperation.sendState = 2;
        TaskTemplateSendExecution(this.TaskOperation).then((res) => {});
      }
    },
    // 依照新增
@@ -725,7 +729,9 @@
    },
    // 暂停
    stop(row) {
      if (row.sendState == 2 || row.sendState == 3) {
      if (row.sendState == 2) {
        this.TaskOperation.taskId = row.taskId;
        this.TaskOperation.sendState = 3;
        TaskTemplateSendExecution().then((res) => {});
      }
    },