From b1ab1962b1f7b7ed83f91b7fe4fafee12bd8bf19 Mon Sep 17 00:00:00 2001 From: Fanzink <460995166@qq.com> Date: Tue, 18 Apr 2023 09:48:13 +0530 Subject: [PATCH] =?UTF-8?q?'=E5=8E=82=E5=8A=A1=E8=AE=BE=E5=A4=87=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BF=AE=E6=94=B9=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8?= =?UTF-8?q?size=EF=BC=8C=E8=AE=BE=E5=A4=87=E5=88=86=E6=9E=90=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9B=91=E6=8E=A7=E5=8E=BB=E6=8E=89=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=BA=A7=E7=BA=BF=E5=B7=A5=E5=8E=82'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/equipmentCurrentState.vue | 6 +++++- src/views/modules/monitoring/equipmentEfficiency.vue | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/modules/monitoring/equipmentCurrentState.vue b/src/views/modules/monitoring/equipmentCurrentState.vue index 393d7e8..110cec6 100644 --- a/src/views/modules/monitoring/equipmentCurrentState.vue +++ b/src/views/modules/monitoring/equipmentCurrentState.vue @@ -165,7 +165,11 @@ export default { getEqList() { this.$http({ url: this.$http.adornUrl('/monitoring/equipment/page'), - method: 'get' + method: 'get', + params: this.$http.adornParams({ + limit: 99999, + page: 1 + }) }).then(({ data }) => { if (data && data.code === 0) { this.eqList = data.data.list diff --git a/src/views/modules/monitoring/equipmentEfficiency.vue b/src/views/modules/monitoring/equipmentEfficiency.vue index 1455a6a..2bc9b3c 100644 --- a/src/views/modules/monitoring/equipmentEfficiency.vue +++ b/src/views/modules/monitoring/equipmentEfficiency.vue @@ -207,7 +207,7 @@ export default { this.factoryList = res.data /** set default */ if (this.factoryList.length) { - this.dataForm.ftId = this.factoryList[0].id + // this.dataForm.ftId = this.factoryList[0].id } } else { this.factoryList = [] @@ -236,7 +236,7 @@ export default { if (res && res.code === 0 && res.data.length) { this.productLineList = res.data /** set default */ - this.dataForm.productlines = [this.productLineList[0].id] + // this.dataForm.productlines = [this.productLineList[0].id] } else { this.productLineList = [] this.dataForm.productlines = []