From 9f4da363a401c3624fa57a87fb50193b59bc6a35 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 24 七月 2024 10:28:32 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 8d87872..3dcc862 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -12,6 +12,7 @@
v-model="queryParams.allhosp"
@tab-click="handleClick"
>
+ <el-tab-pane label="鎮h�呭垪琛�" name="0"></el-tab-pane>
<el-tab-pane label="浣忛櫌鎮h��" name="1"></el-tab-pane>
<el-tab-pane label="闂ㄨ瘖鎮h��" name="2"></el-tab-pane>
<el-tab-pane label="浣撴鎮h��" name="3"></el-tab-pane>
@@ -215,8 +216,8 @@
fixed
label="搴忓彿"
align="center"
- key="patid"
- prop="patid"
+ key="id"
+ prop="id"
/>
<el-table-column
fixed
@@ -319,7 +320,7 @@
@click="
$router.push({
path: '/patient/patient/profile/',
- query: { id: scope.row.patid },
+ query: { id: scope.row.id },
})
"
v-hasPermi="['system:user:edit']"
@@ -791,7 +792,7 @@
// 鏌ヨ鍙傛暟
queryParams: {
pageNum: 1,
- allhosp: "1",
+ allhosp: "0",
pageSize: 10,
idcardno: undefined,
name: undefined,
@@ -932,7 +933,7 @@
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.patid);
+ this.ids = selection.map((item) => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -946,7 +947,7 @@
/** 淇敼鎸夐挳鎿嶄綔 */
handleUpdate(row) {
console.log(row);
- const userIds = row.patid || this.ids;
+ const userIds = row.id || this.ids;
particularpatient(userIds).then((response) => {
console.log(response);
this.form = response.data;
--
Gitblit v1.9.3