diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 94a230f..46f6ab7 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -329,6 +329,14 @@ export default { "富怡多功能绣花机": "Richpeace embroidery machine", "JUKI高速直驱平缝机": "JUKI lockstitch sewing machine", "Yamato包缝机": "Yamato overlock sewing machine", + "花样名称": "Pattern Name", + "花样总针数": "Total Stitches", + "当前针数": "Current Stitches", + "断线提醒": "Thread Break Reminder", + "冲缝一体机": "Perforation sewing machine", + "再登机器物联管理系统":"GetonAgain Machinery IoT System", + "工业缝纫机": "Industrial sewing machine", + "立切180双喷": "Vertical cutting plotter 180", }, "default":{ diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index ada061f..1c7def9 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -328,6 +328,13 @@ export default { "富怡多功能绣花机": "富怡多功能绣花机", "JUKI高速直驱平缝机": "JUKI高速直驱平缝机", "Yamato包缝机": "Yamato包缝机", + "花样名称": "花样名称", + "花样总针数": "花样总针数", + "当前针数": "当前针数", + "断线提醒": "断线提醒", + "冲缝一体机": "冲缝一体机", + "再登机器物联管理系统": "再登机器物联管理系统", + "工业缝纫机": "工业缝纫机", }, "default":{ '年': '年', diff --git a/src/router/index.ts b/src/router/index.ts index 424e5b8..07fdd78 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -372,6 +372,11 @@ const routes: Array = [ name: "GermanyExhibitionChild", component: () => import("../views/Exhibition/Germany/child.vue"), }, + { + path: "/GermanyExhibitionLoop", + name: "GermanyExhibitionLoop", + component: () => import("../views/Exhibition/Germany/loop.vue"), + }, diff --git a/src/views/Exhibition/Germany/child.vue b/src/views/Exhibition/Germany/child.vue index cbdc340..828368b 100644 --- a/src/views/Exhibition/Germany/child.vue +++ b/src/views/Exhibition/Germany/child.vue @@ -96,19 +96,19 @@ import DynamicChart from "./components/DynamicChart.vue"; import PercentChart from "./components/PercentChart.vue"; import ZdScrollBoard from "@/components/data-view/index.vue"; import { useMicroExhibitionStore } from "@/store/module/MicroExhibition"; - +const {proxy} = getCurrentInstance(); // 设备信息 let device_data = ref([ { key: "设备名称", value: "冲缝一体机", value_style: { fontSize: "20px" } }, - { key: "机架号", value: "1171210#" }, + { key: proxy.tLang('messages','RackNum'), value: "1171210#" }, { key: "工作人员", value: "张--" }, - { key: "设备状态", value: "1" }, + { key: proxy.tLang('messages','DevStatus'), value: "1" }, { key: "稼动率", value: "30%" }, - { key: "花样名称", value: "0.7盾牌" }, + { key: proxy.tLang('messages','花样名称'), value: "0.7盾牌" }, { key: "加工时长", value: "23min" }, - { key: "花样总针数", value: "300针" }, + { key: proxy.tLang('messages','花样总针数'), value: "300针" }, { key: "断线次数", value: "0次" }, - { key: "当前针数", value: "100针" }, + { key: proxy.tLang('messages','当前针数'), value: "100针" }, ]); let getImgSrc = computed(() => { // let name: string = Array.isArray(route.params.name) diff --git a/src/views/Exhibition/Germany/components/BottomLBox.vue b/src/views/Exhibition/Germany/components/BottomLBox.vue index 038d756..d38063a 100644 --- a/src/views/Exhibition/Germany/components/BottomLBox.vue +++ b/src/views/Exhibition/Germany/components/BottomLBox.vue @@ -1,9 +1,9 @@