From 1b7eb0871a246af9c6dc64f2fa25348831fe0073 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 09 八月 2024 18:35:25 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/index.vue |   39 ++++++++++++++++++++++++---------------
 1 files changed, 24 insertions(+), 15 deletions(-)

diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index c55f71a..d248b18 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -25,8 +25,11 @@
       <div>
         <el-row :gutter="10">
           <el-col :span="2.5" v-for="(item, index) in cardlist" :key="index">
-            <el-card shadow="hover">
-              <div style="padding: 8px">
+            <el-card
+              shadow="hover"
+              :body-style="item.router ? ' cursor: pointer' : 'cursor: default'"
+            >
+              <div style="padding: 8px" @click="$router.push(item.router)">
                 <span>{{ item.name }}</span>
                 <div
                   style="
@@ -315,10 +318,10 @@
                     "
                     v-hasPermi="['system:user:edit']"
                     ><span class="button-textsc"
-                      ><i class="el-icon-zoom-in"></i>鏌ョ湅</span
+                      ><i class="el-icon-zoom-in"></i>璇︽儏缂栬緫</span
                     ></el-button
                   >
-                  <el-button
+                  <!-- <el-button
                     size="medium"
                     type="text"
                     @click="handleUpdate(scope.row)"
@@ -326,7 +329,7 @@
                     ><span class="button-textxga"
                       ><i class="el-icon-edit"></i>淇敼</span
                     ></el-button
-                  >
+                  > -->
                   <el-button
                     size="medium"
                     type="text"
@@ -627,14 +630,16 @@
     </el-dialog>
     <!-- 璺宠浆鏈嶅姟瀵硅瘽妗� -->
     <el-dialog title="閫夋嫨鏈嶅姟绫诲瀷" :visible.sync="serviceVisible">
-      <el-radio-group v-model="serviceradio">
-        <el-radio :label="1">瀹f暀闅忚</el-radio>
-        <el-radio :label="2">闂ㄨ瘖鏈嶅姟</el-radio>
-        <el-radio :label="3">鍑洪櫌鏈嶅姟</el-radio>
-        <el-radio :label="4">澶嶈瘖鏈嶅姟</el-radio>
-        <el-radio :label="5">浣撴閫氱煡</el-radio>
-        <el-radio :label="6">闂嵎鏈嶅姟</el-radio>
-      </el-radio-group>
+      <el-card class="box-card">
+        <el-radio-group v-model="serviceradio">
+          <el-radio :label="1">瀹f暀闅忚</el-radio>
+          <el-radio :label="2">闂ㄨ瘖鏈嶅姟</el-radio>
+          <el-radio :label="3">鍑洪櫌鏈嶅姟</el-radio>
+          <el-radio :label="4">澶嶈瘖鏈嶅姟</el-radio>
+          <el-radio :label="5">浣撴閫氱煡</el-radio>
+          <el-radio :label="6">闂嵎鏈嶅姟</el-radio>
+        </el-radio-group>
+      </el-card>
       <div slot="footer" class="dialog-footer">
         <el-button @click="serviceVisible = false">鍙� 娑�</el-button>
         <el-button type="primary" @click="CreateService">鍒涘缓鏈嶅姟</el-button>
@@ -734,14 +739,17 @@
         {
           name: "鍦ㄩ櫌鎮h��",
           value: 23,
+          router: "/patient/inpatient",
         },
         {
-          name: "绂婚櫌鎮h��",
+          name: "鍑洪櫌鎮h��",
           value: 41,
+          router: "/patient/hospital",
         },
         {
-          name: "璇婄枟鎮h��",
+          name: "闂ㄨ瘖鎮h��",
           value: 56,
+          router: "/patient/outpatient",
         },
         {
           name: "绂讳笘鎮h��",
@@ -1125,6 +1133,7 @@
 }
 ::v-deep.leftvlue .el-card__body:hover {
   background: #8dc8f8;
+  cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }
 .leftvlue {
   width: 80%;

--
Gitblit v1.9.3