From 5f050b0f32db97f84bf8f77029561f7c6422bd43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 24 Oct 2023 16:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/monitorWorkUnit/index.vue | 2 +- src/views/board/liner/index.vue | 34 +++++++++++------------- src/views/board/setData.vue | 24 +++++++++++++++++ vue.config.js | 2 +- 4 files changed, 41 insertions(+), 21 deletions(-) create mode 100644 src/views/board/setData.vue diff --git a/src/views/base/monitorWorkUnit/index.vue b/src/views/base/monitorWorkUnit/index.vue index 1fa26f7..4a36490 100644 --- a/src/views/base/monitorWorkUnit/index.vue +++ b/src/views/base/monitorWorkUnit/index.vue @@ -358,7 +358,7 @@ export default { delete node.children; } return { - id: node.objId, + id: node.monitorCode, label: node.monitorName, children: node.children }; diff --git a/src/views/board/liner/index.vue b/src/views/board/liner/index.vue index ad294ec..161d4e4 100644 --- a/src/views/board/liner/index.vue +++ b/src/views/board/liner/index.vue @@ -11,24 +11,21 @@
-
+
- 编号 -
-
- 生产工单 + 产品型号
计划数量
- 实际数量 + 完成数量
- 差异值 + 生产进度
- 完成率 + 开始时间
-
+
{{ item.name }} @@ -63,10 +59,6 @@ class="scrollTableItem"> {{ item.value2 }}
-
- {{ item.value2 }} -
@@ -225,7 +217,8 @@ export default { { name: "入库", type: "bar", - barWidth: "15%", + barWidth: "30%", + barMaxWidth: 50, itemStyle: { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ @@ -245,7 +238,8 @@ export default { { name: "出库", type: "bar", - barWidth: "15%", + barWidth: "30%", + barMaxWidth: 50, itemStyle: { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ @@ -324,7 +318,8 @@ export default { { name: "内胆", type: "bar", - barWidth: "15%", + barWidth: "30%", + barMaxWidth: 50, itemStyle: { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ @@ -344,7 +339,8 @@ export default { { name: "箱壳", type: "bar", - barWidth: "15%", + barWidth: "30%", + barMaxWidth: 50, itemStyle: { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ @@ -442,7 +438,7 @@ export default { text-overflow: ellipsis; text-align: center; display: inline-block; - width: 16.6%; + width: 20%; } .chart1 { diff --git a/src/views/board/setData.vue b/src/views/board/setData.vue new file mode 100644 index 0000000..2b6e518 --- /dev/null +++ b/src/views/board/setData.vue @@ -0,0 +1,24 @@ + + + + diff --git a/vue.config.js b/vue.config.js index ab99287..17cbf22 100644 --- a/vue.config.js +++ b/vue.config.js @@ -56,7 +56,7 @@ module.exports = { name: name, resolve: { alias: { - '@': resolve('src') + '@': resolve('./src') } }, plugins: [