-
![icon]()
-
{{ item.value }}
-
{{ item.name }}
+
+
+
+
+
+
+
{{ item.name }}
+
{{ item.value }}
+
@@ -114,9 +119,9 @@ export default {
{ icon: require(`@/img/icons/12.png`), name: '本月派工完成率', value: '100%' }
];
const originalLeftData2 = [
- { icon: require(`@/img/icons/1.png`), name: '完成工单数', value: '1120' },
- { icon: require(`@/img/icons/2.png`), name: '生产中工单数', value: '600' },
- { icon: require(`@/img/icons/3.png`), name: '本月生产完成率', value: '100%' }
+ { icon: require(`@/img/icons/1.png`), name: '派工数量', value: '1120' },
+ { icon: require(`@/img/icons/2.png`), name: '未完工数量', value: '600' },
+ { icon: require(`@/img/icons/3.png`), name: '工单订成率', value: '100%' }
];
const originalRightData = [
@@ -168,7 +173,32 @@ export default {
{ icon: require(`@/img/icons/12.png`), name: '盖板备料进度', value: 85 }
]
},
+ oiloption:{
+ grid:{
+ top:'5%',left:'0%',right:'5%',bottom:'5%'
+ },
+ series: [
+ {
+ type: 'gauge',
+ data: [ { name: 'itemA', value: 100 } ],
+ center: ['50%', '55%'],
+ axisLabel: {
+ formatter: '{value}%',
+ style: {
+ fill: '#fff',
+ fontSize: 20,
+ }
+ },
+ axisTick: {
+ style: {
+ stroke: '#fff'
+ }
+ },
+ animationCurve: 'easeInOutBack'
+ }
+ ]
+ },
labelConfig: {
data: ['机芯产量', '盖板产量']
@@ -264,13 +294,14 @@ export default {
flex-direction: column;
.station-icon {
- width: 190px;
+ width: 220px;
+ margin-bottom: 20px;
// height: 80px;
// margin-bottom: 18px;
}
.station-name {
- font-size: 23px;
+ font-size: 25px;
font-weight: bold;
color: #ffffff;
text-align: center;
@@ -278,7 +309,7 @@ export default {
}
.station-value {
- font-size: 30px;
+ font-size: 35px;
font-weight: bold;
color: #08e5ff;
text-align: center;
@@ -488,12 +519,28 @@ export default {
color: #ffffff;
font-weight: bold;
}
+ .sc-name2{
+ font-size:30px;
+ color: #ffffff;
+ font-weight: bold;
+ text-align: left;
+ padding-left: 10px;
+ width: 95%;
+ border-left:5px solid #08e5ff;
+ }
.sc-value{
font-size: 35px;
text-align: center;
color: #08e5ff;
font-weight: bold;
}
+ .sc-value2{
+ font-size: 55px;
+ text-align: center;
+ color: #08e5ff;
+ font-weight: bold;
+ padding-top: 10px;
+ }
.sc-icon {
width: 50px;
height: 50px;
diff --git a/src/components/baozuo-demo/index.vue b/src/components/baozuo-demo/index.vue
index 055cab7..882eaad 100644
--- a/src/components/baozuo-demo/index.vue
+++ b/src/components/baozuo-demo/index.vue
@@ -72,9 +72,9 @@ export default {
this.dataType = ''; // 如果不是 '1',则设置为空
}
- setInterval(() => {
- this.switchType = this.switchType == 1 ? 2 : 1
- }, 15000); // 10000 毫秒 = 10 秒
+ // setInterval(() => {
+ // this.switchType = this.switchType == 1 ? 2 : 1
+ // }, 15000); // 10000 毫秒 = 10 秒
},
data() {
return {
From 46787bcf0ccb2462a122adb4d0d5839b833c81c6 Mon Sep 17 00:00:00 2001
From: ljx <864490211@qq.com>
Date: Tue, 18 Mar 2025 18:08:18 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=9B=BE=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/baozuo-demo/CenterCmp.vue | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/components/baozuo-demo/CenterCmp.vue b/src/components/baozuo-demo/CenterCmp.vue
index 3259ea8..5df3176 100644
--- a/src/components/baozuo-demo/CenterCmp.vue
+++ b/src/components/baozuo-demo/CenterCmp.vue
@@ -22,8 +22,8 @@
![icon]()
-
{{ item.name }}
-
{{ item.value }}
+
{{ item.name }}
+
{{ item.value }}
@@ -119,9 +119,9 @@ export default {
{ icon: require(`@/img/icons/12.png`), name: '本月派工完成率', value: '100%' }
];
const originalLeftData2 = [
- { icon: require(`@/img/icons/1.png`), name: '派工数量', value: '1120' },
- { icon: require(`@/img/icons/2.png`), name: '未完工数量', value: '600' },
- { icon: require(`@/img/icons/3.png`), name: '工单订成率', value: '100%' }
+ { icon: require(`@/img/icons/12.png`), name: '派工数量', value: '1120' },
+ { icon: require(`@/img/icons/12.png`), name: '未完工数量', value: '600' },
+ { icon: require(`@/img/icons/12.png`), name: '工单订成率', value: '100%' }
];
const originalRightData = [
@@ -294,7 +294,9 @@ export default {
flex-direction: column;
.station-icon {
- width: 220px;
+ width: 225px;
+ margin-top: 60px;
+ margin-left: 30px;
margin-bottom: 20px;
// height: 80px;
// margin-bottom: 18px;