chenrui  1 éve
szülő
commit
2bcfadd953
1 módosított fájl, 17 hozzáadás és 13 törlés
  1. 17 13
      src/views/echartPage/index.vue

+ 17 - 13
src/views/echartPage/index.vue

@@ -42,8 +42,8 @@ const barOption = {
       boundaryGap: false,
       axisLine:{
         lineStyle:{
-          color:'red',
-          width:2
+          color:'#000000',
+          width:1
         }
       },
       splitLine: {  
@@ -59,9 +59,9 @@ const barOption = {
     {
       type: 'value',
         //y轴颜色
-      axisLine: { 
+      axisLine: {
         lineStyle: {   // Y 轴颜色配置
-          color: '#3366CC'  
+          color: '#000000'  
         } 
       },
       splitArea: {
@@ -70,7 +70,7 @@ const barOption = {
       splitLine: {
         show:false,     //y网格线
         lineStyle:{
-          color: '#ffffff'
+          color: '#000000'
         }
       },
     }
@@ -93,14 +93,14 @@ const barOption = {
       stack: 'Total',
       areaStyle: {},
       symbol: 'circle',
-      itemStyle: {
-        normal: {
-          color: "#1F824E", //改变折线点的颜色
-          lineStyle: {
-            color: "#1F824E", //改变折线颜色
-          },
-        },
-      },
+      // itemStyle: {
+      //   normal: {
+      //     color: "#1F824E", //改变折线点的颜色
+      //     lineStyle: {
+      //       color: "#1F824E", //改变折线颜色
+      //     },
+      //   },
+      // },
       // emphasis: {
       //   focus: 'series'
       // },
@@ -374,6 +374,10 @@ export default {
       //获取页面权限类型组件  pagetype 1模块  2页面  3按钮 4表格 5树形  6弹窗 
       const pageAuths = this.authArrs
       if (!pageAuths.length) return
+      //获取当前页面权限类型
+      const pageAuthArrs = pageAuths.filter(item => item['superiorid'] == auth_id)
+      if (!pageAuthArrs.length) return
+      console.log(pageAuthArrs)
     },
     //处理数据1模式
     processingdata (data) {