-
![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 {