WXL
2025-05-09 65356804e4304ff8d90e7e4079abd71be1a85c59
src/views/followvisit/tasklist/index.vue
@@ -173,9 +173,11 @@
        >
          <template slot-scope="scope">
            <span
              >{{ scope.row.wfs ? scope.row.wfs + scope.row.yfs : "" }}/{{
                scope.row.yfs
              }}</span
              >{{
                scope.row.wfs || scope.row.wfs == 0
                  ? scope.row.wfs + scope.row.yfs
                  : ""
              }}/{{ scope.row.yfs }}</span
            >
          </template>
        </el-table-column>
@@ -528,10 +530,10 @@
          value: "12",
          label: "心电随访",
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        // },
        {
          value: "13",
          label: "专病随访",
        },
      ],
      tasktopic: "2", //新增类型
      activname: "",
@@ -762,8 +764,8 @@
      //   this.taskoptions,
      //   this.tasktopic
      // );
      this.topqueryParams.startOutHospTime = this.dateRange[0];
      this.topqueryParams.endOutHospTime = this.dateRange[1];
      this.topqueryParams.beginTime = this.dateRange[0];
      this.topqueryParams.endTime = this.dateRange[1];
      getTasklist(this.topqueryParams).then((response) => {
        this.userList = response.rows;
        this.total = response.total;
@@ -822,8 +824,15 @@
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.topqueryParams.deptId = undefined;
      this.$refs.tree.setCurrentKey(null);
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        type: 2,
        userName: undefined,
        tagid: undefined,
        topic: undefined,
      };
      // this.$refs.tree.setCurrentKey(null);
      this.handleQuery();
    },
    // 多选框选中数据