diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index a4381608..ef12da55 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -313,14 +313,14 @@ export default { setInterval(() => this.getAlarmData(), 1000 * 60); this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST")); this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT"); - /** + //先执行一次 this.getUnReadList(); // 实现轮询 this.timer = setInterval(() => { setTimeout(this.getUnReadList(), 30000); }, 30000); - **/ + }, components: { Breadcrumb, 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 = "修改计划"; diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 26cba20e..1696377b 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -448,6 +448,8 @@ + +