diff --git a/hw-ui/src/views/board/production/secondFloor.vue b/hw-ui/src/views/board/production/secondFloor.vue
index 35cd36a..35255ed 100644
--- a/hw-ui/src/views/board/production/secondFloor.vue
+++ b/hw-ui/src/views/board/production/secondFloor.vue
@@ -111,7 +111,7 @@ export default {
'工单计划',
'小时产量',
'七日产量对比',
- '设备OEE统计',
+ '粉尘数据走势',
'设备时长统计',
'计划数量:',
'完成数量:',
@@ -387,6 +387,15 @@ export default {
bottom: "2%",
containLabel: true,
},
+ legend:{
+ textStyle:{
+ color:'#fff'
+ }
+ },
+
+ tooltip:{
+ trigger:'axis'
+ },
xAxis: {
type: "category",
data: ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"],
@@ -442,7 +451,7 @@ export default {
],
series: [
{
- name: "产量",
+ name: "pm1",
type: "line",
smooth: true, //是否平滑曲线显示
showAllSymbol: true,
@@ -466,10 +475,68 @@ export default {
borderWidth: 3,
},
tooltip: {
- show: false,
+ // show: false,
+ },
+ data: [493, 538, 585, 731, 789, 924, 1087, 1100, 1200, 1300],
+ },
+ {
+ name: "pm2",
+ type: "line",
+ smooth: true, //是否平滑曲线显示
+ showAllSymbol: true,
+ symbol: "circle",
+ symbolSize: 6,
+ lineStyle: {
+ normal: {
+ color: "#f0f", // 线条颜色
+ },
+ },
+ label: {
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#fff",
+ },
+ },
+ itemStyle: {
+ color: "red",
+ borderColor: "#fff",
+ borderWidth: 3,
+ },
+ tooltip: {
+ // show: false,
},
data: [393, 438, 485, 631, 689, 824, 987, 1000, 1100, 1200],
},
+ {
+ name: "pm10",
+ type: "line",
+ smooth: true, //是否平滑曲线显示
+ showAllSymbol: true,
+ symbol: "circle",
+ symbolSize: 6,
+ lineStyle: {
+ normal: {
+ color: "#ff0", // 线条颜色
+ },
+ },
+ label: {
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#fff",
+ },
+ },
+ itemStyle: {
+ color: "red",
+ borderColor: "#fff",
+ borderWidth: 3,
+ },
+ tooltip: {
+ // show: false,
+ },
+ data: [593, 638, 685, 831, 889, 1024, 1187, 1200, 1300, 1400],
+ },
],
})
this.$refs.chart4.setData({
diff --git a/hw-ui/src/views/board/production/thirdFloor.vue b/hw-ui/src/views/board/production/thirdFloor.vue
index c316dab..94b72b6 100644
--- a/hw-ui/src/views/board/production/thirdFloor.vue
+++ b/hw-ui/src/views/board/production/thirdFloor.vue
@@ -111,8 +111,8 @@ export default {
title: [
'工单计划',
'生产完成统计',
- '设备状态统计',
- '产品合格统计',
+ '温湿度统计',
+ '原材料入库时间',
'生产统计数据',
'计划数量:',
'完成数量:',
@@ -355,63 +355,133 @@ export default {
],
})
this.$refs.chart2.setData({
- tooltip: {
- trigger: "item",
- formatter: "{a}
{b} : {c} ({d}%)",
+ grid: {
+ top: 30,
+ left: "2%",
+ right: "5%",
+ bottom: "2%",
+ containLabel: true,
},
- legend: {
- type: "scroll",
- orient: "vertical",
- left: "70%",
- align: "left",
- top: "middle",
- textStyle: {
- color: "#8C8C8C",
+ legend:{
+ textStyle:{
+ color:'#fff'
+ }
+ },
+
+ tooltip:{
+ trigger:'axis'
+ },
+ xAxis: {
+ type: "category",
+ data: ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"],
+ axisLabel: {
+ margin: 10,
+ color: "#ffffff63",
+ },
+ axisLine: {
+ show: false,
+ },
+ axisTick: {
+ show: true,
+ lineStyle: {
+ color: "#ffffff1f",
+ },
+ },
+ splitLine: {
+ show: true,
+ lineStyle: {
+ type: 'dashed',
+ color: "#ffffff1f",
+ },
},
- height: 250,
},
- series: [
+ yAxis: [
{
- name: "库存情况",
- type: "pie",
- radius: ["20%", "70%"],
- center: ["35%", "50%"],
- clockwise: false,
- data: [
- {
- value: 45,
- name: "已过期",
+ type: "value",
+ axisLabel: {
+ margin: 10,
+ color: "#ffffff63",
+ },
+
+ axisTick: {
+ show: true,
+ lineStyle: {
+ color: "#ffffff1f",
},
- {
- value: 25,
- name: "半年内",
+ },
+ splitLine: {
+ show: true,
+ lineStyle: {
+ type: 'dashed',
+ color: "#ffffff1f",
},
- {
- value: 15,
- name: "三个月内",
+ },
+ axisLine: {
+ lineStyle: {
+ color: "#fff",
+ width: 2,
},
- {
- value: 8,
- name: "一个月内",
+ },
+ },
+ ],
+ series: [
+ {
+ name: "温度",
+ type: "line",
+ smooth: true, //是否平滑曲线显示
+ showAllSymbol: true,
+ symbol: "circle",
+ symbolSize: 6,
+ lineStyle: {
+ normal: {
+ color: "#0a2ad7", // 线条颜色
},
- ],
+ },
label: {
- normal: {
- position: "inner",
- textStyle: {
- color: "#fff",
- fontSize: 14,
- },
- formatter: (e) => {
- return e.percent.toFixed(2) + '%'
- }
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#fff",
},
},
- labelLine: {
+ itemStyle: {
+ color: "red",
+ borderColor: "#fff",
+ borderWidth: 3,
+ },
+ tooltip: {
+ // show: false,
+ },
+ data: [493, 538, 585, 731, 789, 924, 1087, 1100, 1200, 1300],
+ },
+ {
+ name: "湿度",
+ type: "line",
+ smooth: true, //是否平滑曲线显示
+ showAllSymbol: true,
+ symbol: "circle",
+ symbolSize: 6,
+ lineStyle: {
normal: {
- show: false,
+ color: "#0bcb98", // 线条颜色
+ },
+ },
+ label: {
+ show: true,
+ position: "top",
+ textStyle: {
+ color: "#fff",
},
},
+ itemStyle: {
+ color: "red",
+ borderColor: "#fff",
+ borderWidth: 3,
+ },
+ tooltip: {
+ // show: false,
+ },
+ data: [393, 438, 485, 631, 689, 824, 987, 1000, 1100, 1200],
},
],
})
diff --git a/hw-ui/src/views/board/warehouse/secondFloor.vue b/hw-ui/src/views/board/warehouse/secondFloor.vue
index 37d8f6a..d430afd 100644
--- a/hw-ui/src/views/board/warehouse/secondFloor.vue
+++ b/hw-ui/src/views/board/warehouse/secondFloor.vue
@@ -111,8 +111,8 @@ export default {
return {
title: [
'库存总量统计',
- '库位动态',
- '物料时效统计',
+ '库位变化',
+ '入库时段统计',
'库位原理统计',
],
titlePosition: [
diff --git a/hw-ui/src/views/board/warehouse/thirdFloor.vue b/hw-ui/src/views/board/warehouse/thirdFloor.vue
index dcc883f..05bfd59 100644
--- a/hw-ui/src/views/board/warehouse/thirdFloor.vue
+++ b/hw-ui/src/views/board/warehouse/thirdFloor.vue
@@ -81,10 +81,10 @@