yxh
sendo
2025-09-29 c726f0a0d060e4c73af878aaa20bc353dc886852
src/views/patient/propaganda/particty.vue
@@ -480,7 +480,7 @@
                        size="medium"
                        :disabled="!patientqueryParams.allhosp"
                        @click="handleQuery"
                        >新增</el-button
                        >添加患者</el-button
                      >
                    </el-col>
@@ -1683,12 +1683,12 @@
      } else {
        this.patientqueryParams.pids = null;
      }
      // 类型判断
      // 类型判断 yxh修改
      if (this.patientqueryParams.allhosp == 1) {
        this.patientqueryParams.cry = 1;
      } else if (this.patientqueryParams.allhosp == 4) {
        this.patientqueryParams.cry = 0;
        this.patientqueryParams.allhosp = "1";
      //  this.patientqueryParams.cry = 0;
      //  this.patientqueryParams.allhosp = "1";
      }
      // 来源判断
@@ -1798,16 +1798,15 @@
    },
    getList() {},
    handleQuery() {
      console.log("this.patientqueryParams.allhosp",this.patientqueryParams.allhosp);
      if (this.patientqueryParams.topica == 0) {
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leavehospitaldistrictcodes = store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
      } else if (this.patientqueryParams.topica == 1) {
        this.patientqueryParams.leavehospitaldistrictcodes = null;
        this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
      } else if (this.patientqueryParams.topica == 2) {
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leavehospitaldistrictcodes =   store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leaveldeptcodes = null;
      }
      if (
@@ -1821,7 +1820,10 @@
      )
        this.patientqueryParams.leaveldeptcodes = null;
      this.handleAddpatient();
      console.log("this.patientqueryParams.allhosp",this.patientqueryParams.allhosp);
    },
    resetQuerymb() {
      this.topqueryParams = { svyname: "" };
      this.handleQuerymb();