From ee31f47ffb5be16aa79fdd46733e79d16df6cd8c Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 26 二月 2025 16:13:44 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/hospital.vue | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue index 41fe57a..0a68128 100644 --- a/src/views/patient/patient/hospital.vue +++ b/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" @@ -77,7 +77,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="primary" plain @@ -87,8 +87,8 @@ v-hasPermi="['system:user:add']" >鏂板</el-button > - </el-col> - <el-col :span="1.5"> + </el-col> --> + <!-- <el-col :span="1.5"> <el-button type="success" plain @@ -99,7 +99,7 @@ v-hasPermi="['system:user:edit']" >淇敼</el-button > - </el-col> + </el-col> --> <el-col :span="1.5"> <el-button type="danger" @@ -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(); }, // 澶氶�夋閫変腑鏁版嵁 -- Gitblit v1.9.3