From 510b43356f18aa5be351a0990c7cdc1d4478b5e7 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 09 七月 2025 14:27:00 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/outpatient.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue index 4a0139f..465026d 100644 --- a/src/views/patient/patient/outpatient.vue +++ b/src/views/patient/patient/outpatient.vue @@ -20,9 +20,9 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item label="鎮h�呯紪鍙�" prop="patid"> + <el-form-item label="鎮h�呯紪鍙�" prop="patno"> <el-input - v-model="queryParams.patid" + v-model="queryParams.patno" placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�" clearable style="width: 250px" @@ -55,6 +55,7 @@ v-model="pickertime" type="daterange" range-separator="鑷�" + value-format="yyyy-MM-dd" start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" > @@ -255,7 +256,7 @@ @click=" $router.push({ path: '/patient/patient/profile/', - query: { id: scope.row.patid }, + query: { id: scope.row.patno }, }) " v-hasPermi="['system:user:edit']" @@ -603,8 +604,8 @@ /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery() { this.queryParams.pageNum = 1; - this.queryParams.starttime=pickertime[0]; - this.queryParams.endtime=pickertime[1]; + this.queryParams.starttime=this.pickertime[0]; + this.queryParams.endtime=this.pickertime[1]; this.getList(); }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ @@ -618,7 +619,7 @@ }, // 澶氶�夋閫変腑鏁版嵁 handleSelectionChange(selection) { - this.ids = selection.map((item) => item.patid); + this.ids = selection.map((item) => item.patno); this.single = selection.length != 1; this.multiple = !selection.length; }, @@ -632,7 +633,7 @@ /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { console.log(row); - const userIds = row.patid || this.ids; + const userIds = row.patno || this.ids; particularpatient(userIds).then((response) => { console.log(response); this.form = response.data; -- Gitblit v1.9.3