feat:删除console
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Roboto, 'Times New Roman';
|
||||
/*font-family: Roboto, 'Times New Roman';*/
|
||||
font-family: Roboto;
|
||||
}
|
||||
@media only screen and (min-width: 10px) and (min-height: 10px){
|
||||
html {
|
||||
|
||||
@@ -500,7 +500,6 @@
|
||||
}
|
||||
} else {
|
||||
this.$message.error(response.data.error)
|
||||
console.error(response.data)
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -597,7 +596,6 @@
|
||||
this.$emit('deleteMessage',this.deleteBox,()=>{
|
||||
this.deleteBox.ids=[];
|
||||
});
|
||||
//console.log(this.deleteBox);
|
||||
this.deleteBox.show = false;
|
||||
},
|
||||
selectChange(s) {
|
||||
@@ -824,8 +822,6 @@
|
||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList')
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList'))
|
||||
: this.tableTitle;
|
||||
|
||||
// console.info(this.tools.customTableTitle)
|
||||
//是否存在分页缓存
|
||||
let pageSize = localStorage.getItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId);
|
||||
if (pageSize != 'undefined' && pageSize != null) {
|
||||
@@ -859,7 +855,6 @@
|
||||
this.dropCol = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))
|
||||
: this.tableTitle;
|
||||
console.log(1);
|
||||
}
|
||||
if(this.from=='alertMessageTab' || this.from=='chartList'){
|
||||
this.tablelable = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList")
|
||||
@@ -868,9 +863,8 @@
|
||||
this.dropCol = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList")
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList"))
|
||||
: this.tableTitle;
|
||||
console.log(2);
|
||||
}
|
||||
console.log( this.tableTitle,this.fromPath,this.form,this.tablelable);*/
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
}
|
||||
} else {
|
||||
this.$message.error(response.data.error)
|
||||
console.error(response.data)
|
||||
// console.error(response.data)
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
}
|
||||
.panel-info-corner .fa {
|
||||
position: relative;
|
||||
top: -6px;
|
||||
top: -4px;
|
||||
left: -6px;
|
||||
font-size: 75%;
|
||||
z-index: 3;
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
}
|
||||
.panel-info-corner .fa {
|
||||
position: relative;
|
||||
top: -6px;
|
||||
top: -4px;
|
||||
left: -6px;
|
||||
font-size: 75%;
|
||||
z-index: 3;
|
||||
|
||||
@@ -589,7 +589,7 @@
|
||||
}
|
||||
sum +=val;
|
||||
str += `<div style="white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display: flex; justify-content: space-between; min-width: 150px; max-width: 600px; line-height: 18px; font-size: 12px;">`;
|
||||
str += `<div style="max-width: 500px;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;"><span style='display:inline-block;margin-right:5px;border-radius:10px;width:15px;height:5px;background-color: ${color};}'></span>${tip?(tip.alias?tip.alias:tip.name):item.seriesName} </div>`;
|
||||
str += `<div style="max-width: 200px;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;"><span style='display:inline-block;margin-right:5px;border-radius:10px;width:15px;height:5px;background-color: ${color};}'></span>${tip?(tip.alias?tip.alias:tip.name):item.seriesName} </div>`;
|
||||
str += `<div style="padding-left: 10px;">`;
|
||||
str += chartDataFormat.getUnit(chartInfo.unit?chartInfo.unit:2).compute(val,null,-1,oldDot);
|
||||
str += `</div>`;
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<!--<span class="edit-topology-remove" @click="lineDel">Remove</span>-->
|
||||
</span>
|
||||
<span v-show="!selectNodeTitle&&editVisNetwork" class="edit-topologyLine">
|
||||
<el-button @click="saveTopology" class="saveTopology">{{$t('project.topology.save')}}</el-button>
|
||||
<el-button @click="cancelTopology" class="cancelTopology">{{$t('project.topology.cancel')}}</el-button>
|
||||
<button @click="saveTopology" class="nz-btn nz-btn-size-small-new nz-btn-style-normal-new">{{$t('project.topology.save')}}</button>
|
||||
<button @click="cancelTopology" class="nz-btn nz-btn-size-small-new nz-btn-style-light-new">{{$t('project.topology.cancel')}}</button>
|
||||
</span>
|
||||
<span class="edit-topology-line-cancel" v-show="selectNodeTitle&&editVisNetwork"> {{$t('project.topology.selTwoNode')}} <span class="edit-topologyCancel" @click="closeAddLine">{{$t('project.topology.cancel')}}</span></span>
|
||||
</div>
|
||||
@@ -876,7 +876,6 @@
|
||||
this_.popDataShowUpdate('');
|
||||
}
|
||||
let selId=params.nodes[0];
|
||||
console.log(this_.selNodeId,selId,"click");
|
||||
// if(this_.selNodeId&& this_.selNodeId===selId){return;}
|
||||
if(selId){
|
||||
this_.selNodeId=selId;
|
||||
@@ -887,7 +886,6 @@
|
||||
|
||||
this.network.on("selectNode", function (params) { //选择节点
|
||||
let selId=params.nodes[0];
|
||||
console.log(this_.selNodeId,selId,"selectNode")
|
||||
if(this_.selNodeId&& this_.selNodeId===selId){
|
||||
if(selId){
|
||||
this_.cursorMove=true;
|
||||
@@ -1219,7 +1217,7 @@
|
||||
}
|
||||
.edit-topology-add{
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
width: 36px;
|
||||
}
|
||||
.edit-topology-add:hover,.edit-topology-remove:active,.edit-topologyCancel{
|
||||
font-weight: bold;
|
||||
|
||||
@@ -314,7 +314,6 @@
|
||||
return item;
|
||||
})
|
||||
}else{
|
||||
console.log('query asset informations faild,cause :'+response.msg)
|
||||
this.$message.error(response.msg);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -283,7 +283,6 @@
|
||||
this.getTableData();
|
||||
},
|
||||
downloadMib(mib) {
|
||||
console.info(mib)
|
||||
axios.get('/mib/download?id='+mib.id,{responseType: 'blob'}).then(data=>{
|
||||
let fileName = new Date().getTime()+'.txt';
|
||||
let disposition=data.headers['content-disposition'];
|
||||
|
||||
@@ -553,7 +553,6 @@
|
||||
})
|
||||
this.showSuggestions=result;
|
||||
let end = new Date().getTime();
|
||||
console.log("filter time:",(end - start),'ms')
|
||||
resolve();
|
||||
})).then(()=>{
|
||||
if(Object.keys(this.showSuggestions).length>0){
|
||||
|
||||
@@ -172,7 +172,6 @@
|
||||
dropDownVisible:function(n,o){
|
||||
if(this.$refs.metricSelector){
|
||||
this.$refs.metricSelector.dropDownVisible=n;
|
||||
console.log(this.cascaderValue)
|
||||
if(!this.expressionList[this.index]||this.expressionList[this.index] == ''){
|
||||
this.cascaderValue="";
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
},
|
||||
created() {
|
||||
this.option=chartConfig.getOption(this.chartType);
|
||||
console.log(this.option);
|
||||
if(this.showToolbox == false){
|
||||
//this.option.grid.top = 10;
|
||||
}
|
||||
@@ -166,13 +165,11 @@
|
||||
this.option.yAxis.axisLabel.formatter=this.defaultYAxisFormatter
|
||||
}
|
||||
}
|
||||
// console.log(this.option)
|
||||
if(this.series){
|
||||
this.$set(this.option,'series',this.series);
|
||||
this.noData=false;
|
||||
this.chart.clear();
|
||||
this.optionSeriesAll=[...this.option.series];
|
||||
// console.log( this.optionSeriesAll);
|
||||
if(this.option.series instanceof Array){
|
||||
this.option.series=this.option.series.filter((item,index)=>index<this.dataSize);
|
||||
}
|
||||
@@ -361,7 +358,6 @@
|
||||
let chartUnit=this.unit;
|
||||
chartUnit=chartUnit?chartUnit:2;
|
||||
let unit=chartDataFormat.getUnit(chartUnit);
|
||||
// console.log(unit);
|
||||
let flag=JSON.stringify(value).length>JSON.stringify(chartDataFormat.Interval(maxValue,copies,unit.type)).length;
|
||||
if(dot===0&&flag){
|
||||
dot=1;
|
||||
@@ -401,7 +397,6 @@
|
||||
let option={
|
||||
series:this.optionSeriesAll
|
||||
};
|
||||
// console.log(option);
|
||||
this.chart.setOption(option);
|
||||
this.chart.resize()
|
||||
},
|
||||
@@ -463,7 +458,6 @@
|
||||
mounted() {
|
||||
this.chartInit();
|
||||
EleResize.on(this.$el, this.resize, this.chartType);
|
||||
// console.log(this.chartType)
|
||||
},
|
||||
watch:{
|
||||
|
||||
|
||||
@@ -830,7 +830,6 @@
|
||||
symbolSize=smallScatter;
|
||||
}
|
||||
|
||||
console.log(dcStat.name+'-->'+ symbolSize)
|
||||
seriesDatas.push({
|
||||
name:areaName,
|
||||
value:[areaInfo.longitude,areaInfo.latitude,dcStat],
|
||||
|
||||
Reference in New Issue
Block a user