소스 검색

看板调整

yanghao 1 주 전
부모
커밋
7f88b8a707
1개의 변경된 파일23개의 추가작업 그리고 1개의 파일을 삭제
  1. 23 1
      src/views/pms/qhse/kanban/index.vue

+ 23 - 1
src/views/pms/qhse/kanban/index.vue

@@ -407,7 +407,7 @@ function getHazardChartOption(): echarts.EChartsOption {
       nameLocation: 'end',
       nameGap: 13,
       nameTextStyle: {
-        color: '#8a9bb5',
+        color: '#657897',
         fontSize: 12,
         // fontWeight: 600,
         fontFamily: FONT_FAMILY
@@ -524,6 +524,15 @@ function getSafeDayChartOption(): echarts.EChartsOption {
     }),
     xAxis: {
       type: 'value',
+      name: '安全生产天数',
+      nameLocation: 'middle',
+      nameGap: 30,
+      nameTextStyle: {
+        color: '#5b6f8f',
+        fontSize: 12,
+        fontWeight: 600,
+        fontFamily: FONT_FAMILY
+      },
       axisLine: { show: false },
       axisTick: { show: false },
       axisLabel: {
@@ -717,6 +726,19 @@ function destroyQhseTrendChart() {
 function getSocChartOption(): echarts.EChartsOption {
   return {
     ...ANIMATION,
+    title: {
+      text: 'SOC',
+      left: '34%',
+      top: '54%',
+      textAlign: 'center',
+      textVerticalAlign: 'middle',
+      textStyle: {
+        color: '#3d5f94',
+        fontSize: 24,
+        fontWeight: 800,
+        fontFamily: FONT_FAMILY
+      }
+    },
     tooltip: createTooltip({
       trigger: 'item',
       confine: true,