WXL
9 天以前 98b9fdc80abc60b5e57370328ea51cf06365bab0
src/views/patient/patient/behospitalized.vue
@@ -27,9 +27,9 @@
                  @keyup.enter.native="handleQuery"
                />
              </el-form-item>
          <el-form-item label="住院号" prop="patid">
          <el-form-item label="患者编号" prop="patid">
            <el-input
              v-model="queryParams.patid"
              v-model="queryParams.patno"
              placeholder="请输入患者编号"
              clearable
              @keyup.enter.native="handleQuery"
@@ -147,7 +147,7 @@
          </el-table-column>
          <el-table-column
            label="住院号"
            label="患者编号"
            align="center"
            key="patno"
            prop="patno"
@@ -205,8 +205,8 @@
          <el-table-column
            label="病区"
            align="center"
            key="leavehospitaldistrictname"
            prop="leavehospitaldistrictname"
            key="hospitaldistrictname"
            prop="hospitaldistrictname"
            width="120"
          />
          <el-table-column
@@ -555,19 +555,19 @@
    getList() {
      this.loading = true;
      if (this.queryParams.searchscope == 1) {
        this.queryParams.leaveldeptcodes = store.getters.belongDepts.map(
        this.queryParams.deptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.queryParams.leavehospitaldistrictcodes=null;
        this.queryParams.hospitaldistrictcodes=null;
      } else if (this.queryParams.searchscope == 2) {
        this.queryParams.leavehospitaldistrictcodes =
        this.queryParams.hospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
          this.queryParams.leaveldeptcodes=null;
          this.queryParams.deptcodes=null;
      } else {
        this.queryParams.leaveldeptcodes = store.getters.belongDepts.map(
        this.queryParams.deptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.queryParams.leavehospitaldistrictcodes =
        this.queryParams.hospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      listpatient(this.queryParams).then((response) => {