From 400d13ddc80a7560860939f65b318b2fa78f9004 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期日, 27 四月 2025 15:49:56 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/outpatient.vue | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue index b554ba7..d317a51 100644 --- a/src/views/patient/patient/outpatient.vue +++ b/src/views/patient/patient/outpatient.vue @@ -20,10 +20,10 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item label="闂ㄨ瘖鍙�" prop="outhospno"> + <el-form-item label="鐥呮鍙�" prop="outhospno"> <el-input v-model="queryParams.outhospno" - placeholder="璇疯緭鍏ラ棬璇婂彿" + placeholder="璇疯緭鍏ョ梾妗堝彿" clearable style="width: 250px" @keyup.enter.native="handleQuery" @@ -177,14 +177,14 @@ <span>{{ formatTime(scope.row.admitdate) }}</span> </template> </el-table-column> - <el-table-column + <!-- <el-table-column label="鐥呮鍙�" align="center" key="patno" prop="patno" - /> + /> --> <el-table-column - label="闂ㄨ瘖鍙�" + label="鐥呮鍙�" align="center" key="outhospno" prop="outhospno" @@ -649,8 +649,13 @@ this.queryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); } - this.queryParams.beginTime = this.dateRange[0]; - this.queryParams.endTime = this.dateRange[1]; + if (this.dateRange) { + this.queryParams.beginTime = this.dateRange[0]; + this.queryParams.endTime = this.dateRange[1]; + }else{ + this.queryParams.beginTime = ''; + this.queryParams.endTime = ''; + } listPatouthosp(this.queryParams).then((response) => { this.userList = response.rows; this.total = response.total; @@ -755,10 +760,14 @@ resetQuery() { this.dateRange = []; this.resetForm("queryForm"); - (this.queryParams = { + this.queryParams = { pageNum: 1, pageSize: 10, - }), + searchscope: 3, + scopetype: [], + leaveldeptcodes: [], + leavehospitaldistrictcodes: [], + }; this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 -- Gitblit v1.9.3