From 4b8f86adc1d9df170ce14606f091f8118f2d7936 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 26 十一月 2024 14:25:49 +0800
Subject: [PATCH] 更新透析记录单

---
 src/views/home/index.vue |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 7584cef..13d4ad7 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 gutter="10">
+        <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>
@@ -112,7 +112,7 @@
                                 <span style="margin-left: 5px">随访记录</span>
                             </span>
                         </template>
-                        <el-empty  description="该功能未开发"></el-empty> 
+                        <!-- <el-empty  description="该功能未开发"></el-empty>  -->
                     </el-tab-pane>
                 </el-tabs>
                 <div class="itemDoby">
@@ -124,6 +124,8 @@
                     </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>
+                    <suifangjilu ref="suifangjiluRef" v-show="state.activeName === '随访记录'" :tableHeight="state.tableHeight.detailRight"></suifangjilu>
 
                 </div>
 
@@ -159,6 +161,10 @@
 import lisUi from './components/lis_.ui.vue'
 // 评估表
 import pinggubiao from './components/pingubiao/index.vue'
+// 方案
+import fangAn from './components/fangAn/index.vue'
+// 随访记录
+import suifangjilu from './components/suifangjilu/index.vue'
 interface User {
     code: string,
     patientName: string
@@ -171,6 +177,8 @@
 const lisUiRef = ref()
 const pinggubiaoRef=ref()
 const dietarySurveyRef=ref()// 膳食调查
+const fangAnRef=ref()
+const suifangjiluRef=ref()
 const state = reactive({
     global: {
         homeChartOne: null,
@@ -260,6 +268,10 @@
         }else if(state.activeName === '营养筛查评估'){
             pinggubiaoRef.value.getData()
            
+        }else if(state.activeName==='方案'){
+            fangAnRef.value.getData()
+        }else if(state.activeName==='随访记录'){
+            suifangjiluRef.value.getData()
         }
     }
 }

--
Gitblit v1.8.0