WXL (wul)
2025-11-13 de147dda682f8ac597bbcc8555b57acbdf45dba2
src/views/followvisit/tasklist/index.vue
@@ -90,7 +90,7 @@
          >
            <el-option
              v-for="item in longtermlist"
              :key="item.value"
              :key="item.label"
              :label="item.label"
              :value="item.value"
            >
@@ -584,7 +584,7 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        type: 2,
        type: 1,
        userName: undefined,
        tagid: undefined,
        topic: undefined,
@@ -650,6 +650,7 @@
    this.tasktopic = this.$route.query.tasktopic
      ? this.$route.query.tasktopic
      : this.tasktopic;
    this.tasktopic = Number(this.tasktopic);
    this.getList();
    this.getConfigKey("sys.user.initPassword").then((response) => {
      this.initPassword = response.msg;
@@ -679,7 +680,7 @@
        this.tasktopic == 5 ||
        this.tasktopic == 6
      ) {
        if (!this.topqueryParams.type) this.topqueryParams.type = "2";
        if (!this.topqueryParams.type) this.topqueryParams.type = 1;
        this.longtermlist = [
          {
            value: 1,
@@ -691,6 +692,7 @@
          },
        ];
        // this.topqueryParams.type = 2;
        // this.topqueryParams.type = 2;
      } else if (this.tasktopic == 4 || this.tasktopic == 8) {
        if (!this.topqueryParams.type) this.topqueryParams.type = "3";
        this.longtermlist = [
@@ -700,8 +702,8 @@
          },
        ];
        this.topqueryParams.type = 3;
      } else if (this.tasktopic == 16) {
        if (!this.topqueryParams.type) this.topqueryParams.type = "2";
      } else if (this.tasktopic == 5) {
        if (!this.topqueryParams.type) this.topqueryParams.type = "1";
        this.longtermlist = [
          {
            value: 1,
@@ -771,6 +773,8 @@
      this.getList();
    },
    handleQuery() {
      console.log(this.topqueryParams.type);
      this.topqueryParams.pageNum = 1;
      this.getList();
    },