From 3c8f8f2102986cc01cb13c8e9bb791a32bff4e1e Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 22 十一月 2024 12:32:50 +0800
Subject: [PATCH] 更新

---
 src/views/home/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index f329e9f..5053868 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1,6 +1,6 @@
 <template>
     <div class="home-container layout-pd ">
-        <el-row>
+        <el-row :gutter="10">
             <el-col class="patTabel" :xs="6" :sm="6" :md="4" :lg="3" :xl="3" v-if="state.isTable">
                 <el-table :data="state.filterTableData" stripe :height="state.tableHeight.left" size="default"
                     highlight-current-row @current-change="handleCurrentChange" style="width: 100%">
@@ -101,7 +101,7 @@
                                 <span style="margin-left: 5px">方案</span>
                             </span>
                         </template>
-                        <el-empty  description="该功能未开发"></el-empty> 
+                        <!-- <el-empty  description="该功能未开发"></el-empty>  -->
                     </el-tab-pane>
                     <el-tab-pane label="随访记录" name="随访记录">
                         <template #label>
@@ -124,6 +124,7 @@
                     </MedicationRecords>
                     <dietarySurvey ref="dietarySurveyRef" v-show="state.activeName === '膳食调查'"  :tableHeight="state.tableHeight.detailRight"></dietarySurvey>
                     <pinggubiao ref="pinggubiaoRef" v-show="state.activeName === '营养筛查评估'"  :tableHeight="state.tableHeight.detailRight"></pinggubiao>
+                    <fangAn ref="fangAnRef" v-show="state.activeName === '方案'"  :tableHeight="state.tableHeight.detailRight"></fangAn>
 
                 </div>
 
@@ -159,6 +160,8 @@
 import lisUi from './components/lis_.ui.vue'
 // 评估表
 import pinggubiao from './components/pingubiao/index.vue'
+// 方案
+import fangAn from './components/fangAn/index.vue'
 interface User {
     code: string,
     patientName: string
@@ -171,6 +174,7 @@
 const lisUiRef = ref()
 const pinggubiaoRef=ref()
 const dietarySurveyRef=ref()// 膳食调查
+const fangAnRef=ref()
 const state = reactive({
     global: {
         homeChartOne: null,
@@ -196,6 +200,7 @@
         currentRow.value = val
         //缓存到vuex 中
         storesPat.setPatientsInfo(val)
+        console.log(val)
         getTabsData()
     }
 }

--
Gitblit v1.8.0