| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-col> |
| | | <el-col :xs="6" :sm="18" :md="20" :lg="21" :xl="21" > |
| | | <el-col :xs="18" :sm="18" :md="20" :lg="21" :xl="21" > |
| | | <el-tabs v-model="state.activeName" class="demo-tabs" @tab-click="handleClick"> |
| | | <el-tab-pane label="患者档案" name="患者档案"> |
| | | <template #label> |
| | |
| | | <span style="margin-left: 5px">营养筛查评估</span> |
| | | </span> |
| | | </template> |
| | | Task |
| | | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="方案" name="方案"> |
| | | <template #label> |
| | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <div class="itemDoby"> |
| | | <patientFile v-if="state.activeName === '患者档案'" :tableHeight="state.tableHeight.detailRight" |
| | | <patientFile v-show="state.activeName === '患者档案'" :tableHeight="state.tableHeight.detailRight" |
| | | ref="patientFileRef" /> |
| | | <lisUi v-if="state.activeName === '生化数据'" ref="lisUiRef"> |
| | | <lisUi v-show="state.activeName === '生化数据'" ref="lisUiRef"> |
| | | </lisUi> |
| | | <MedicationRecords v-if="state.activeName === '用药记录'" :tableHeight="state.tableHeight.detailRight" ref="MedicationRecordsRef"> |
| | | <MedicationRecords v-show="state.activeName === '用药记录'" :tableHeight="state.tableHeight.detailRight" ref="MedicationRecordsRef"> |
| | | </MedicationRecords> |
| | | <dietarySurvey ref="dietarySurveyRef" v-if="state.activeName === '膳食调查'" :tableHeight="state.tableHeight.detailRight"></dietarySurvey> |
| | | <dietarySurvey ref="dietarySurveyRef" v-show="state.activeName === '膳食调查'" :tableHeight="state.tableHeight.detailRight"></dietarySurvey> |
| | | <pinggubiao ref="pinggubiaoRef" v-show="state.activeName === '营养筛查评估'" :tableHeight="state.tableHeight.detailRight"></pinggubiao> |
| | | |
| | | </div> |
| | | |
| | |
| | | import patientFile from './components/patient_file.vue' |
| | | // 化验结果 |
| | | import lisUi from './components/lis_.ui.vue' |
| | | // 评估表 |
| | | import pinggubiao from './components/pingubiao/index.vue' |
| | | interface User { |
| | | code: string, |
| | | patientName: string |
| | |
| | | const patientFileRef = ref() |
| | | const currentRow = ref() |
| | | const lisUiRef = ref() |
| | | const pinggubiaoRef=ref() |
| | | const dietarySurveyRef=ref()// 膳食调查 |
| | | const state = reactive({ |
| | | global: { |
| | |
| | | } else if(state.activeName === '膳食调查'){ |
| | | dietarySurveyRef.value.getData() |
| | | |
| | | }else if(state.activeName === '营养筛查评估'){ |
| | | pinggubiaoRef.value.getData() |
| | | |
| | | } |
| | | } |
| | | } |