chenyc
2025-02-06 1098bd55e0916fee18bc7091f182d7a3b8c0520b
gx优化;
6个文件已修改
136 ■■■■■ 已修改文件
src/views/home/components/dietary_survey.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/editDietary.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/editDietary2.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/fangAn/editDietary.vue 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/suifangjilu/editDietary.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/suifangjilu/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/components/dietary_survey.vue
@@ -8,7 +8,7 @@
                        placeholder="不选默认查全部"
                        clearable
                    >
                        <el-option label="营养膳食生活调查表" value="营养膳食生活调查表" />
                        <el-option label="膳食生活调查表" value="膳食生活调查表" />
                        <el-option label="膳食调查表" value="膳食调查表" />
                    </el-select>
                </el-form-item> -->
@@ -134,7 +134,7 @@
    loading: false,
    formInline:{
        user: '',
        formTableName:'营养膳食生活调查表',
        formTableName:'膳食生活调查表',
        date: [],
    },
    dialogTableVisible:false
src/views/home/components/editDietary.vue
@@ -1,6 +1,6 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="营养膳食生活调查表" :fullscreen="true" width="100%">
        <el-dialog  v-model="state.dialogTableVisible" title="膳食生活调查表" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
                <div id="printFrom1">
                    <div>
@@ -940,7 +940,7 @@
const state = reactive({
    dialogTableVisible:false,
    tableData: {
        表名: '营养膳食生活调查表',
        表名: '膳食生活调查表',
        初次调查日期:"",
        填表日期: '',
        更新日期: '',
@@ -1124,7 +1124,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName:'营养膳食生活调查表',
        suveryFormName:'膳食生活调查表',
        surveryFormType:0,
        updateTime: ''
    }
@@ -1162,7 +1162,7 @@
    surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
    surveryPerson: userInfos.value.code,
    surveryJsonBody: JSON.stringify(state.tableData),
    suveryFormName:'营养膳食生活调查表',
    suveryFormName:'膳食生活调查表',
    updateTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS')
  }
  console.log(info)
@@ -1184,7 +1184,7 @@
}
const getPageInfo=()=>{
    state.tableData={
        表名: '营养膳食生活调查表',
        表名: '膳食生活调查表',
        初次调查日期: formatDate(new Date(),'YYYY-mm-dd'),
        填表日期: '',
        更新日期: formatDate(new Date(),'YYYY-mm-dd'),
@@ -1366,7 +1366,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName:'营养膳食生活调查表',
        suveryFormName:'膳食生活调查表',
        surveryFormType:0,
        updateTime: ''
    }
src/views/home/components/editDietary2.vue
@@ -880,7 +880,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName: '营养膳食调查表',
        suveryFormName: '膳食调查表',
        updateTime: ''
    }
@@ -912,7 +912,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: JSON.stringify(state.tableData),
        suveryFormName: '营养膳食调查表',
        suveryFormName: '膳食调查表',
        surveryFormType: 0,
        updateTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
    }
@@ -1120,7 +1120,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName: '营养膳食调查表',
        suveryFormName: '膳食调查表',
        updateTime: ''
    }
}
src/views/home/components/fangAn/editDietary.vue
@@ -1,6 +1,6 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog v-model="state.dialogTableVisible" title="营养指导报告" :fullscreen="true" width="100%">
        <el-dialog v-model="state.dialogTableVisible" title="营养饮食指导方案" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;" >
                <div id="printFrom1" class="print-section">
                    <div>
@@ -72,67 +72,7 @@
                                            </el-form-item>
                                        </td>
                                    </tr>
                                    <!-- <tr>
                                        <td class="htr">饮食回顾时间</td>
                                        <td class="htr">早餐</td>
                                        <td class="htr">加餐</td>
                                        <td class="htr">午餐</td>
                                        <td class="htr">加餐</td>
                                        <td class="htr">晚餐</td>
                                        <td class="htr">加餐</td>
                                        <td class="htr">其他</td>
                                    </tr> -->
                                    <!-- <tr>
                                        <td class="htr">透析日</td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.早餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.早加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.午餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.午加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.晚餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.透析日.其他" placeholder="" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="htr">非透析日</td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.早餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.早加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.午餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.午加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.晚餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.加餐" placeholder="" />
                                        </td>
                                        <td>
                                            <el-input v-model="state.tableData.非透析日.其他" placeholder="" />
                                        </td>
                                    </tr> -->
                                    <tr>
                                        <td class="htr">饮食问题</td>
                                        <td colspan="7">
@@ -234,7 +174,7 @@
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="htr" rowspan="6">营养师指导建议</td>
                                        <td class="htr" rowspan="7">营养师指导建议</td>
                                        <td rowspan="3">透析饮食指导</td>
                                        <td>能量</td>
                                        <td> <el-input v-model="state.tableData.营养师指导建议.透析饮食指导.能量" placeholder="" />
