From 8b697b64db3a9ffef36dec09d21e26765c3b7de4 Mon Sep 17 00:00:00 2001 From: ljx <864490211@qq.com> Date: Sat, 24 May 2025 19:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=8F=AA=E5=8F=96=20?= =?UTF-8?q?=E6=9C=88=E6=97=A5=EF=BC=8C=E6=80=BB=E9=87=8F=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=AE=9E=E6=97=B6=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api.js | 2 +- src/components/baozuo-demo/BottomCharts.vue | 2 +- src/components/baozuo-demo/CenterCmp.vue | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api.js b/src/api.js index 61135ba..cf2ff0a 100644 --- a/src/api.js +++ b/src/api.js @@ -6,7 +6,7 @@ const api = { //永盛 baseURL2: 'http://123.207.37.67:9001', - baseURL2: 'http://36.139.158.169:9261', + baseURL3: 'http://36.139.158.169:9261', baseURL: 'http://ppjlar.demo.natool.cn', diff --git a/src/components/baozuo-demo/BottomCharts.vue b/src/components/baozuo-demo/BottomCharts.vue index aaf9699..b81d08f 100644 --- a/src/components/baozuo-demo/BottomCharts.vue +++ b/src/components/baozuo-demo/BottomCharts.vue @@ -273,7 +273,7 @@ export default { return [ item["工单号"], item["产品名称"], - item["派工日期"], + item["派工日期"].substring(5,10), item["派工数量"], createProgressCircle(item["工序进度"]*1000/10), createProgressCircle(item["进水调节"]*1000/10), diff --git a/src/components/baozuo-demo/CenterCmp.vue b/src/components/baozuo-demo/CenterCmp.vue index 13139c3..a34839d 100644 --- a/src/components/baozuo-demo/CenterCmp.vue +++ b/src/components/baozuo-demo/CenterCmp.vue @@ -6,11 +6,7 @@
本月总产量
-
4
-
8
-
4
-
5
-
4
+
{{ i }}
本月总产量
@@ -168,6 +164,7 @@ export default { return { + sumValue: 0, config: { data: [ { @@ -241,6 +238,9 @@ export default { }, methods: { createData() { + if(this.dataType == '3'){ + this.sumValue = testRes.data.yx_v_byzcl[0]['水件']+testRes.data.yx_v_byzcl[0]['排水阀']+testRes.data.yx_v_byzcl[0]['进水阀']+testRes.data.yx_v_byzcl[0]['按钮']+''; + } // 原始数据(每个柱子的总高度,单位:%) const rawData = this.rightData.map(item=>{return item.value}); const categories = this.rightData.map(item=>{return item.name});