feat:删除console

This commit is contained in:
wangwenrui
2020-10-30 16:26:36 +08:00
parent cb13bc8b91
commit 4ee5f94cc0
10 changed files with 7 additions and 18 deletions

View File

@@ -765,7 +765,7 @@ export default {
},
// 设置数据, filter区分
setData(chartItem, seriesItem, panelId, filter,area,errorMsg) {
console.info(chartItem,title)
// console.info(chartItem,title)
},
// 数据排序
tableDataSort(item){

View File

@@ -155,14 +155,14 @@ export default {
iframe.attachEvent('onload', function () {
// iframe加载完毕以后执行操作
that.firstShow = true;
console.log('iframe已加载完毕');
// console.log('iframe已加载完毕');
that.endLoading();
})
} else {
iframe.onload = function () {
// iframe加载完毕以后执行操作
that.firstShow = true;
console.log('iframe已加载完毕');
// console.log('iframe已加载完毕');
that.endLoading();
}
}
@@ -256,14 +256,14 @@ export default {
iframe.attachEvent('onload', function () {
// iframe加载完毕以后执行操作
that.firstShow = true;
console.log('iframe已加载完毕');
// console.log('iframe已加载完毕');
that.endLoading('screen');
})
} else {
iframe.onload = function () {
// iframe加载完毕以后执行操作
that.firstShow = true;
console.log('iframe已加载完毕');
// console.log('iframe已加载完毕');
that.endLoading('screen');
}
}

View File

@@ -611,7 +611,6 @@
},
deleteMessage() {
this.$refs.remarkForm.validate(valid => {
console.log('valid',valid)
if (valid) {
this.$emit('deleteMessage',this.deleteBox,()=>{
this.deleteBox.ids=[];

View File

@@ -381,7 +381,6 @@
}
}
this.vendorAndModelOptionData = result;
console.log('model/vender',this.vendorAndModelOptionData)
});
},
addTag() {
@@ -471,7 +470,6 @@
}, 100)
},
modelChange(modelId) {
console.log('model ',this.editAsset.modelId)
let model = this.modelData.find((item, index)=>{
return modelId == item.id;
});
@@ -666,7 +664,6 @@
}
},
filterValue:function(input,callback){
console.log(this.tagValues)
if(!input || input == ''){
callback(this.tagValues)
}else{

View File

@@ -366,7 +366,6 @@
immediate: true,
deep: true,
handler(n, o) {
console.info(n)
this.editEndpoint = JSON.parse(JSON.stringify(n));
},
},

View File

@@ -135,7 +135,7 @@ export default {
form.append("path", this.uploadFile.path);
this.$post('account/upload.do', form).then(res => {
if (res.code === 200) {
console.log(res)
// console.log(res)
}
})
},

View File

@@ -143,7 +143,7 @@ export default {
form.append("path", this.uploadFile.path);
this.$post('account/upload.do', form).then(res => {
if (res.code === 200) {
console.log(res)
// console.log(res)
}
})
},

View File

@@ -487,7 +487,6 @@
})
if(snmpAccount){
console.log(snmpAccount)
this.searchParamPop.port=snmpAccount.port;
this.searchParamPop.community=snmpAccount.params.community;
this.searchParamPop.version=snmpAccount.params.version;

View File

@@ -223,7 +223,6 @@
immediate:true,
deep:true,
handler(n,o){
console.log(n)
}
}
}

View File

@@ -261,7 +261,6 @@ export default {
getTarget(target) {
// 由于条件限制每次其实只有一个target
this.elementTarget = JSON.parse(JSON.stringify(target));
console.log('2_+_+_+_+_+_+',JSON.stringify(this.elementTarget));
/*this.$refs.chartInfo.validate((valid) => {
if (valid) {*/
this.loading = true;
@@ -482,9 +481,7 @@ export default {
getSuggestMetric() {
//this.$get('/prom/api/v1/label/__name__/values').then(response => {
this.$get('/module?pageSize=-1').then(response => {
console.log('---response---',response);
if (response.code === 200) {
console.log('---response200---',response);
this.metricList = response.data.list;
const cascaderMap = new Map();
this.metricList.forEach((item,index) => {
@@ -527,7 +524,6 @@ export default {
});
this.metricCascaderList = metricCascaderArr;
console.log('---response200metricCascaderList---',this.metricCascaderList);
}else {
this.metricList = [];
this.metricCascaderList = [];