liyongli 2 년 전
부모
커밋
d157c71b4e
4개의 변경된 파일1개의 추가작업 그리고 24개의 파일을 삭제
  1. BIN
      src/assets/image/shou.gif
  2. 0 1
      src/main.js
  3. 1 22
      src/views/report/Advertisement/Charts.js
  4. 0 1
      src/views/report/Traditional/index.vue

BIN
src/assets/image/shou.gif


+ 0 - 1
src/main.js

@@ -9,7 +9,6 @@ Vue.use(ElementUI);
 
 router.beforeEach((to, from, next) => {
   if (to.meta.title) document.title = to.meta.title;
-  console.log(to.path)
   if (to.path === '/traditional' || to.path === '/advertisement' || to.path === '/Mobile') return next();
   if (!localStorage.user) {
     // apply 必须拿到oa用户数据

+ 1 - 22
src/views/report/Advertisement/Charts.js

@@ -54,7 +54,7 @@ export function advertisementSpendInit(ele, list) {
         },
         label: {
           // 柱图头部显示值
-          show: false,
+          show: true,
           position: "top",
           color: "#333",
           fontSize: "12px",
@@ -72,27 +72,6 @@ export function advertisementSpendInit(ele, list) {
       },
     ],
   });
-  barEcharts.on("brushSelected", function (params) {
-    var brushed = [];
-    var brushComponent = params.batch[0];
-    for (var sIdx = 0; sIdx < brushComponent.selected.length; sIdx++) {
-      var rawIndices = brushComponent.selected[sIdx].dataIndex;
-      brushed.push("[Series " + sIdx + "] " + rawIndices.join(", "));
-    }
-    barEcharts.setOption({
-      title: {
-        backgroundColor: "#333",
-        text: "SELECTED DATA INDICES: \n" + brushed.join("\n"),
-        bottom: 0,
-        right: "10%",
-        width: 100,
-        textStyle: {
-          fontSize: 12,
-          color: "#fff",
-        },
-      },
-    });
-  });
 }
 
 export function advertisementRingRatioInit(ele, list) {

+ 0 - 1
src/views/report/Traditional/index.vue

@@ -304,7 +304,6 @@ export default {
       end: lasetDay.format("YYYYMMDD"),
     })
       .then(res => {
-        console.log(res);
         const title = {
           company: res.company || "",
           name: res.name || "",