{{ tLang('messages', '实际产量') }}:
+
{{ tLang('messages', '实际产量') }}:
{{ item.production }}
-
{{ tLang('messages', '计划产量') }}:
+
{{ tLang('messages', '计划产量') }}:
{{ item.planProduction }}
-
{{ tLang('messages', '设备名称') }}:
+
{{ tLang('messages', '设备名称') }}:
{{ item.name }}
@@ -18,41 +18,9 @@
diff --git a/src/views/Exhibition/Germany/components/TopLBox.vue b/src/views/Exhibition/Germany/components/TopLBox.vue
index 44dcd91..eb77377 100644
--- a/src/views/Exhibition/Germany/components/TopLBox.vue
+++ b/src/views/Exhibition/Germany/components/TopLBox.vue
@@ -108,7 +108,7 @@ let gauge_option = ref({
offsetCenter: [0, '35%'],
valueAnimation: true,
formatter: function (value) {
- return '{value|' + value.toFixed(0) + '}{unit|rpm/min}';
+ return '{value|' + value.toFixed(0) + '}{unit|rpm}';
},
rich: {
value: {
diff --git a/src/views/Exhibition/Germany/components/TopRBox.vue b/src/views/Exhibition/Germany/components/TopRBox.vue
index 22ef802..5b19fbf 100644
--- a/src/views/Exhibition/Germany/components/TopRBox.vue
+++ b/src/views/Exhibition/Germany/components/TopRBox.vue
@@ -1,32 +1,32 @@
-
{{ tLang('messages', '机架号') }}:
+
{{ tLang('messages', '机架号') }}:
{{ props.data?.label }}
{{ tLang('messages', '设备状态') }}:
-
+
-
111
+
{{ props.data?.in3Count + tLang('messages','次') }}
{{ tLang('messages', '剪线次数') }}
-
111
+
{{ props.data?.in4Count + tLang('messages','次') }}
{{ tLang('messages', '针数') }}
-
111
+
{{ props.data?.in2Count + tLang('messages','次') }}
{{ tLang('messages', '压脚次数') }}
@@ -48,6 +48,16 @@ import 'echarts-liquidfill'
const { proxy } = getCurrentInstance()
let gyfrjImg = require('./../images/gyfrj.png');
+const props = defineProps<{
+ data: any,
+}>()
+
+let statusObj = {
+ 0:'red',
+ 1:'yello',
+ 2:'green',
+ 3:'yello'
+}
let gauge_option = ref({
series: [
{
@@ -115,7 +125,7 @@ let gauge_option = ref({
offsetCenter: [0, '35%'],
valueAnimation: true,
formatter: function (value) {
- return '{value|' + value.toFixed(0) + '}{unit|rpm/min}';
+ return '{value|' + value.toFixed(0) + '}{unit|rpm}';
},
rich: {
value: {
@@ -132,7 +142,7 @@ let gauge_option = ref({
},
data: [
{
- value: 900
+ value: 1000
}
]
}
@@ -181,7 +191,7 @@ let fill_option = ref({
},
formatter: function (params) {
- return params.value
+ return props.data?.consumption;
}
},
diff --git a/src/views/Exhibition/Germany/index.vue b/src/views/Exhibition/Germany/index.vue
index 8254e2a..ef5679b 100644
--- a/src/views/Exhibition/Germany/index.vue
+++ b/src/views/Exhibition/Germany/index.vue
@@ -32,14 +32,14 @@
-
+
-
+
-
+
@@ -63,8 +63,8 @@
@@ -215,6 +278,7 @@ onMounted(()=>{
:deep(.green) {
background-color: #7cffb2;
}
+
:deep(.green-color) {
color: #7cffb2;
}
@@ -222,6 +286,7 @@ onMounted(()=>{
:deep(.yello) {
background-color: #fddd60;
}
+
:deep(.yello-color) {
color: #fddd60;
}
@@ -229,6 +294,7 @@ onMounted(()=>{
:deep(.red) {
background-color: #ff6e76;
}
+
:deep(.red-color) {
color: #ff6e76;
}