WXL
2025-02-26 84b1d28d489aae3270ea0d34032e6aa3eb818883
src/views/patient/patient/hospital.vue
@@ -20,9 +20,9 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
          <el-form-item label="住院号" prop="patid">
          <el-form-item label="住院号" prop="patno">
            <el-input
              v-model="queryParams.patid"
              v-model="patno"
              placeholder="请输入患者编号"
              clearable
              style="width: 250px"
@@ -429,6 +429,7 @@
        { papersname: "中国港澳居民身份证" },
        { papersname: "中国台湾居民身份证" },
      ],
      patno:null,
      // 表单参数
      form: {
        name: "",
@@ -600,13 +601,22 @@
      this.queryParams.startOutHospTime = this.dateRange[0];
      this.queryParams.endOutHospTime = this.dateRange[1];
      this.queryParams.pageNum = 1;
      if (this.patno) {
      this.queryParams.patno = this.patno;
      }
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.$refs.tree.setCurrentKey(null);
      this.queryParams= {
        pageNum: 1,
        pageSize: 10,
        cry: 1,
        searchscope:2,
      },
      this.patno=null;
      this.handleQuery();
    },
    // 多选框选中数据