取消过多的console
This commit is contained in:
parent
e9d2daa3af
commit
f783cd189d
|
@ -525,19 +525,19 @@ export default {
|
||||||
//接入设备数量
|
//接入设备数量
|
||||||
getleft2Data() {
|
getleft2Data() {
|
||||||
this.$API.em.equipment.list.req({ type: 10, query: {} }).then((res1) => {
|
this.$API.em.equipment.list.req({ type: 10, query: {} }).then((res1) => {
|
||||||
console.log(res1)
|
// console.log(res1)
|
||||||
this.eqNumData.sc = res1.count;
|
this.eqNumData.sc = res1.count;
|
||||||
})
|
})
|
||||||
this.$API.em.equipment.list.req({ type: 20, query: {} }).then((res2) => {
|
this.$API.em.equipment.list.req({ type: 20, query: {} }).then((res2) => {
|
||||||
console.log(res2)
|
// console.log(res2)
|
||||||
this.eqNumData.jc = res2.count;
|
this.eqNumData.jc = res2.count;
|
||||||
})
|
})
|
||||||
this.$API.em.equipment.list.req({ type: 30, query: {} }).then((res3) => {
|
this.$API.em.equipment.list.req({ type: 30, query: {} }).then((res3) => {
|
||||||
console.log(res3)
|
// console.log(res3)
|
||||||
this.eqNumData.zl = res3.count;
|
this.eqNumData.zl = res3.count;
|
||||||
})
|
})
|
||||||
this.$API.em.equipment.list.req({ type: 40, query: {} }).then((res4) => {
|
this.$API.em.equipment.list.req({ type: 40, query: {} }).then((res4) => {
|
||||||
console.log(res4)
|
// console.log(res4)
|
||||||
this.eqNumData.jk = res4.count;
|
this.eqNumData.jk = res4.count;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -566,7 +566,7 @@ export default {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.em.equipment.list.req({ type: 20, cate__code: 'aqms', has_envdata: 'yes' }).then(res => {
|
that.$API.em.equipment.list.req({ type: 20, cate__code: 'aqms', has_envdata: 'yes' }).then(res => {
|
||||||
that.wData = res.results;
|
that.wData = res.results;
|
||||||
console.log('wData', this.wData)
|
// console.log('wData', this.wData)
|
||||||
let lineData = [];
|
let lineData = [];
|
||||||
res.results.forEach((item, index) => {
|
res.results.forEach((item, index) => {
|
||||||
let arr = [], obj1 = {}, obj2 = {}, obj3 = {};
|
let arr = [], obj1 = {}, obj2 = {}, obj3 = {};
|
||||||
|
@ -673,7 +673,7 @@ export default {
|
||||||
}
|
}
|
||||||
let containerHeight = document.getElementsByClassName('panel1')[0].clientHeight;
|
let containerHeight = document.getElementsByClassName('panel1')[0].clientHeight;
|
||||||
debugger;
|
debugger;
|
||||||
console.log('containerHeight', containerHeight);
|
// console.log('containerHeight', containerHeight);
|
||||||
that.containerHeight = containerHeight;
|
that.containerHeight = containerHeight;
|
||||||
if (this.engine != null) {
|
if (this.engine != null) {
|
||||||
this.engine.resize();
|
this.engine.resize();
|
||||||
|
@ -728,9 +728,6 @@ export default {
|
||||||
this.elDrawer = true;
|
this.elDrawer = true;
|
||||||
this.activeDrawerName = command;
|
this.activeDrawerName = command;
|
||||||
},
|
},
|
||||||
getMessage(msg) {
|
|
||||||
console.log(msg);
|
|
||||||
},
|
|
||||||
compare(property) {
|
compare(property) {
|
||||||
return function (a, b) {
|
return function (a, b) {
|
||||||
return a[property] - b[property];
|
return a[property] - b[property];
|
||||||
|
|
Loading…
Reference in New Issue