diff --git a/public/img/number_bg_blue.png b/public/img/number_bg_blue.png new file mode 100644 index 00000000..1a146721 Binary files /dev/null and b/public/img/number_bg_blue.png differ diff --git a/public/img/number_bg_green.png b/public/img/number_bg_green.png new file mode 100644 index 00000000..b42317e4 Binary files /dev/null and b/public/img/number_bg_green.png differ diff --git a/public/img/number_bg_orange.png b/public/img/number_bg_orange.png new file mode 100644 index 00000000..60a946aa Binary files /dev/null and b/public/img/number_bg_orange.png differ diff --git a/public/img/photon_top_line.png b/public/img/photon_top_line.png new file mode 100644 index 00000000..09c8e57d Binary files /dev/null and b/public/img/photon_top_line.png differ diff --git a/src/views/bigScreen/index_10dept.vue b/src/views/bigScreen/index_10dept.vue index a66903a9..fad518b1 100644 --- a/src/views/bigScreen/index_10dept.vue +++ b/src/views/bigScreen/index_10dept.vue @@ -11,7 +11,7 @@
-
今日任务
+
今日任务
@@ -24,27 +24,27 @@
-
昨日合格
+
昨日合格
- +
+ ZJ2 + 130 +
-
累计合格
+
累计合格
- +
+ ZT2 + 130 +
@@ -54,7 +54,7 @@
-
人员到岗 +
人员到岗
@@ -128,7 +128,7 @@
-
任务进度
+
任务进度
@@ -197,7 +197,7 @@
-
全年生产统计
+
全年生产统计
@@ -206,7 +206,7 @@
-
本月合格率统计
+
本月合格率统计
@@ -273,10 +273,9 @@ } .boxlabel { - width: 8px; - /* background: #49bcf7; - border-radius: 30%; - margin-right: 4px */ + margin-left: 6px; + font-size: 18px; + margin-top: 6px } .boxmain { @@ -348,7 +347,7 @@ export default { right: 0, data: [{ backgroundColor: 'rgb(1,235,239)', - name: 'Line 1', + name: '棒', itemStyle: { // color:'rgb(1,235,239)', color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ @@ -365,7 +364,7 @@ export default { color: '#fff' } }, { - name: 'Line 2', + name: '管', textStyle: { color: '#fff' } @@ -398,7 +397,7 @@ export default { { type: 'category', boundaryGap: true, - data: ['2日', '3日', '四日', '5日', '6日', '7日', '8日'], + data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], nameTextStyle: { color: '#ffffff' }, @@ -429,17 +428,18 @@ export default { ], series: [ { - name: 'Line 1', + name: '棒', type: 'bar', - stack: 'Total', - smooth: true, - lineStyle: { - width: 1, color: 'rgb(1,235,239)' + stack: 'Ad', + emphasis: { + focus: 'series' }, - - showSymbol: false, - areaStyle: { - opacity: 0.8, + label: { + show: true, + position: 'insideTop', + color:'#000' + }, + itemStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, @@ -448,25 +448,25 @@ export default { { offset: 1, color: 'rgb(5, 158, 163)' - } - ]) + }]) }, + data: [140, 232, 101, 264, 90, 340, 250, 232, 101, 264, 90, 340] + }, + { + name: '管', + type: 'bar', + stack: 'Ad', + barWidth: 30, emphasis: { focus: 'series' }, - data: [140, 232, 101, 264, 90, 340, 250] - }, - { - name: 'Line 2', - type: 'bar', - stack: 'Total', - smooth: true, - lineStyle: { - width: 0, color: 'rgb(250,205,0)' + label: { + show: true, + position: 'insideTop', + color:'#000' }, - showSymbol: false, - areaStyle: { - opacity: 0.8, + itemStyle: { + borderRadius: [5, 5, 0, 0], color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, @@ -478,10 +478,7 @@ export default { } ]) }, - emphasis: { - focus: 'series' - }, - data: [120, 282, 111, 234, 220, 340, 310] + data: [120, 282, 111, 234, 220, 340, 310, 282, 111, 234, 220, 340] }, ] }, @@ -561,53 +558,121 @@ export default { mounted() { let chart1Option = deepCopy(this.basicOption) let chart1 = this.setChart("chart1", chart1Option); - // let index1 = 0 - // this.chartInterval1 = setInterval(function () { - // if (index1 < chart1Option.series[0].data.length) { - // chart1.dispatchAction({ type: 'downplay', seriesIndex: 0 }); - // chart1.dispatchAction({ type: 'highlight', seriesIndex: 0, dataIndex: index1 }); - // chart1.dispatchAction({ type: 'showTip', seriesIndex: 0, dataIndex: index1 }); - - // chart1.dispatchAction({ type: 'downplay', seriesIndex: 0 }); - // chart1.dispatchAction({ type: 'highlight', seriesIndex: 0, dataIndex: index1 }); - // chart1.dispatchAction({ type: 'showTip', seriesIndex: 0, dataIndex: index1 }); - // index1++; - // } else { - // index1 = 0; - // } - // }, 3000); - let chart2Option = deepCopy(this.basicOption) - chart2Option.series[0].type = 'line' - chart2Option.series[1].type = 'line' - let chart2 = this.setChart("chart2", chart2Option) - let chart3Option = { + let chart2Option = deepCopy(this.basicOption); + chart2Option.xAxis = { + type: 'category', + boundaryGap: true, + data: ['1日','2日', '3日', '4日', '5日', '6日', '7日', '8日','9日','10日', '11日', '12日', '13日', '14日', '15日', '16日', '17日', '18日','19日','20日', '21日', '22日', '23日', '24日', '25日', '26日', '27日', '28日', '29日', '30日'], + nameTextStyle: { + color: '#ffffff' + }, + axisLabel: { + color: '#ffffff' + }, + }; + chart2Option.legend = { + icon: "stack", + right: 0, + data: [{ + backgroundColor: 'rgb(250,205,0)', + name: '合格率', + itemStyle: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(1,235,239)' + }, + { + offset: 1, + color: 'rgb(5, 158, 163)' + } + ]) + }, + textStyle: { + color: '#fff' + } + }], + }; + chart2Option.series=[{ + name: '合格率', + type: 'line', + smooth: true, + lineStyle: { + width: 1, color: 'rgb(1,235,239)' + }, + showSymbol: false, + areaStyle: { + opacity: 0.8, + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(1,235,239)' + }, + { + offset: 1, + color: 'rgb(5, 158, 163)' + } + ]) + }, + emphasis: { + focus: 'series' + }, + label: { + show: true, + position: 'top', + color:'#fff' + }, + itemStyle: { + borderRadius: [2, 2, 0, 0], + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(250,205,0)' + }, + { + offset: 1, + color: 'rgb(254,129,0)' + } + ]) + }, + data: [40, 60, 52, 64, 70, 53, 50,40, 32, 62, 64, 90, 50, 50,56, 49, 66, 64, 70, 58, 50,40, 59, 60, 64, 90, 40, 50, 70, 50] + }]; + this.setChart("chart2", chart2Option) + let chart3Option ={ backgroundColor: '', + tooltip: { + trigger: 'item' + }, legend: { - top: 'bottom' + top:'bottom', }, series: [ { - name: 'Nightingale Chart', - type: 'pie', - center: ['50%', '50%'], - roseType: 'area', + name: '完成率', + type: 'pie', + radius: '50%', + itemStyle: { + borderRadius: 2 + }, + center: ['50%', '45%'], + data: [ + { value: 1, name: '椭圆弯曲' }, + { value: 3, name: '大小头' }, + { value: 0, name: '偏壁' }, + { value: 5, name: '结石气线' }, + { value: 200, name: '合格' }, + ], + emphasis: { itemStyle: { - borderRadius: 8 - }, - data: [ - { value: 40, name: 'rose 1' }, - { value: 38, name: 'rose 2' }, - { value: 32, name: 'rose 3' }, - { value: 30, name: 'rose 4' }, - { value: 28, name: 'rose 5' }, - { value: 26, name: 'rose 6' }, - { value: 22, name: 'rose 7' }, - { value: 18, name: 'rose 8' } - ] + shadowBlur: 10, + shadowOffsetX: 0, + shadowColor: 'rgba(0, 0, 0, 0.5)' + } + } } ] - }; - let chart3 = this.setChart("chart3", chart3Option) + }; + this.setChart("chart3", chart3Option) }, methods: { diff --git a/src/views/bigScreen/index_6dept.vue b/src/views/bigScreen/index_6dept.vue index c2e89585..213b801d 100644 --- a/src/views/bigScreen/index_6dept.vue +++ b/src/views/bigScreen/index_6dept.vue @@ -1,7 +1,8 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/bigScreen/index_7dept.vue b/src/views/bigScreen/index_7dept.vue index bc73c332..0c39c486 100644 --- a/src/views/bigScreen/index_7dept.vue +++ b/src/views/bigScreen/index_7dept.vue @@ -1,7 +1,8 @@ - + \ No newline at end of file diff --git a/src/views/bigScreen/textIndex.vue b/src/views/bigScreen/textIndex.vue index 266cc1b0..444ade9b 100644 --- a/src/views/bigScreen/textIndex.vue +++ b/src/views/bigScreen/textIndex.vue @@ -8,29 +8,58 @@
-
+
-
模块一 +
+
本周交付率
-
+
-
模块二 +
+
本周合格数
-
+
-
模块三 +
+
本周合格率
-
+
+
+
+ + 枣庄 + {{ currentDay }}{{ currentWeek }}{{ currentTime }} + +
+
+
+ + AVG合格数 +
36520
+
+
+ + 预制棒合格数 +
36520
+
+
+ + 预制管合格数 +
36520
+
+
+ +