chenyc
2025-03-04 3a4602d8286f09ce2f7812dea697995e2a9487cf
gx样式
13个文件已修改
70 ■■■■■ 已修改文件
.env.development 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/editDietary.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/editDietary2.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/fangAn/editDietary.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/jilubiao/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/pingubiao/editDietary.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/pingubiao/editDietary2.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/pingubiao/editDietary3.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/pingubiao/editDietary4.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/pingubiao/editDietary5.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/shiwuguoming/editDietary.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/suifangjilu/editDietary.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -2,5 +2,5 @@
ENV = development
# 本地环境接口地址
VITE_API_URL = 'http://testbs.ihemodialysis.com/'
# VITE_API_URL = 'https://hemobs.icoldchain.cn/'
# VITE_API_URL = 'http://testbs.ihemodialysis.com/'
VITE_API_URL = 'https://hemobs.icoldchain.cn/'
src/views/home/components/editDietary.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="膳食生活调查22表" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div  style="width: 100%; height: 100%;overflow: auto;">
                <div ref="printRef">
                    <div>
                        <el-form size="small">
src/views/home/components/editDietary2.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="营养膳食调查表" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div style="width: 100%; height: 100%;overflow: auto;">
                <div id='printMe'>
                    <div>
                        <el-form size="small">
src/views/home/components/fangAn/editDietary.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="营养饮食指导方案" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;" >
            <div  style="width: 100%; height: 100%;overflow: auto;" >
                <div ref="printRef" id="fanganprintFrom1" class="print-section">
                    <div>
                        <el-form size="small">
src/views/home/components/jilubiao/index.vue
@@ -94,7 +94,7 @@
                                    <br/>胃肠功能评估
                                </td>
                                <td :rowspan="state.from1Datas.length*1">食物过敏源</td>
                                <td>{{state.from1Datas[index]?.初次调查日期}}</td>
                                <td>{{state.from1Datas[index]?.初次调查日期?.substring(0,11)}}</td>
                                <td colspan="2">
                                    {{state.from1Datas[index]?.食物过敏源调查?.过敏食物.type.join()}}
                                </td>
@@ -104,7 +104,7 @@
                                <td>{{state.from1Datas[index]?.记录者}}</td>
                            </tr>
                            <tr v-else>
                                <td>{{state.from1Datas[index].初次调查日期}}</td>
                                <td>{{state.from1Datas[index].初次调查日期?.substring(0,11)}}</td>
                                <td colspan="2">
                                    {{state.from1Datas[index]?.食物过敏源调查?.过敏食物.type.join()}}
                                </td>
@@ -118,7 +118,7 @@
                        <template v-for="(row,index) in state.from1Datas" :key="index">
                            <tr v-if="index===0">
                                <td :rowspan="state.from1Datas.length*1">胃肠功能评估</td>
                                <td>{{state.from1Datas[index].初次调查日期}}</td>
                                <td>{{state.from1Datas[index].初次调查日期?.substring(0,11)}}</td>
                                <td colspan="2" >
                                    <span v-if="state.from1Datas[index]?.胃肠症状体现?.便秘.type==='是'">便秘,</span>
                                    <span v-if="state.from1Datas[index]?.胃肠症状体现?.存在恶心呕吐.type==='是'">存在恶心呕吐, </span>
@@ -132,7 +132,7 @@
                                <td>{{state.from1Datas[index]?.记录者}}</td>
                            </tr>
                            <tr v-else>
                                <td>{{state.from1Datas[index].初次调查日期}}</td>
                                <td>{{state.from1Datas[index].初次调查日期?.substring(0,11)}}</td>
                                <td colspan="2" >
                                    <span v-if="state.from1Datas[index]?.胃肠症状体现?.便秘.type==='是'">便秘,</span>
                                    <span v-if="state.from1Datas[index]?.胃肠症状体现?.存在恶心呕吐.type==='是'">存在恶心呕吐, </span>
