WXL
2025-03-27 2daa54cc53396fb5f5b64a6b0a5b5c814b2bae2d
src/views/followvisit/discharge/index.vue
@@ -953,6 +953,16 @@
          label: "已完成",
        },
      ],
      sextype: [
        {
          value: 1,
          label: "男",
        },
        {
          value: 2,
          label: "女",
        },
      ],
      topicoptionsyj: [
        {
          value: 1,
@@ -963,6 +973,7 @@
          label: "正常",
        },
      ],
      amendtag:false,
      errtype: "",
      leavehospitaldistrictcode: "",
      serviceState: [],
@@ -1006,10 +1017,16 @@
    /** 查询随访服务列表 */
    getList(refresh) {
      // 默认全部
      console.log(this.topqueryParams,'topqueryParams');
      console.log(store.getters.belongDepts,'store.getters.belongDepts');
      if (this.topqueryParams.searchscope == 3) {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
      console.log('3');
        this.topqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
@@ -1192,11 +1209,14 @@
        this.topqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      console.log('1');
      this.topqueryParams.pageNum = 1;
      this.topqueryParams.startOutHospTime = this.dateRange[0];
      this.topqueryParams.endOutHospTime = this.dateRange[1];
      this.topqueryParams.startSendDateTime = this.dateRangefs[0];
      this.topqueryParams.endSendDateTime = this.dateRangefs[1];
      console.log('2');
      this.getList(refresh);
    },
    // 患者范围处理