src/views/home/components/editDietary.vue
@@ -768,6 +768,18 @@ 您是如何知道自己食物过敏: {type: '', input1: '',}, 备注: {type: '', input1: ''}, } state.viewInfo={ id: 0, code: '', clientCode: userInfos.value.clientCode, patientCode: patientsInfo.value.code, surveryTime: formatDate(new Date(), 'YYYY-mm-dd HH:MM:SS'), surveryPerson: userInfos.value.code, surveryJsonBody: '', suveryFormName:'膳食调查表', surveryFormType:0, updateTime: '' } } // 第一步:定义子组件里面的方法