diff --git a/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue b/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue index 911dbb64..fd4d4bf3 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/addForm.vue @@ -21,7 +21,6 @@ - - - - - - + - - + - - + - - + - - + - + > + + - - - + - - + - - + - - + - - + - - + - - + - - - + - - + - - + - - + - - - + - - - + - - + - - + - - - - - - - - - @@ -669,7 +570,6 @@ const resetForm = () => { sensitiveDevices: [], //主要敏感设备清单 1 antiInterferenceReport: [] //抗扰度测试报告 1 } - form.value.reporter = adminInfo.$state.name form.value.orgId = adminInfo.$state.deptName } @@ -971,7 +871,6 @@ const rules = ref({ trigger: 'blur' } ], - baseShortCircuitCapacity: [ { required: true, @@ -1035,7 +934,6 @@ const rules = ref({ trigger: 'change' } ], - feasibilityReport: [ { required: true, @@ -1080,7 +978,6 @@ watch( subForm.value[key] = val[key] // 对相同的key进行赋值 } } - //处理填报日期时间格式 subForm.value.reportDate = window.XEUtils.toDateString(form.value.reportDate, 'yyyy-MM-dd') //userType==0,1 @@ -1104,10 +1001,8 @@ watch( subForm.value.userReportProjectPO[key] = val[key] } } - delete subForm.value.userReportSubstationPO delete subForm.value.userReportSensitivePO - return } //userType==2,3,4,5 @@ -1320,7 +1215,6 @@ const confirmForm = () => { } } } - //userType==2,3,4,5 if ( subForm.value.userType == '2' || @@ -1371,7 +1265,6 @@ const confirmForm = () => { } } } - //userType==6 if (subForm.value.userType == '6') { if (!feasibilityReport.value) { @@ -1438,7 +1331,6 @@ const confirmForm = () => { } } } - submitFormData(confirmFormData).then(res => { ruleFormRef.value.resetFields() resetForm()