@@ -313,6 +253,22 @@
                                        <td>蛋白质能量摄入不足</td>
                                        <td>
                                            <el-input v-model="state.tableData.营养师指导建议.特殊饮食指导.蛋白质能量摄入不足"
                                                placeholder="" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td >其他指导</td>
                                        <td>便秘</td>
                                        <td>
                                            <el-input v-model="state.tableData.营养师指导建议.其他指导.便秘" placeholder="" />
                                        </td>
                                        <td>腹泻</td>
                                        <td>
                                            <el-input v-model="state.tableData.营养师指导建议.其他指导.腹泻" placeholder="" />
                                        </td>
                                        <td>体重管理</td>
                                        <td>
                                            <el-input v-model="state.tableData.营养师指导建议.其他指导.体重管理"
                                                placeholder="" />
                                        </td>
                                    </tr>
@@ -719,6 +675,11 @@
                高尿酸: '',
                高钾血症: '',
                蛋白质能量摄入不足: ''
            },
            其他指导:{
                便秘:'',
                腹泻:'',
                体重管理:''
            }
        },
        // P:饮食营养方案及食谱,定期随访并及时调整
@@ -776,7 +737,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName: '营养指导报告',
        suveryFormName: '营养饮食指导方案',
        surveryFormType: 2,
        updateTime: ''
    }
@@ -867,7 +828,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: JSON.stringify(state.tableData),
        suveryFormName: '营养指导报告',
        suveryFormName: '营养饮食指导方案',
        updateTime: ''
    }
    console.log(info)
@@ -955,6 +916,11 @@
                高尿酸: '',
                高钾血症: '',
                蛋白质能量摄入不足: ''
            },
            其他指导:{
                便秘:'',
                腹泻:'',
                体重管理:''
            }
        },
        // P:饮食营养方案及食谱,定期随访并及时调整
@@ -1004,7 +970,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName: '营养指导报告',
        suveryFormName: '营养饮食指导方案',
        surveryFormType: 2,
        updateTime: ''
    };
@@ -1018,7 +984,7 @@
        state.tableData.胃肠功能状况=from1Json.胃肠道紊乱者.input1
        state.tableData.生活习惯.大小便=from1Json.排便情况.input1
        state.tableData.生活习惯.睡眠=from1Json.睡眠.input1
        state.tableData.生活习惯.吞咽咀嚼功能=from1Json.排便情况.input1
        state.tableData.生活习惯.吞咽咀嚼功能=''
        state.tableData.生活习惯.烟酒=from1Json.是否吸烟.type+''+from1Json.是否饮酒.type
        state.tableData.生活习惯.运动=from1Json.运动.input1
        state.tableData.透析日.早餐=from1Json.三天饮食记录表.透析日1.早餐
src/views/home/components/suifangjilu/editDietary.vue
@@ -1,6 +1,6 @@
<template>
    <div class="dietarySurvey-item">
        <el-dialog  v-model="state.dialogTableVisible" title="随访记录表" :fullscreen="true" width="100%">
        <el-dialog  v-model="state.dialogTableVisible" title="随访记录" :fullscreen="true" width="100%">
            <div class="container" style="width: 100%; height: 100%;overflow: auto;">
                <div id="printFrom1">
                    <div>
@@ -215,7 +215,7 @@
    patientData:{干体重:0,脱水量:0},
    dialogTableVisible:false,
    tableData: {
        表名: '随访记录表',
        表名: '随访记录',
        初次调查日期:"",
        填表日期: '',
        更新日期: '',
@@ -242,7 +242,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName:'随访记录表',
        suveryFormName:'随访记录',
        surveryFormType:0,
        updateTime: ''
    }
@@ -280,7 +280,7 @@
    surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
    surveryPerson: userInfos.value.code,
    surveryJsonBody: JSON.stringify(state.tableData),
    suveryFormName:'随访记录表',
    suveryFormName:'随访记录',
    updateTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS')
  }
  console.log(info)
@@ -302,7 +302,7 @@
}
const getPageInfo=()=>{
    state.tableData={
        表名: '随访记录表',
        表名: '随访记录',
        初次调查日期: formatDate(new Date(),'YYYY-mm-dd'),
        填表日期: '',
        更新日期: formatDate(new Date(),'YYYY-mm-dd'),
@@ -328,7 +328,7 @@
        surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'),
        surveryPerson: userInfos.value.code,
        surveryJsonBody: '',
        suveryFormName:'随访记录表',
        suveryFormName:'随访记录',
        surveryFormType:0,
        updateTime: ''
    }
src/views/home/components/suifangjilu/index.vue
@@ -138,7 +138,7 @@
    loading: false,
    formInline:{
        user: '',
        formTableName:'随访记录表',
        formTableName:'随访记录',
        date: [],
    },
    dialogTableVisible:false