WXL (wul)
2025-11-14 74d682137078861e9ca0997fd0414fa906cba1d4
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"
            >
@@ -253,6 +253,7 @@
              ><span class="button-xj">依照新增</span></el-button
            >
            <el-button
              v-if="scope.row.sendState != 5"
              size="medium"
              type="text"
              @click="handleAddpatient(scope.row.taskid, scope.row.type)"
@@ -583,7 +584,7 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        type: 2,
        type: 1,
        userName: undefined,
        tagid: undefined,
        topic: undefined,
@@ -649,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;
@@ -678,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,
@@ -689,7 +691,8 @@
            label: "问卷随访",
          },
        ];
        this.topqueryParams.type = 2;
        // 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 = [
@@ -699,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,
@@ -715,7 +718,7 @@
            label: "宣教关怀",
          },
        ];
        this.topqueryParams.type = 2;
        // this.topqueryParams.type = 2;
      }
      this.topqueryParams.beginTime = this.dateRange[0];
      this.topqueryParams.endTime = this.dateRange[1];
@@ -770,6 +773,8 @@
      this.getList();
    },
    handleQuery() {
      console.log(this.topqueryParams.type);
      this.topqueryParams.pageNum = 1;
      this.getList();
    },