Browse Source

删除console

zhbyyy 1 year ago
parent
commit
845d5323a6
1 changed files with 0 additions and 35 deletions
  1. 0 35
      investment/js/investHomeGroup.js

+ 0 - 35
investment/js/investHomeGroup.js

@@ -1582,7 +1582,6 @@ let app = new Vue({
     },
     // 找项目编码
     findProjectCode (a, b, type, e) {
-      console.log(a, b, type, this.originalConfig6, e.rowIndex)
       if (type == 'center') {
         return this.originalConfig6[e.rowIndex].projectno
         // let c = this.originalConfig6.find(item => {
@@ -1611,7 +1610,6 @@ let app = new Vue({
     },
     // 去项目看板
     goLookBoard (e, f) {
-      console.log(e, f, '看看E')
       if (f) {
         this.boardType = f
       }
@@ -2610,7 +2608,6 @@ let app = new Vue({
           crosshairs: false,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           // useHTML: false, //开启html模式
           style: {
@@ -2858,7 +2855,6 @@ let app = new Vue({
           crosshairs: true,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           useHTML: false, //开启html模式
           style: {
@@ -2867,7 +2863,6 @@ let app = new Vue({
             fontFamily: 'Microsoft YaHei'
           },
           formatter: function (e) {
-            //console.log(this)
             let num = chartData[this.colorIndex].num
             this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
             return `${this.key}:<b>${this.percentage}%</b><br/><b>${that.numFormat(this.y)}</b>亿,<b>${that.numFormat(num)}个</b>`
@@ -2900,7 +2895,6 @@ let app = new Vue({
                 that.showChartLTipDouble(e.point.name, 'left', '投资计划分析', e.point.name, '', '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                //console.log(e) 
                 chartData.forEach((item, index) => {
                   item.sliced = false
                   item.selected = false
@@ -2968,7 +2962,6 @@ let app = new Vue({
                         point: {
                           events: {
                             click: function (e) {
-                              console.log(e)
                             }
                           }
                         },
@@ -3226,7 +3219,6 @@ let app = new Vue({
               }, 2000);
             },
             legendItemClick: function (event) {
-              console.log(event);
               return true;
             }
           }
@@ -3268,7 +3260,6 @@ let app = new Vue({
           crosshairs: true,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           useHTML: false, //开启html模式
           style: {
@@ -3277,7 +3268,6 @@ let app = new Vue({
             fontFamily: 'Microsoft YaHei'
           },
           formatter: function (e) {
-            //console.log(this)
             let num = chartData[this.colorIndex].num
             this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
             return `${this.key}:<b>${this.percentage}%</b><br/><b>${that.numFormat(this.y)}</b>亿,<b>${that.numFormat(num)}个</b>`
@@ -3310,7 +3300,6 @@ let app = new Vue({
                 // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                //console.log(e) 
                 chartData.forEach((item, index) => {
                   item.sliced = false
                   item.selected = false
@@ -3438,7 +3427,6 @@ let app = new Vue({
               }, 2000);
             },
             legendItemClick: function (event) {
-              console.log(event);
               return true;
             }
           }
@@ -3480,7 +3468,6 @@ let app = new Vue({
           crosshairs: true,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           useHTML: false, //开启html模式
           style: {
@@ -3489,7 +3476,6 @@ let app = new Vue({
             fontFamily: 'Microsoft YaHei'
           },
           formatter: function (e) {
-            //console.log(this)
             let num = chartData[this.colorIndex].num
             this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
             return `${this.key}:<b>${this.percentage}%</b><br/><b>${that.numFormat(this.y)}</b>亿,<b>${that.numFormat(num)}个</b>`
@@ -3521,7 +3507,6 @@ let app = new Vue({
                 that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '战略性新兴产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                //console.log(e) 
                 chartData.forEach((item, index) => {
                   item.sliced = false
                   item.selected = false
@@ -3647,7 +3632,6 @@ let app = new Vue({
               }, 2000);
             },
             legendItemClick: function (event) {
-              console.log(event);
               return true;
             }
           }
@@ -3689,7 +3673,6 @@ let app = new Vue({
           crosshairs: true,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           useHTML: false, //开启html模式
           style: {
@@ -3698,7 +3681,6 @@ let app = new Vue({
             fontFamily: 'Microsoft YaHei'
           },
           formatter: function (e) {
-            //console.log(this)
             let num = chartData[this.colorIndex].num
             this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
             return `${this.key}:<b>${this.percentage}%</b><br/><b>${that.numFormat(this.y)}</b>亿,<b>${that.numFormat(num)}个</b>`
@@ -3730,7 +3712,6 @@ let app = new Vue({
                 that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '特色优势产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                //console.log(e) 
                 chartData.forEach((item, index) => {
                   item.sliced = false
                   item.selected = false
@@ -3857,7 +3838,6 @@ let app = new Vue({
               }, 2000);
             },
             legendItemClick: function (event) {
-              console.log(event);
               return true;
             }
           }
@@ -3899,7 +3879,6 @@ let app = new Vue({
           crosshairs: true,
           backgroundColor: 'rgba(0,0,0,0.5)',
           // positioner: function(e){
-          //   console.log(e, this)
           // },
           useHTML: false, //开启html模式
           style: {
@@ -3908,7 +3887,6 @@ let app = new Vue({
             fontFamily: 'Microsoft YaHei'
           },
           formatter: function (e) {
-            //console.log(this)
             let num = chartData[this.colorIndex].num
             this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
             return `${this.key}:<b>${this.percentage}%</b><br/><b>${that.numFormat(this.y)}</b>亿,<b>${that.numFormat(num)}个</b>`
@@ -3940,7 +3918,6 @@ let app = new Vue({
                 that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '公共基础等产业', e.point.name, '', '', '', '', '', '', 215)
               },
               mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                //console.log(e) 
                 chartData.forEach((item, index) => {
                   item.sliced = false
                   item.selected = false
@@ -4524,7 +4501,6 @@ let app = new Vue({
                 }, 2000);
               },
               legendItemClick: function (event) {
-                console.log(event);
                 return true;
               }
             }
@@ -4597,7 +4573,6 @@ let app = new Vue({
                   that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.options.typeno, 'industry', e.point.options.typeno, 1, 112)
                 },
                 mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                  //console.log(e) 
                   chartData.forEach((item, index) => {
                     item.sliced = false
                     item.selected = false
@@ -4700,7 +4675,6 @@ let app = new Vue({
             yAxis: [],
           };
           for (let i = 0; i < data.length; i++) {
-            // console.log([70 - i * 15 + '%', 67 - i * 15 + '%']);
             res.series.push({
               name: "",
               type: "pie",
@@ -4817,7 +4791,6 @@ let app = new Vue({
             itemGap: 25,
             formatter: function (data) {
               let a = center2.find(item => item.name == data)
-              console.log(a)
               // return `${data}<br/><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${a.color}"></span> ${a.value}亿 <br/><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${a.color}"></span> ${a.num}个`
               return `${data}<br/>`
             },
@@ -4861,7 +4834,6 @@ let app = new Vue({
           //     fontWeight: 'normal',    // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
           //   },
           //   formatter: data => {
-          //     console.log(data)
           //     // 小圆点
           //     return `<br /><span style="display:inline-block;border-radius:50%;margin-right:10px; width:7px;height:7px;background-color:blue"></span>${data.name}:${data.percent}`
           //   },
@@ -5123,7 +5095,6 @@ let app = new Vue({
       //   let start = myChart.getModel().option.xAxis[0].data[startValue];//起始X轴
       //   let end = myChart.getModel().option.xAxis[0].data[endValue];//结束X轴
       //   // 每次向后滚动一个,最后一个从头开始。
-      //   // console.log(option.dataZoom[0].endValue);
 
       //   if (option.dataZoom[0].endValue >= 12) {
       //     option.dataZoom[0].endValue = 5
@@ -5705,7 +5676,6 @@ let app = new Vue({
                 }, 2000);
               },
               legendItemClick: function (event) {
-                console.log(event);
                 return true;
               }
             }
@@ -5720,7 +5690,6 @@ let app = new Vue({
             crosshairs: true,
             backgroundColor: 'rgba(0,0,0,0.5)',
             // positioner: function(e){
-            //   console.log(e, this)
             // },
             useHTML: false, //开启html模式
             style: {
@@ -5729,7 +5698,6 @@ let app = new Vue({
               fontFamily: 'Microsoft YaHei'
             },
             formatter: function (e) {
-              //console.log(this)
               let num = chartData[this.colorIndex].num
               this.percentage = Math.round(this.percentage)
               return `${this.key}:<b>${this.percentage}%</b><br/>投资完成额:<b>${this.y}</b>亿<br/>投资数量:<b>${num}个</b>`
@@ -5775,7 +5743,6 @@ let app = new Vue({
                   that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'keyIndicators', e.point.options.typeno, 'state', e.point.name == '新建' ? 'new' : 'renew', 1, 116)
                 },
                 mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
-                  //console.log(e) 
                   chartData.forEach((item, index) => {
                     item.sliced = false
                     item.selected = false
@@ -6270,7 +6237,6 @@ let app = new Vue({
           }
         })
       })
-      console.log(right5,'修正以后的数据')
       const itemStyle = {
         // opacity: 0.8,
         shadowBlur: 10,
@@ -6560,7 +6526,6 @@ let app = new Vue({
         ]
       }
       that.right2Chart.on('click', function (param) {
-        console.log(param.seriesName, '?????????')
         if (that.versions) {
           that.rightAdd.modelName = 1
           that.rightAdd.substraction = param.seriesName == '正偏差' ? 1 : param.seriesName == '容差' ? 2 : 3