src/views/home/components/editDietary2.vue
@@ -1111,6 +1111,18 @@ 作息时间: { type: '', input1: '', input2: '' }, 排便情况: { type: '', input1: '' }, } state.viewInfo= { id: 0, code: '', surveryFormType: 0, clientCode: userInfos.value.clientCode, patientCode: patientsInfo.value.code, surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), surveryPerson: userInfos.value.code, surveryJsonBody: '', suveryFormName: '营养膳食调查表', updateTime: '' } } // 第二步:暴露方法