WXL
2024-07-04 0700456fd5717931c424c2e46552561716f1eb81
src/views/followvisit/tasklist/index.vue
@@ -755,23 +755,38 @@
          path: "/followvisit/QuestionnaireTask",
          query: { type: 2, typename: typename },
        });
      } else if (this.tasktopic == 1) {
        this.$router.push({
          path: "/followvisit/Missioncreation",
          query: { type: 3, typename: typename },
        });
      }
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.$router.push({
        path: "/followvisit/particty",
        query: { type: this.tasktopic, id: row.taskid },
      });
      if (this.tasktopic == 1 || this.tasktopic == 2 || this.tasktopic == 3) {
      // this.$router.push({
      //   path: "/followvisit/particty",
      //   query: { type: this.tasktopic, id: row.taskid },
      // });
      if (
        this.tasktopic == 2 ||
        this.tasktopic == 3 ||
        this.tasktopic == 4 ||
        this.tasktopic == 5
      ) {
        this.$router.push({
          path: "/followvisit/particty",
          query: { type: this.tasktopic, id: row.taskid },
          query: { type: 1, id: row.taskid },
        });
      } else if (this.tasktopic == 6) {
        this.$router.push({
          path: "/followvisit/QuestionnaireTask",
          query: { type: this.tasktopic, id: row.taskid },
          query: { type: 2, id: row.taskid },
        });
      } else if (this.tasktopic == 1) {
        this.$router.push({
          path: "/followvisit/Missioncreation",
          query: { type: 3, id: row.taskid },
        });
      }
    },