Преглед на файлове

'厂务设备参数修改设备列表size,设备分析状态监控去掉默认产线工厂'

pull/29/head
Fanzink преди 1 година
родител
ревизия
b1ab1962b1
променени са 2 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. +5
    -1
      src/views/modules/monitoring/equipmentCurrentState.vue
  2. +2
    -2
      src/views/modules/monitoring/equipmentEfficiency.vue

+ 5
- 1
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


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


Зареждане…
Отказ
Запис