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