WXL
2025-03-12 28f8a2e09386b58ecd64f6a427e04db75971aa32
src/views/patient/patient/hospital.vue
@@ -20,9 +20,17 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
          <el-form-item label="住院号" prop="patid">
          <el-form-item label="患者标签" prop="tagname">
                <el-input
                  v-model="queryParams.tagname"
                  placeholder="输入进行模糊查询"
                  maxlength="30"
                  @keyup.enter.native="handleQuery"
                />
              </el-form-item>
          <el-form-item label="住院号" prop="patno">
            <el-input
              v-model="queryParams.patid"
              v-model="patno"
              placeholder="请输入患者编号"
              clearable
              style="width: 250px"
@@ -429,6 +437,7 @@
        { papersname: "中国港澳居民身份证" },
        { papersname: "中国台湾居民身份证" },
      ],
      patno:null,
      // 表单参数
      form: {
        name: "",
@@ -600,13 +609,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();
    },
    // 多选框选中数据