src/views/kb/zhkb.vue
@@ -313,11 +313,15 @@ res1.data.forEach(item => { this.ShopArr.push(item.org_code) }) if (this.ShopArr.length > 0) { this.getShopSearchLine() this.getRightRightData() this.getLeftBottomData() this.getEcharts() } } if (this.ShopArr.length > 0) { setInterval(() => { this.ShopSearchTask = ShopSearch().then(res1 => { if (res1.code === '200') { @@ -328,6 +332,7 @@ } }) }, 1000 * 60) } }, // 产线加工中任务 getShopSearchLine() {