From e353f0e17dc46203512dd272c5b559b094e40761 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 25 七月 2025 15:02:36 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/outpatient.vue | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index 69f8809..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="缁撴潫鏃ユ湡"
>
@@ -159,12 +160,12 @@
<el-table-column
label="灏辫瘖鏃堕棿"
align="center"
- key="admindate"
- prop="admindate"
+ key="admitdate"
+ prop="admitdate"
width="160"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.admindate) }}</span>
+ <span>{{ formatTime(scope.row.admitdate) }}</span>
</template>
</el-table-column>
@@ -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