From eda704f48beacb5c68372482f73b50af3c4623fb Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期三, 26 六月 2024 14:23:50 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- UI-Project/src/views/UnLoadGlass/Landingindicationtwo.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/UI-Project/src/views/UnLoadGlass/Landingindicationtwo.vue b/UI-Project/src/views/UnLoadGlass/Landingindicationtwo.vue index 4fc077c..c7fa71e 100644 --- a/UI-Project/src/views/UnLoadGlass/Landingindicationtwo.vue +++ b/UI-Project/src/views/UnLoadGlass/Landingindicationtwo.vue @@ -22,7 +22,7 @@ :height="rack.item.height" :fill="rack.item.fillColor" /> - <text :x="rack.x + rack.width / 2" :y="rack.y - 10" text-anchor="middle">{{ index + 4 }}鍙峰伐浣�</text> + <text :x="rack.x + rack.width / 2" :y="rack.y - 10" text-anchor="middle">{{ index + 4 }}{{ $t('reportWork.workstation') }}</text> <text :x="rack.x + rack.width / 2" :y="rack.y + rack.height + 20" text-anchor="middle">{{ rack.item.content }}</text> </g> </g> @@ -34,6 +34,9 @@ <script setup> import { ref, watchEffect ,onMounted} from 'vue'; +import { useI18n } from 'vue-i18n' + const { t } = useI18n() + let language = ref(localStorage.getItem('lang') || 'zh') import Swal from 'sweetalert2' import request from "@/utils/request"; import { initializeWebSocket } from '@/utils/WebSocketService'; @@ -164,7 +167,8 @@ tableContent += '</table>'; Swal.fire({ - title: '鐜荤拑淇℃伅', + title: "$t('reportWork.glassinformation')", + // title: '鐜荤拑淇℃伅', html: tableContent, customClass: { popup: 'format-pre' -- Gitblit v1.8.0