@@ -759,6 +759,8 @@
            });
           
        }
        console.log('食物过敏的------------------')
        console.log(state.from1Datas)
        if(fromData2.data.list.length>0){
           
            fromData2.data.list.forEach((element:any)=>{
src/views/home/components/pingubiao/editDietary.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="NRS-2002" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%; overflow: auto">
            <div style="width: 100%; height: 100%; overflow: auto">
                <div id="pinggu1">
                    <div>
                        <el-form size="small">
src/views/home/components/pingubiao/editDietary2.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="SGA" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div  style="width: 100%; height: 100%;overflow: auto;">
                <div id="pinggu2">
                    <div>
                        <el-form size="small">
src/views/home/components/pingubiao/editDietary3.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="MIS" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%; overflow: auto">
            <div  style="width: 100%; height: 100%; overflow: auto">
                <div id="pinggu3">
                    <div>
                        <el-form size="small">
src/views/home/components/pingubiao/editDietary4.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="PEW" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div  style="width: 100%; height: 100%;overflow: auto;">
                <div id="pinggu4">
                    <div>
                        <el-form size="small" >
src/views/home/components/pingubiao/editDietary5.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="GNRI" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div  style="width: 100%; height: 100%;overflow: auto;">
                <div id="pinggu5">
                    <div>
                        <el-form size="small">
src/views/home/components/shiwuguoming/editDietary.vue
@@ -2,7 +2,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="食物过敏原及胃肠功能调查" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div  style="width: 100%; height: 100%;overflow: auto;">
                <div id="guomingyuan">
                    <div>
                        <el-form size="small">
src/views/home/components/suifangjilu/editDietary.vue
@@ -1,7 +1,7 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="随访记录" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
            <div style="width: 100%; height: 100%;overflow: auto;">
                <div id="printFrom1">
                    <div>
                        <el-form size="small">
src/views/home/index.vue
@@ -1,9 +1,10 @@
<template>
    <div class="home-container layout-pd ">
        <el-row :gutter="10">
            <el-col class="patTabel" :xs="6" :sm="6" :md="4" :lg="3" :xl="3" v-if="state.isTable">
        <div class="container">
            <div class="container-left">
                <div class="patTabel">
                <el-table :data="state.filterTableData" stripe :height="state.tableHeight.left" size="default"
                    highlight-current-row @current-change="handleCurrentChange" style="width: 100%">
                        highlight-current-row @current-change="handleCurrentChange" style="width: 300px">
                    <el-table-column>
                        <template #header>
                            <div class="home-title">
@@ -32,8 +33,10 @@
                        </template>
                    </el-table-column>
                </el-table>
            </el-col>
            <el-col :xs="18" :sm="18" :md="20" :lg="21" :xl="21" >
                </div>
            </div>
            <div class="right" style="width: 100%;">
                <div style="width: 100%;">
                <el-tabs v-model="state.activeName" class="demo-tabs" @tab-click="handleClick">
                    <el-tab-pane label="患者档案" name="患者档案">
                        <template #label>
@@ -147,9 +150,9 @@
                </div>
            </el-col>
        </el-row>
                </div>
            </div>
        </div>
        <div class="fixed-div" v-show="patientsInfo.patientName">
            <el-avatar :size="80" :src="patientsInfo.patientAvatarIcon" />
            <div>{{ patientsInfo.patientName }}</div>
@@ -337,10 +340,23 @@
</script>
<style lang="scss">
.container {
    gap: 10px; /* 在flex项目之间设置间距 */
    display: flex;
}
.container-left {
    width: 300px; /* 右边div的固定宽度 */
.right {
    background-color: #409EFF;
    flex-grow: 1; /* 让这个div扩展以填充可用空间 */
    margin-left: 20px; /* 如果需要的话,可以给右边的div留出一些间距 */
}
}
.home-container {
    overflow: hidden;
    .patTabel {
        width: 100%;
        .el-table th.el-table__cell {
            background-color: #6babfa;
            color: #ffffff;
@@ -349,8 +365,6 @@
        .el-table__body tr.current-row>td.el-table__cell {
            background: rgb(197.7, 225.9, 255);
            color: #409EFF;
            /* height: 25px; */
            /* border: tomato solid 1px; */
        }
    }