feat:删除console
This commit is contained in:
@@ -765,7 +765,7 @@ export default {
|
||||
},
|
||||
// 设置数据, filter区分
|
||||
setData(chartItem, seriesItem, panelId, filter,area,errorMsg) {
|
||||
console.info(chartItem,title)
|
||||
// console.info(chartItem,title)
|
||||
},
|
||||
// 数据排序
|
||||
tableDataSort(item){
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -611,7 +611,6 @@
|
||||
},
|
||||
deleteMessage() {
|
||||
this.$refs.remarkForm.validate(valid => {
|
||||
console.log('valid',valid)
|
||||
if (valid) {
|
||||
this.$emit('deleteMessage',this.deleteBox,()=>{
|
||||
this.deleteBox.ids=[];
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -366,7 +366,6 @@
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler(n, o) {
|
||||
console.info(n)
|
||||
this.editEndpoint = JSON.parse(JSON.stringify(n));
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -223,7 +223,6 @@
|
||||
immediate:true,
|
||||
deep:true,
|
||||
handler(n,o){
|
||||
console.log(n)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user