From 739ef9cb2dfaa5449ae1f919846e179ca6ed465e Mon Sep 17 00:00:00 2001 From: A0010407 Date: Fri, 19 Jul 2024 15:30:48 +0800 Subject: [PATCH] =?UTF-8?q?2024-07-19=20=E8=AE=BE=E5=A4=87-=E7=82=B9?= =?UTF-8?q?=E6=A3=80=E3=80=81=E5=B7=A1=E6=A3=80=E3=80=81=E4=BF=9D=E5=85=BB?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=87=8D=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/inspectionPlan/index.vue | 8 ++++++-- src/views/device/spotCheckPlan/index.vue | 7 ++++++- src/views/device/upkeepPlan/index.vue | 10 ++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/device/inspectionPlan/index.vue b/src/views/device/inspectionPlan/index.vue index c346c4a4..60d1cc34 100644 --- a/src/views/device/inspectionPlan/index.vue +++ b/src/views/device/inspectionPlan/index.vue @@ -444,7 +444,7 @@ { this.form = response.data; - this.selectPersonList = response.data.personListVO; for (let i = 0; i < this.form.equipmentItem.length; i++) { @@ -1693,9 +1692,12 @@ export default { for (let j = 0; j < this.form.equipmentItem[i].equPlanDetailList.length; j++) { this.form.equipmentItem[i].itemTempName = this.form.equipmentItem[i].itemTempName + this.form.equipmentItem[i].equPlanDetailList[j].itemName + "," } - } - + //把数组放入 + this.equipmentItemList = []; + for (let i = 0; i < response.data.equipmentItem.length; i++) { + this.equipmentItemList.push(response.data.equipmentItem[i]); + }; this.loading = false; this.open = true; this.title = "修改计划";