From 658141010d82ce2ff402e5b1538e01eb5a49ae93 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Wed, 29 Mar 2023 10:51:49 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + .../upgradeactivity/components/gnxtwh.vue | 110 ++++++++++++++---- 3 files changed, 90 insertions(+), 22 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 18121d70b..8a2f611e0 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1734,4 +1734,5 @@ module.exports = { gnxtwh:'Functional system maintenance', gnxt:'Functional system', dykzq:'Corresponding controller', + nomorethan:'No more than 10', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 2f643ba49..c50b848cf 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1836,4 +1836,5 @@ module.exports = { gnxtwh:'功能系统维护', gnxt:'功能系统', dykzq:'对应控制器', + nomorethan:'不能超过10个', } \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue index 1cf59e6b4..4a73f8b06 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/components/gnxtwh.vue @@ -28,7 +28,7 @@ > - {{text && text.length > 10?text.slice(0,9)+'...':text}} + {{text && text.length > 100?text.slice(0,99)+'...':text}} @@ -58,7 +58,7 @@ - +
@@ -75,32 +75,37 @@ {{$t('gnxt')}}
- +
-
- {{$t('dykzq')}} - - -
-
- +
+
{{$t('dykzq') + (index+1)}}
- + +
+ + +
@@ -115,7 +120,7 @@