From 87f7d71f3ba5e37a757bea12039f930a498d2288 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Fri, 24 May 2024 14:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B2=E6=89=B0=E6=BA=90=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8D=8F=E8=AE=AE=E5=AE=B9=E9=87=8F=E7=AD=89?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=8A=A0=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/undocumented/addForm.vue | 176 ++++-------------- 1 file changed, 34 insertions(+), 142 deletions(-) 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()