diff --git a/src/views/enm_cogeneration/report.vue b/src/views/enm_cogeneration/report.vue index 20da4af1..4d482a59 100644 --- a/src/views/enm_cogeneration/report.vue +++ b/src/views/enm_cogeneration/report.vue @@ -298,7 +298,7 @@ let yAxis = [ axisLine: { show: true, lineStyle: { - color: colors[2], + color: colors[3], }, }, axisLabel: { @@ -313,7 +313,7 @@ let yAxis = [ axisLine: { show: true, lineStyle: { - color: colors[4], + color: colors[2], }, }, axisLabel: { diff --git a/src/views/enm_limestone/report.vue b/src/views/enm_limestone/report.vue index 1f329d49..a540ff70 100644 --- a/src/views/enm_limestone/report.vue +++ b/src/views/enm_limestone/report.vue @@ -279,13 +279,13 @@ let yAxis = [ }, { type: "value", - name: "分布电耗(KW.h)", + name: "分布电耗(KW.h/t)", position: "right", alignTicks: true, axisLine: { show: true, lineStyle: { - color: colors[3], + color: colors[1], }, }, axisLabel: { diff --git a/src/views/enm_rmbase/report.vue b/src/views/enm_rmbase/report.vue index d458b86e..932cf244 100644 --- a/src/views/enm_rmbase/report.vue +++ b/src/views/enm_rmbase/report.vue @@ -279,10 +279,10 @@ let yAxis = [ }, { type: "value", - name: "运转率 (%)", - position: "right", + name: "台时产量(t/h)", + position: "left", alignTicks: true, - offset: 80, + offset: 70, axisLine: { show: true, lineStyle: { @@ -295,9 +295,10 @@ let yAxis = [ }, { type: "value", - name: "分布电耗(KW.h/t)", + name: "运转率 (%)", position: "right", alignTicks: true, + offset: 80, axisLine: { show: true, lineStyle: { @@ -310,10 +311,9 @@ let yAxis = [ }, { type: "value", - name: "台时产量(t/h)", - position: "left", + name: "分布电耗(KW.h/t)", + position: "right", alignTicks: true, - offset: 70, axisLine: { show: true, lineStyle: { @@ -391,19 +391,19 @@ export default { data: [], }, { - name: "运转率", - type: "line", + name: "台时产量", + type: "bar", yAxisIndex: 1, data: [], }, { - name: "分布电耗", - type: "bar", + name: "运转率", + type: "line", yAxisIndex: 2, data: [], }, { - name: "台时产量", + name: "分布电耗", type: "bar", yAxisIndex: 3, data: [], @@ -434,19 +434,19 @@ export default { data: [], }, { - name: "运转率", - type: "line", + name: "台时产量", + type: "bar", yAxisIndex: 1, data: [], }, { - name: "分布电耗", - type: "bar", + name: "运转率", + type: "line", yAxisIndex: 2, data: [], }, { - name: "台时产量", + name: "分布电耗", type: "bar", yAxisIndex: 3, data: [], @@ -490,203 +490,25 @@ export default { data: [], }, { - name: "运转率", - type: "line", + name: "台时产量", + type: "bar", yAxisIndex: 1, data: [], }, { - name: "分布电耗", - type: "bar", + name: "运转率", + type: "line", yAxisIndex: 2, data: [], }, { - name: "台时产量", + name: "分布电耗", type: "bar", yAxisIndex: 3, data: [], }, ], }, - dataX: [], - dataY: [], - dataY2: [], - option: { - color: [ - "#647bfe", - "#8698fe", - "#a9b6fe", - "#cbd3fe", - "#91CC75", - "#EE6666", - ], - tooltip: { - trigger: "axis", - axisPointer: { - type: "cross", - }, - }, - grid: { - right: "20%", - left: "20%", - }, - toolbox: { - feature: { - dataView: { show: true, readOnly: false }, - restore: { show: true }, - saveAsImage: { show: true }, - }, - }, - legend: { - data: [ - "总产量", - "台时产量", - "运转率", - "分布电耗", - "单位产品标煤耗", - "成本", - ], - }, - xAxis: [ - { - type: "category", - axisTick: { - alignWithLabel: true, - }, - // prettier-ignore - data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], - }, - ], - yAxis: [ - { - type: "value", - name: "产量 (t)", - position: "right", - alignTicks: true, - axisLine: { - show: true, - lineStyle: { - color: colors[0], - }, - }, - axisLabel: { - formatter: "{value}", - }, - }, - { - type: "value", - name: "运转率 (%)", - position: "right", - alignTicks: true, - offset: 80, - axisLine: { - show: true, - lineStyle: { - color: colors[1], - }, - }, - axisLabel: { - formatter: "{value}", - }, - }, - { - type: "value", - name: "成本(元)", - position: "right", - alignTicks: true, - offset: 160, - axisLine: { - show: true, - lineStyle: { - color: colors[2], - }, - }, - axisLabel: { - formatter: "{value}", - }, - }, - { - type: "value", - name: "分布电耗(KW.h)", - position: "left", - alignTicks: true, - axisLine: { - show: true, - lineStyle: { - color: colors[3], - }, - }, - axisLabel: { - formatter: "{value} ", - }, - }, - { - type: "value", - name: "标煤耗 (t)", - position: "left", - alignTicks: true, - offset: 80, - min: 0, - max: 180, - axisLine: { - show: true, - lineStyle: { - color: colors[4], - }, - }, - axisLabel: { - formatter: "{value}", - }, - }, - ], - series: [ - { - name: "总产量", - type: "bar", - yAxisIndex: 0, - data: [ - 100, 120, 110, 130, 140, 120, 110, 120, 100, 150, - 120, 160, - ], - }, - { - name: "台时产量", - type: "bar", - data: [ - 2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, - 20.0, 6.4, 3.3, - ], - }, - { - name: "运转率", - type: "bar", - yAxisIndex: 1, - data: [ - 2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, - 18.8, 6.0, 2.3, - ], - }, - { - name: "分布电耗", - type: "line", - yAxisIndex: 2, - data: [ - 2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, - 16.5, 12.0, 6.2, - ], - }, - { - name: "单位产品标煤耗", - type: "bar", - yAxisIndex: 2, - data: [ - 2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, - 16.5, 12.0, 6.2, - ], - }, - ], - }, }; },