chenyc
2025-02-06 1098bd55e0916fee18bc7091f182d7a3b8c0520b
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: ''
    }