From b14bdee1aaf639dd14440b42c6a0ce2e12549ee7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 26 七月 2024 10:38:09 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 0612be0..3dcc862 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -216,8 +216,8 @@
                 fixed
                 label="搴忓彿"
                 align="center"
-                key="patid"
-                prop="patid"
+                key="id"
+                prop="id"
               />
               <el-table-column
                 fixed
@@ -320,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']"
@@ -933,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;
     },
@@ -947,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