WXL
2024-06-03 a85d70fa032f355baa9cafdb2b7350a19cd88741
测试完成
已修改2个文件
19 ■■■■■ 文件已修改
src/views/followvisit/tasklist/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();
        });
      }
    },
src/views/patient/propaganda/particty.vue
@@ -859,7 +859,6 @@
      tasktopic: null, //新增类型
      SelectPatientslist: [],
      form: {
        serviceform: [],
        patTaskRelevances: [],
        sendType: 1,
        templatename: "",
@@ -985,7 +984,7 @@
    },
    // 保存
    submitForm(formName) {
      this.form.serviceform = this.checkList.join(",");
      // this.form.serviceform = this.checkList.join(",");
      this.form.hospType = this.currenttype;
      const filteredArray = this.variableList.filter(
        (item) =>
@@ -1184,7 +1183,7 @@
          if (res.code == 200) {
            this.form = res.data;
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.serviceform.split(",");
            // this.checkList = this.form.serviceform.split(",");
            this.daytime = this.form.showDate.split(",");
            if (this.form.showTimeMorn)
              this.time1 = this.form.showTimeMorn.split(",");
@@ -1192,6 +1191,7 @@
              this.time2 = this.form.showTimeNoon.split(",");
            if (this.form.showTimeNight)
              this.time3 = this.form.showTimeNight.split(",");
            console.log(1122);
            filteredArray = this.convertFormat1ToFormat2(this.form.textParam);
            console.log(filteredArray, "filteredArray");
            this.variableList = this.transitionList.concat(filteredArray);