diff --git a/src/assets/board/caseShell2.jpg b/src/assets/board/caseShell2.jpg new file mode 100644 index 0000000..9089369 Binary files /dev/null and b/src/assets/board/caseShell2.jpg differ diff --git a/src/views/board/caseShell/index2.vue b/src/views/board/caseShell/index2.vue index 6c7ebd1..01119ba 100644 --- a/src/views/board/caseShell/index2.vue +++ b/src/views/board/caseShell/index2.vue @@ -88,6 +88,9 @@
+
+ +
内胆库剩余:{{ linerNum }}% 箱壳库剩余:{{ caseNum }}%
@@ -113,6 +116,7 @@ export default { '工单计划', '小时统计', '库存统计', + '型号统计', '发泡夹具状态', ], titlePosition: [ @@ -125,12 +129,16 @@ export default { left: 53 }, { - top: 60, + top: 70.5, left: 5.5 }, { - top: 60, - left: 53 + top: 70.5, + left: 36.7 + }, + { + top: 70.5, + left: 68.5 }, ], team: '白班', @@ -357,6 +365,75 @@ export default { ], }) this.$refs.chart3.setData({ + tooltip: { + trigger: "axis", + axisPointer: { + // 坐标轴指示器,坐标轴触发有效 + type: "shadow", // 默认为直线,可选为:'line' | 'shadow' + }, + }, + grid: { + left: "0", + right: "4%", + bottom: "0", + top: 20, + containLabel: true, + }, + xAxis: { + type: "category", + data: e.liner.inventoryStatistics.x, + axisLine: { + lineStyle: { + color: "white", + }, + }, + axisLabel: { + // interval: 0, + // rotate: 40, + textStyle: { + fontFamily: "Microsoft YaHei", + }, + }, + }, + + yAxis: { + type: "value", + axisLine: { + show: false, + lineStyle: { + color: "white", + }, + }, + splitLine: { + show: false, + }, + axisLabel: {}, + }, + series: [ + { + name: e.liner.inventoryStatistics.y.name, + type: "bar", + barWidth: "30%", + barMaxWidth: 50, + itemStyle: { + normal: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: "#4adfff", + }, + { + offset: 1, + color: "#3d7aff", + }, + ]), + }, + }, + data: e.liner.inventoryStatistics.y.data, + }, + ], + }) + this.$refs.chart4.setData({ legend: { data: ['运行中'], right: 'center', @@ -443,7 +520,7 @@ export default {