From b3a2aea77fa35308ca6d235c27798804ce4e2d2a Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 09 一月 2025 14:31:16 +0800
Subject: [PATCH] 34
---
src/views/home/index.vue | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 5053868..8d30a9e 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -46,7 +46,6 @@
<span style="margin-left: 5px">生化数据</span>
</span>
</template>
- <lisUi ref="lisUiRef"></lisUi>
</el-tab-pane>
<el-tab-pane label="用药记录" name="用药记录">
<template #label>
@@ -112,7 +111,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">
@@ -125,6 +124,7 @@
<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>
@@ -162,6 +162,8 @@
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
@@ -175,6 +177,7 @@
const pinggubiaoRef=ref()
const dietarySurveyRef=ref()// 膳食调查
const fangAnRef=ref()
+const suifangjiluRef=ref()
const state = reactive({
global: {
homeChartOne: null,
@@ -223,7 +226,9 @@
age: 0,
patientName: '',
patientGenderText: '',
- patientAvatarIcon: ''
+ patientAvatarIcon: '',
+ clientCode:''
+
})
QueryList(ps).then(res => {
console.log('----------------患者--------')
@@ -264,6 +269,10 @@
}else if(state.activeName === '营养筛查评估'){
pinggubiaoRef.value.getData()
+ }else if(state.activeName==='方案'){
+ fangAnRef.value.getData()
+ }else if(state.activeName==='随访记录'){
+ suifangjiluRef.value.getData()
}
}
}
@@ -282,8 +291,8 @@
}
.el-table__body tr.current-row>td.el-table__cell {
- background: #E4F6DE;
- color: #5FCD00;
+ background: rgb(197.7, 225.9, 255);
+ color: #409EFF;
/* height: 25px; */
/* border: tomato solid 1px; */
}
@@ -329,7 +338,6 @@
right: 30px;
width: 200px;
height: 100px;
- background-color: #ffffff;
color: rgb(16, 3, 3);
padding: 10px;
z-index: 999;
--
Gitblit v1.8.0