修改看板

master
夜笙歌 11 months ago
parent e60b379e97
commit 3281005500

@ -269,9 +269,11 @@
"value17": "100", "value17": "100",
"value18": "100", "value18": "100",
"value19": "100" "value19": "100"
}, }
],
"table32": [
{ {
"value1": "7", "value1": "1",
"value2": "A-07", "value2": "A-07",
"value3": "生产中", "value3": "生产中",
"value4": "1000", "value4": "1000",
@ -292,7 +294,7 @@
"value19": "100" "value19": "100"
}, },
{ {
"value1": "8", "value1": "2",
"value2": "A-08", "value2": "A-08",
"value3": "生产中", "value3": "生产中",
"value4": "1000", "value4": "1000",
@ -313,7 +315,7 @@
"value19": "100" "value19": "100"
}, },
{ {
"value1": "9", "value1": "3",
"value2": "A-09", "value2": "A-09",
"value3": "生产中", "value3": "生产中",
"value4": "1000", "value4": "1000",
@ -334,7 +336,7 @@
"value19": "100" "value19": "100"
}, },
{ {
"value1": "10", "value1": "4",
"value2": "A-010", "value2": "A-010",
"value3": "生产中", "value3": "生产中",
"value4": "1000", "value4": "1000",
@ -353,6 +355,48 @@
"value17": "100", "value17": "100",
"value18": "100", "value18": "100",
"value19": "100" "value19": "100"
},
{
"value1": "5",
"value2": "A-11",
"value3": "生产中",
"value4": "1000",
"value5": "1000%",
"value6": "100%",
"value7": "100",
"value8": "100",
"value9": "100",
"value10": "100",
"value11": "100",
"value12": "100",
"value13": "100",
"value14": "100",
"value15": "100",
"value16": "100",
"value17": "100",
"value18": "100",
"value19": "100"
},
{
"value1": "6",
"value2": "A-12",
"value3": "生产中",
"value4": "1000",
"value5": "1000%",
"value6": "100%",
"value7": "100",
"value8": "100",
"value9": "100",
"value10": "100",
"value11": "100",
"value12": "100",
"value13": "100",
"value14": "100",
"value15": "100",
"value16": "100",
"value17": "100",
"value18": "100",
"value19": "100"
} }
], ],
"table4": [ "table4": [
@ -769,12 +813,10 @@
}, },
"chart5": { "chart5": {
"x": [ "x": [
"1", "A1",
"2", "A2",
"3", "B1",
"4", "B2"
"5",
"6"
], ],
"y": [ "y": [
{ {
@ -783,8 +825,6 @@
10.5, 10.5,
8, 8,
11, 11,
10.5,
11.6,
10.5 10.5
] ]
}, },
@ -794,9 +834,7 @@
9.8, 9.8,
11, 11,
9.5, 9.5,
10, 10
10.3,
10.6
] ]
} }
] ]
@ -1232,21 +1270,20 @@
"A-10" "A-10"
], ],
"y": { "y": {
"name": "箱壳", "name": "箱壳",
"data": [ "data": [
922, 922,
580, 580,
253, 253,
630, 630,
555, 555,
177, 177,
389, 389,
324, 324,
831, 831,
681 681
] ]
} }
}, },
"foamFixtureState": { "foamFixtureState": {
"x": [ "x": [
@ -1254,14 +1291,40 @@
"停止", "停止",
"故障" "故障"
], ],
"y": { "y": [
"name": "数量", {
"data": [ "name": "A",
163, "data": [
12, 5,
2 1,
] 3
} ]
},
{
"name": "B",
"data": [
2,
5,
2
]
},
{
"name": "C",
"data": [
4,
3,
6
]
},
{
"name": "D",
"data": [
3,
8,
2
]
}
]
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

@ -112,7 +112,7 @@ export default {
}, },
{ {
top: 70.5, top: 70.5,
left: 53 left: 68.5
}, },
], ],
team: '白班', team: '白班',
@ -134,7 +134,7 @@ export default {
} }
}, },
mounted() { mounted() {
getData().then(e=>{ getData().then(e => {
this.scrollTableData = e.table1 this.scrollTableData = e.table1
this.$refs.chart1.setData({ this.$refs.chart1.setData({
tooltip: { tooltip: {
@ -152,7 +152,7 @@ export default {
containLabel: true, containLabel: true,
}, },
legend: { legend: {
data: e.chart1.y.map(val=>val.name), data: e.chart1.y.map(val => val.name),
right: 'center', right: 'center',
top: 0, top: 0,
textStyle: { textStyle: {
@ -665,17 +665,18 @@ export default {
left: 0; left: 0;
} }
.centerBg{ .centerBg {
background-image: url("../../../assets/board/model2.png"); background-image: url("../../../assets/board/model2.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
transform: translate(-50%,-50%); transform: translate(-50%, -50%);
top: 52%; top: 52%;
left: 49%; left: 49%;
width: 98%; width: 98%;
height: 93%; height: 93%;
} }
.headTitle { .headTitle {
position: absolute; position: absolute;
top: 5%; top: 5%;
@ -754,15 +755,15 @@ export default {
position: absolute; position: absolute;
top: 74%; top: 74%;
left: 3.6%; left: 3.6%;
width: 45.5%; width: 29.5%;
height: 20.7%; height: 20.7%;
} }
.chart3 { .chart3 {
position: absolute; position: absolute;
top: 74%; top: 74%;
left: 51%; left: 67%;
width: 45.5%; width: 29.5%;
height: 20.7%; height: 20.7%;
} }
</style> </style>

@ -12,6 +12,9 @@
<div class="scrollTable"> <div class="scrollTable">
<div style="background-color: #094170"> <div style="background-color: #094170">
<div class="scrollTableItem" style="font-weight: bold;">
计划工单
</div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
产品型号 产品型号
</div> </div>
@ -19,13 +22,16 @@
计划数量 计划数量
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
实际数量 前板计划
</div>
<div class="scrollTableItem" style="font-weight: bold;">
后板计划
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
生产进度 生产进度
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
开始时间 计划时间
</div> </div>
</div> </div>
<vue-seamless-scroll <vue-seamless-scroll
@ -60,6 +66,14 @@
class="scrollTableItem"> class="scrollTableItem">
{{ item.value5 }} {{ item.value5 }}
</div> </div>
<div
class="scrollTableItem">
{{ item.value5 }}
</div>
<div
class="scrollTableItem">
{{ item.value5 }}
</div>
</div> </div>
</div> </div>
</vue-seamless-scroll> </vue-seamless-scroll>
@ -487,7 +501,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
width: 20%; width:calc(100% / 7);
} }
.chart1 { .chart1 {

@ -9,7 +9,7 @@
<div class="scrollTable"> <div class="scrollTable">
<div style="background-color: #094170"> <div style="background-color: #094170">
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
订单
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
产品型号 产品型号
@ -18,13 +18,13 @@
计划数量 计划数量
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
完成数量 上线数量
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
生产进度 上线进度
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;"> <div class="scrollTableItem" style="font-weight: bold;">
开始时间 计划时间
</div> </div>
</div> </div>
<vue-seamless-scroll <vue-seamless-scroll
@ -144,7 +144,7 @@ export default {
containLabel: true, containLabel: true,
}, },
xAxis: { xAxis: {
data: e.chart4.x, data: e.chart3.x,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "#3d5269", color: "#3d5269",
@ -212,7 +212,7 @@ export default {
position: "top", position: "top",
}, },
}, },
data: e.chart4.y.data, data: e.chart3.y.data,
}, },
], ],
}) })

@ -5,6 +5,9 @@
<div class="topNum practicalNum">{{ practicalNum }}</div> <div class="topNum practicalNum">{{ practicalNum }}</div>
<div class="topNum differenceValue">{{ differenceValue }}</div> <div class="topNum differenceValue">{{ differenceValue }}</div>
<div class="supplementInfo">注射压力标准范围10.0-12.0Mpa AB组份枪头压力差1Mpa</div>
<div class="supplementInfo1">发泡料温度标准范围:18.0-24.0</div>
<div class="scrollTable"> <div class="scrollTable">
<div style="background-color: #094170"> <div style="background-color: #094170">
<div class="scrollTableItem" style="font-weight: bold;width: 20%"> <div class="scrollTableItem" style="font-weight: bold;width: 20%">
@ -71,76 +74,231 @@
<div class="chart4"> <div class="chart4">
<Chart ref="chart4"></Chart> <Chart ref="chart4"></Chart>
</div> </div>
<div class="scrollTable1"> <transition name="table1">
<div style="background-color: #094170"> <div class="scrollTable1" v-if="show">
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> <div style="background-color: #094170; height: calc(25vh/7)">
工位 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 工位
<div class="scrollTableItem" style="font-weight: bold;width: 8%"> </div>
型号 <div class="scrollTableItem" style="font-weight: bold;width: 8%">
</div> 型号
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
状态 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 状态
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
目标 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 目标
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
计划 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 计划
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
累计 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 累计
<div class="scrollTableItem" style="font-weight: bold;width: 7%"> </div>
达成率 <div class="scrollTableItem" style="font-weight: bold;width: 7%">
</div> 达成率
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
7:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 7:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
8:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 8:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
9:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 9:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
10:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 10:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
11:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 11:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
12:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 12:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
13:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 13:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
14:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 14:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
15:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 15:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
16:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
</div> 16:30
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> </div>
17:30 <div class="scrollTableItem" style="font-weight: bold;width: 5%">
17:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
18:30
</div>
</div> </div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> <!-- <vue-seamless-scroll-->
18:30 <!-- :class-option="scrollTableOption"-->
<!-- :data="scrollTableData1"-->
<!-- class="case-item"-->
<!-- style="height: 84%;overflow: hidden;"-->
<!-- >-->
<div
v-for="(item, index) in scrollTableData1"
:key="index"
style="height: calc(25vh/7)"
>
<div :style='"background-color:" + ((index % 2 === 0)? "#053460":"#032d57") '>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value1 }}
</div>
<div
class="scrollTableItem" style="width: 8%">
{{ item.value2 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value3 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value4 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value5 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value6 }}
</div>
<div
class="scrollTableItem" style="width: 7%">
{{ item.value7 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value8 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value9 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value10 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value11 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value12 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value13 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value14 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value15 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value16 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value17 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value18 }}
</div>
<div
class="scrollTableItem" style="width: 5%">
{{ item.value19 }}
</div>
</div>
</div> </div>
<!-- </vue-seamless-scroll>-->
</div> </div>
<vue-seamless-scroll </transition>
:class-option="scrollTableOption" <transition name="table2">
:data="scrollTableData1" <div class="scrollTable1" v-if="!show">
class="case-item" <div style="background-color: #094170;height: calc(25vh/7)">
style="height: 84%;overflow: hidden;" <div class="scrollTableItem" style="font-weight: bold;width: 5%">
> 工位
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 8%">
型号
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
状态
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
目标
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
计划
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
累计
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 7%">
达成率
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
7:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
8:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
9:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
10:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
11:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
12:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
13:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
14:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
15:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
16:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
17:30
</div>
<div class="scrollTableItem" style="font-weight: bold;width: 5%">
18:30
</div>
</div>
<!-- <vue-seamless-scroll-->
<!-- :class-option="scrollTableOption"-->
<!-- :data="scrollTableData1"-->
<!-- class="case-item"-->
<!-- style="height: 84%;overflow: hidden;"-->
<!-- >-->
<div <div
v-for="(item, index) in scrollTableData1" v-for="(item, index) in scrollTableData2"
:key="index" :key="index"
style="height: calc(25vh/7)"
> >
<div :style='"background-color:" + ((index % 2 === 0)? "#053460":"#032d57") '> <div :style='"background-color:" + ((index % 2 === 0)? "#053460":"#032d57") '>
<div <div
@ -221,8 +379,9 @@
</div> </div>
</div> </div>
</div> </div>
</vue-seamless-scroll> <!-- </vue-seamless-scroll>-->
</div> </div>
</transition>
<div class="total"> <div class="total">
<div style="background-color: #094170"> <div style="background-color: #094170">
<div class="scrollTableItem" style="font-weight: bold;width: 5%"> <div class="scrollTableItem" style="font-weight: bold;width: 5%">
@ -300,6 +459,7 @@ export default {
name: "Liner", name: "Liner",
data() { data() {
return { return {
show: true,
planNum: 1000, planNum: 1000,
practicalNum: 1000, practicalNum: 1000,
differenceValue: 1000, differenceValue: 1000,
@ -315,12 +475,17 @@ export default {
}, },
scrollTableData: [], scrollTableData: [],
scrollTableData1: [], scrollTableData1: [],
scrollTableData2: [],
} }
}, },
mounted() { mounted() {
getData().then(e=>{ let timeInter = setInterval(() => {
this.show = !this.show
}, 30 * 1000)
getData().then(e => {
this.scrollTableData = e.table2 this.scrollTableData = e.table2
this.scrollTableData1 = e.table3 this.scrollTableData1 = e.table3
this.scrollTableData2 = e.table32
this.$refs.chart1.setData({ this.$refs.chart1.setData({
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
@ -337,7 +502,7 @@ export default {
containLabel: true, containLabel: true,
}, },
legend: { legend: {
data: e.chart5.y.map(val=>val.name), data: e.chart5.y.map(val => val.name),
right: 'center', right: 'center',
top: 0, top: 0,
textStyle: { textStyle: {
@ -484,7 +649,7 @@ export default {
}, },
series: [ series: [
{ {
name: e.chart3.y.name, name: e.chart3.y.name,
type: "bar", type: "bar",
barWidth: "40%", barWidth: "40%",
label: { label: {
@ -509,13 +674,13 @@ export default {
borderRadius: 3, borderRadius: 3,
}, },
}, },
data: e.chart3.y.data, data: e.chart3.y.data,
}, },
], ],
}) })
this.$refs.chart3.setData({ this.$refs.chart3.setData({
legend: { legend: {
data: e.chart6.y.map(val=>val.name), data: e.chart6.y.map(val => val.name),
right: 'center', right: 'center',
top: 0, top: 0,
textStyle: { textStyle: {
@ -563,6 +728,7 @@ export default {
}, },
xAxis: [ xAxis: [
{ {
show: false,
type: "category", type: "category",
axisLine: { axisLine: {
show: true, show: true,
@ -616,9 +782,7 @@ export default {
{ {
name: e.chart6.y[0].name, name: e.chart6.y[0].name,
type: "line", type: "line",
// smooth: true, //
showAllSymbol: true, showAllSymbol: true,
// symbol: 'image://./static/images/guang-circle.png',
symbol: "circle", symbol: "circle",
symbolSize: 5, symbolSize: 5,
lineStyle: { lineStyle: {
@ -908,4 +1072,47 @@ export default {
width: 68%; width: 68%;
height: 3%; height: 3%;
} }
.table1-enter-active {
animation: table-in .5s;
}
.table1-leave-active {
animation: table-in .5s reverse;
}
.table2-enter-active {
animation: table-in .5s;
}
.table2-leave-active {
animation: table-in .5s reverse;
}
@keyframes table-in {
0% {
opacity: 0;
transform: scale(0);
}
100% {
opacity: 1;
transform: scale(1);
}
}
.supplementInfo {
position: absolute;
top: 35.5%;
left: 73.6%;
font-size: 0.7vw;
color: #fff;
}
.supplementInfo1 {
position: absolute;
top: 59%;
left: 73.6%;
font-size: 0.7vw;
color: #fff;
}
</style> </style>

@ -425,6 +425,17 @@ export default {
], ],
}) })
this.$refs.chart4.setData({ this.$refs.chart4.setData({
legend: {
data: e.liner.foamFixtureState.y.map(val => val.name),
right: 'center',
top: 0,
textStyle: {
color: "#fff",
},
itemWidth: 12,
itemHeight: 10,
// itemGap: 35
},
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
axisPointer: { axisPointer: {
@ -469,11 +480,11 @@ export default {
}, },
axisLabel: {}, axisLabel: {},
}, },
series: [ series: e.liner.foamFixtureState.y.map(val => {
{ return {
name: e.liner.foamFixtureState.y.name, name: val.name,
type: "bar", type: "bar",
barWidth: "30%", barWidth: 100 / (e.liner.foamFixtureState.y.length + 2) + "%",
barMaxWidth: 50, barMaxWidth: 50,
itemStyle: { itemStyle: {
normal: { normal: {
@ -489,9 +500,9 @@ export default {
]), ]),
}, },
}, },
data: e.liner.foamFixtureState.y.data, data: val.data,
}, }
], })
}) })
}) })
}, },
@ -535,8 +546,9 @@ export default {
.title { .title {
position: absolute; position: absolute;
transform: translateY(-50%); transform: translateY(-50%);
color: #5db9e8; color: #dddddd;
font-size: 0.9vw; font-size: 1vw;
letter-spacing: 2px;
} }
.topNum { .topNum {

@ -0,0 +1,209 @@
<template>
<div class="app-container">
<div class="headTitle">综合安全生产平台</div>
<div class="title" v-for="(i,k) in title"
:style="'top:'+(titlePosition[k]&&titlePosition[k].top||0)+'%;left:'+(titlePosition[k]&&titlePosition[k].left||0)+'%'">
{{ i }}
</div>
<!--每日人力出勤-->
<div class="manpowerAttendance" id="manpowerAttendance">
<Chart ref="manpowerAttendance"></Chart>
</div>
<!--IQC-->
<div class="IQC" id="IQC"><
<Chart ref="IQC"></Chart>
</div>
<!--生产效率-->
<div class="productionEfficiency" id="productionEfficiency">
<Chart ref="productionEfficiency"></Chart>
</div>
<!--周质量分析-->
<div class="equipmentPowerOne" id="equipmentPowerOne">
<Chart ref="equipmentPowerOne"></Chart>
</div>
<div class="equipmentPowerTwo" id="equipmentPowerTwo">
<Chart ref="equipmentPowerTwo"></Chart>
</div>
<div class="equipmentPowerThree" id="equipmentPowerThree">
<Chart ref="equipmentPowerThree"></Chart>
</div>
<div class="equipmentPowerFour" id="equipmentPowerFour">
<Chart ref="equipmentPowerFour"></Chart>
</div>
<div class="equipmentPowerFive" id="equipmentPowerFive">
<Chart ref="equipmentPowerFive"></Chart>
</div>
<!--设备功率-->
<div class="topLeft" id="topLeft">
<Chart ref="topLeft"></Chart>
</div>
</div>
</template>
<script>
import vueSeamlessScroll from "vue-seamless-scroll";
import Chart from "../../../components/board/Chart";
import * as echarts from 'echarts'
import {getData} from "@/api/board/getData";
export default {
components: {
vueSeamlessScroll,
Chart
},
name: "Liner",
data() {
return {
title: [
'产量统计',
'三日订单执行情况',
'班组 6s 排行榜',
'周生产型号统计',
'周质量分析',
'安全生产',
],
titlePosition: [
{
top: 11.5,
left: 5.5
},
{
top: 11.5,
left: 32
},
{
top: 11.5,
left: 73.5
},
{
top: 55.4,
left: 5.5
},
{
top: 55.4,
left: 32
},
{
top: 55.4,
left: 73.6
},
],
scrollTableOption: {
step: 0.5, //
limitMoveNum: 5, // this.dataList.length
hoverStop: true, // stop
direction: 1, // 0 1 2 3
openWatch: true, // dom
singleHeight: 0, // (0) direction => 0/1
singleWidth: 0, // (0) direction => 2/3
waitTime: 0,
},
scrollTableData: [],
}
},
mounted(){
},
methods: {}
};
</script>
<style scoped>
.app-container {
background-image: url("../../../assets/board/week.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.headTitle {
position: absolute;
top: 5%;
left: 50%;
transform: translate(-50%, -100%);
font-size: 1.5vw;
color: #d6eaed;
letter-spacing: 10px;
}
.title {
position: absolute;
transform: translateY(-50%);
color: #dddddd;
font-size: 1vw;
letter-spacing: 2px;
}
.manpowerAttendance{
position: absolute;
width: 25%;
height: 35%;
top: 15%;
left: 71.5%;
}
.IQC{
position: absolute;
width: 40%;
height: 35%;
top: 15%;
left: 30%;
}
.productionEfficiency{
position: absolute;
width: 25%;
height: 35%;
top: 60%;
left: 3%;
}
.topLeft{
position: absolute;
width: 25%;
height: 34%;
top: 15.5%;
left: 3.5%;
}
.equipmentPowerOne{
position: absolute;
width: 13%;
height: 16%;
top: 60%;
left: 30.5%;
}
.equipmentPowerTwo{
position: absolute;
width: 13%;
height: 16%;
top: 60%;
left: 43.5%;
}
.equipmentPowerThree{
position: absolute;
width: 13%;
height: 16%;
top: 60%;
left: 56.5%;
}
.equipmentPowerFour{
position: absolute;
width: 19%;
height: 16%;
top: 76%;
left: 30.5%;
}
.equipmentPowerFive{
position: absolute;
width: 19%;
height: 16%;
top: 76%;
left: 49.5%;
}
</style>
Loading…
Cancel
Save