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 = []