diff --git a/src/components/ServiceWatch/components/monitor.vue b/src/components/ServiceWatch/components/monitor.vue index 89044b3..983a188 100644 --- a/src/components/ServiceWatch/components/monitor.vue +++ b/src/components/ServiceWatch/components/monitor.vue @@ -315,6 +315,7 @@ if (this.choiceRange === 2) return arr.slice(3); } }, + methods: { selectChange(val) { if (val === 0) @@ -342,12 +343,9 @@ }, periodChange() {}, refresh() { - // console.log(this.targetAll) - // this.echartsData1={} this.targetAll.forEach(item => { this.getInterface(item); }); - // console.log(this.dataAll,'99999') }, showBigEcharts(target) { this.dialogVisible = true; @@ -375,7 +373,6 @@ axis: "x" } // formatter: params => { - // // console.log(params[0],'params') // // let axisValue = this.moment(params['axisValueLabel']).format("YYYY-MM-DD HH:mm:ss") // // return `

${axisValue}

${params[0].value}%

` // var res = params[0].name; @@ -466,13 +463,9 @@ // 点击导出 downImg(target) { this.showBigEcharts(target); - // console.log(this.bigEachartsTest,'myChart') // this.bigEachartsTest.on('finished', function () { - // console.log(2222) // }); setTimeout(() => { - // console.log(this.bigEachartsTest,'myChart') - // var img = new Image(); // img.src = this.bigEacharts.getDataURL({ // pixelRatio: 2, @@ -520,7 +513,7 @@ }); }); }); - console.log(arr, "arr"); + // console.log(arr, "arr"); var param = { regionId: "ap-chengdu", instanceId: this.$route.query.instanceId, diff --git a/src/components/ServiceWatch/components/monitor.vue b/src/components/ServiceWatch/components/monitor.vue index 89044b3..983a188 100644 --- a/src/components/ServiceWatch/components/monitor.vue +++ b/src/components/ServiceWatch/components/monitor.vue @@ -315,6 +315,7 @@ if (this.choiceRange === 2) return arr.slice(3); } }, + methods: { selectChange(val) { if (val === 0) @@ -342,12 +343,9 @@ }, periodChange() {}, refresh() { - // console.log(this.targetAll) - // this.echartsData1={} this.targetAll.forEach(item => { this.getInterface(item); }); - // console.log(this.dataAll,'99999') }, showBigEcharts(target) { this.dialogVisible = true; @@ -375,7 +373,6 @@ axis: "x" } // formatter: params => { - // // console.log(params[0],'params') // // let axisValue = this.moment(params['axisValueLabel']).format("YYYY-MM-DD HH:mm:ss") // // return `

${axisValue}

${params[0].value}%

` // var res = params[0].name; @@ -466,13 +463,9 @@ // 点击导出 downImg(target) { this.showBigEcharts(target); - // console.log(this.bigEachartsTest,'myChart') // this.bigEachartsTest.on('finished', function () { - // console.log(2222) // }); setTimeout(() => { - // console.log(this.bigEachartsTest,'myChart') - // var img = new Image(); // img.src = this.bigEacharts.getDataURL({ // pixelRatio: 2, @@ -520,7 +513,7 @@ }); }); }); - console.log(arr, "arr"); + // console.log(arr, "arr"); var param = { regionId: "ap-chengdu", instanceId: this.$route.query.instanceId, diff --git a/src/components/index.vue b/src/components/index.vue index 235f42c..8395f05 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -334,11 +334,10 @@ }, ChangeBGC() { // 给予gis的方法调用demo A - if(this.$refs["PathView"].hasOwnProperty('REFSFunctionToGis')) - this.$refs["PathView"].REFSFunctionToGis(this.flag); + if (this.$refs["PathView"].hasOwnProperty("REFSFunctionToGis")) + this.$refs["PathView"].REFSFunctionToGis(this.flag); // 给予gis的方法调用demo E - console.log(9999); let root = document.querySelector(":root"); if (this.flag) { root.style.setProperty("--color", "rgb(253, 44, 79)"); @@ -479,7 +478,7 @@ }) .catch(e => { dialogInfo.btLoading = false; - console.log(e); + // console.log(e); }); } }); diff --git a/src/components/ServiceWatch/components/monitor.vue b/src/components/ServiceWatch/components/monitor.vue index 89044b3..983a188 100644 --- a/src/components/ServiceWatch/components/monitor.vue +++ b/src/components/ServiceWatch/components/monitor.vue @@ -315,6 +315,7 @@ if (this.choiceRange === 2) return arr.slice(3); } }, + methods: { selectChange(val) { if (val === 0) @@ -342,12 +343,9 @@ }, periodChange() {}, refresh() { - // console.log(this.targetAll) - // this.echartsData1={} this.targetAll.forEach(item => { this.getInterface(item); }); - // console.log(this.dataAll,'99999') }, showBigEcharts(target) { this.dialogVisible = true; @@ -375,7 +373,6 @@ axis: "x" } // formatter: params => { - // // console.log(params[0],'params') // // let axisValue = this.moment(params['axisValueLabel']).format("YYYY-MM-DD HH:mm:ss") // // return `

${axisValue}

${params[0].value}%

` // var res = params[0].name; @@ -466,13 +463,9 @@ // 点击导出 downImg(target) { this.showBigEcharts(target); - // console.log(this.bigEachartsTest,'myChart') // this.bigEachartsTest.on('finished', function () { - // console.log(2222) // }); setTimeout(() => { - // console.log(this.bigEachartsTest,'myChart') - // var img = new Image(); // img.src = this.bigEacharts.getDataURL({ // pixelRatio: 2, @@ -520,7 +513,7 @@ }); }); }); - console.log(arr, "arr"); + // console.log(arr, "arr"); var param = { regionId: "ap-chengdu", instanceId: this.$route.query.instanceId, diff --git a/src/components/index.vue b/src/components/index.vue index 235f42c..8395f05 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -334,11 +334,10 @@ }, ChangeBGC() { // 给予gis的方法调用demo A - if(this.$refs["PathView"].hasOwnProperty('REFSFunctionToGis')) - this.$refs["PathView"].REFSFunctionToGis(this.flag); + if (this.$refs["PathView"].hasOwnProperty("REFSFunctionToGis")) + this.$refs["PathView"].REFSFunctionToGis(this.flag); // 给予gis的方法调用demo E - console.log(9999); let root = document.querySelector(":root"); if (this.flag) { root.style.setProperty("--color", "rgb(253, 44, 79)"); @@ -479,7 +478,7 @@ }) .catch(e => { dialogInfo.btLoading = false; - console.log(e); + // console.log(e); }); } }); diff --git a/src/components/newFiber/NewFiberSearch.vue b/src/components/newFiber/NewFiberSearch.vue index a81dedf..a1cb086 100644 --- a/src/components/newFiber/NewFiberSearch.vue +++ b/src/components/newFiber/NewFiberSearch.vue @@ -493,7 +493,7 @@ methods: { // 加载页面分组信息 loadFZData(event) { - console.log(event); + // console.log(event); this.loading = true; this.$http .get( @@ -624,7 +624,6 @@ this.$http .get(this.nozzle.siteGetHeads + `?siteNo=${this.currentSiteNo}`) .then(response => { - // console.log(response.data.data); // 加载表头 this.NFSNowDataTableHead = response.data.data; // 加载实时数据 @@ -650,8 +649,6 @@ this.NFSNowDataTableData = JSON.parse( JSON.stringify([response.data]) ); - // console.log(response.data); - // console.log(this.NFSNowDataTableData); // 通过state显示图标 if (response.data.state == 1) { // 异常 @@ -741,7 +738,7 @@ this.loading3 = false; // console.log(response.data.rows); this.HistoryTableData = response.data.rows; - console.log(1111111, this.HistoryTableData); + // console.log(1111111, this.HistoryTableData); this.DatagridDataLength = response.data.total; }) .catch(response => { @@ -1013,10 +1010,10 @@ // }, // 表单提交5 submitForm5(formName) { - console.log(1, this.$refs[formName]); + // console.log(1, this.$refs[formName]); this.$refs[formName].validate(valid => { if (valid) { - console.log(11111); + // console.log(11111); this.$http .post({ url: this.nozzle.surveyDataExporExcelOfSurverData, @@ -1050,7 +1047,7 @@ // message(response); }); } else { - console.log("error submit!!"); + // console.log("error submit!!"); return false; } }); diff --git a/src/components/ServiceWatch/components/monitor.vue b/src/components/ServiceWatch/components/monitor.vue index 89044b3..983a188 100644 --- a/src/components/ServiceWatch/components/monitor.vue +++ b/src/components/ServiceWatch/components/monitor.vue @@ -315,6 +315,7 @@ if (this.choiceRange === 2) return arr.slice(3); } }, + methods: { selectChange(val) { if (val === 0) @@ -342,12 +343,9 @@ }, periodChange() {}, refresh() { - // console.log(this.targetAll) - // this.echartsData1={} this.targetAll.forEach(item => { this.getInterface(item); }); - // console.log(this.dataAll,'99999') }, showBigEcharts(target) { this.dialogVisible = true; @@ -375,7 +373,6 @@ axis: "x" } // formatter: params => { - // // console.log(params[0],'params') // // let axisValue = this.moment(params['axisValueLabel']).format("YYYY-MM-DD HH:mm:ss") // // return `

${axisValue}

${params[0].value}%

` // var res = params[0].name; @@ -466,13 +463,9 @@ // 点击导出 downImg(target) { this.showBigEcharts(target); - // console.log(this.bigEachartsTest,'myChart') // this.bigEachartsTest.on('finished', function () { - // console.log(2222) // }); setTimeout(() => { - // console.log(this.bigEachartsTest,'myChart') - // var img = new Image(); // img.src = this.bigEacharts.getDataURL({ // pixelRatio: 2, @@ -520,7 +513,7 @@ }); }); }); - console.log(arr, "arr"); + // console.log(arr, "arr"); var param = { regionId: "ap-chengdu", instanceId: this.$route.query.instanceId, diff --git a/src/components/index.vue b/src/components/index.vue index 235f42c..8395f05 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -334,11 +334,10 @@ }, ChangeBGC() { // 给予gis的方法调用demo A - if(this.$refs["PathView"].hasOwnProperty('REFSFunctionToGis')) - this.$refs["PathView"].REFSFunctionToGis(this.flag); + if (this.$refs["PathView"].hasOwnProperty("REFSFunctionToGis")) + this.$refs["PathView"].REFSFunctionToGis(this.flag); // 给予gis的方法调用demo E - console.log(9999); let root = document.querySelector(":root"); if (this.flag) { root.style.setProperty("--color", "rgb(253, 44, 79)"); @@ -479,7 +478,7 @@ }) .catch(e => { dialogInfo.btLoading = false; - console.log(e); + // console.log(e); }); } }); diff --git a/src/components/newFiber/NewFiberSearch.vue b/src/components/newFiber/NewFiberSearch.vue index a81dedf..a1cb086 100644 --- a/src/components/newFiber/NewFiberSearch.vue +++ b/src/components/newFiber/NewFiberSearch.vue @@ -493,7 +493,7 @@ methods: { // 加载页面分组信息 loadFZData(event) { - console.log(event); + // console.log(event); this.loading = true; this.$http .get( @@ -624,7 +624,6 @@ this.$http .get(this.nozzle.siteGetHeads + `?siteNo=${this.currentSiteNo}`) .then(response => { - // console.log(response.data.data); // 加载表头 this.NFSNowDataTableHead = response.data.data; // 加载实时数据 @@ -650,8 +649,6 @@ this.NFSNowDataTableData = JSON.parse( JSON.stringify([response.data]) ); - // console.log(response.data); - // console.log(this.NFSNowDataTableData); // 通过state显示图标 if (response.data.state == 1) { // 异常 @@ -741,7 +738,7 @@ this.loading3 = false; // console.log(response.data.rows); this.HistoryTableData = response.data.rows; - console.log(1111111, this.HistoryTableData); + // console.log(1111111, this.HistoryTableData); this.DatagridDataLength = response.data.total; }) .catch(response => { @@ -1013,10 +1010,10 @@ // }, // 表单提交5 submitForm5(formName) { - console.log(1, this.$refs[formName]); + // console.log(1, this.$refs[formName]); this.$refs[formName].validate(valid => { if (valid) { - console.log(11111); + // console.log(11111); this.$http .post({ url: this.nozzle.surveyDataExporExcelOfSurverData, @@ -1050,7 +1047,7 @@ // message(response); }); } else { - console.log("error submit!!"); + // console.log("error submit!!"); return false; } }); diff --git a/src/components/site/previewOfSiteStatus.vue b/src/components/site/previewOfSiteStatus.vue index 00afbdd..13871be 100644 --- a/src/components/site/previewOfSiteStatus.vue +++ b/src/components/site/previewOfSiteStatus.vue @@ -381,14 +381,14 @@ name: "previewOfSiteStatus", components: { countTo }, //加载数字滚动插件 props: { - flag: { - type: Boolean, - default () { - return false - } - } - }, - data: function () { + flag: { + type: Boolean, + default() { + return false; + } + } + }, + data: function() { return { switchStatusData: this.flag, // 重新定义数据 timer: {}, //定时器 @@ -531,7 +531,7 @@ }); this.namelist[index].select = true; - console.log(this.platformtype, this.ChecksplatformCode); + // console.log(this.platformtype, this.ChecksplatformCode); this.platformtype = item.type; this.$http @@ -1016,14 +1016,14 @@ //"http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" "http://cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineCommunity_Mobile/MapServer" ); - _this.map.addLayer(this.arcgiswhiteMap); + _this.map.addLayer(this.arcgiswhiteMap); /* this.arcgiswhiteMap.hide() */ - this.arcgisMap = new ArcGISTiledMapServiceLayer( + this.arcgisMap = new ArcGISTiledMapServiceLayer( "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer" ); _this.map.addLayer(this.arcgisMap); - console.log("zzzzzzzzzzz " + this.switchStatusData) - this.REFSFunctionToGis(!this.switchStatusData) + // console.log("zzzzzzzzzzz " + this.switchStatusData); + this.REFSFunctionToGis(!this.switchStatusData); /* _this.map.on("zoom-end", function() { }); @@ -1181,17 +1181,17 @@ this.arcgisMap.show(); } else { //加载蓝色底图 - this.arcgisMap.hide() - this.arcgiswhiteMap.show() + this.arcgisMap.hide(); + this.arcgiswhiteMap.show(); } } }, computed: { - switchStatus: function () { - return this.flag // 直接监听props里的status状态 - } + switchStatus: function() { + return this.flag; // 直接监听props里的status状态 + } }, - mounted: function () { + mounted: function() { // 根据平台渲染站点数量统计及状态统计 this.loadSiteNumForOroject(); // 根据平台渲染项目设备总览