From d15694aa0c3b042cd64a6e5d0c54d653900b09d5 Mon Sep 17 00:00:00 2001 From: xusd Date: Mon, 4 Nov 2024 09:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E6=A3=80=E5=B7=A5=E5=8D=95=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maintenanceInfo/AlarmSubmitMaintenancePatrolPlanForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imt-ui/src/views/system/maintenance/maintenanceInfo/AlarmSubmitMaintenancePatrolPlanForm.vue b/imt-ui/src/views/system/maintenance/maintenanceInfo/AlarmSubmitMaintenancePatrolPlanForm.vue index 4fa7daa..418b499 100644 --- a/imt-ui/src/views/system/maintenance/maintenanceInfo/AlarmSubmitMaintenancePatrolPlanForm.vue +++ b/imt-ui/src/views/system/maintenance/maintenanceInfo/AlarmSubmitMaintenancePatrolPlanForm.vue @@ -211,7 +211,7 @@ export default { if (this.inspectionPlanList.length === 0){ this.$message.error("请至少选择一个点检方案"); }else { - this.submitFormData.inspectionPlanId = this.inspectionPlanList.join(','); + this.$set(this.submitFormData, "inspectionPlanId", this.inspectionPlanList.join(',')); this.submitFormData.inspectionPlanName = this.inspectionPlanTreeData.filter(item=>this.inspectionPlanList.includes(item.inspectionPlanId)).map(item=>item.inspectionName).join(',') this.inspectionPlanVisible = false; } @@ -237,7 +237,7 @@ export default { console.log(this.submitFormData); this.submitFormLoading = true; try { - // await this.$refs.submitForm.validate(); + await this.$refs.submitForm.validate(); this.submitFormData.equipId = this.alarmFormData.equipId; this.submitFormData.customerId = this.alarmFormData.customerId; this.submitFormData.alarmId = this.alarmFormData.equipAlarmId;