From f6c0d0ff61808a1a2fe1ecbfc64d80cb228f1365 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 20 五月 2025 20:35:24 +0800
Subject: [PATCH] 批改页面2 问题:后端无法获取HNumber
---
WebTM/views/home/console.html | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/WebTM/views/home/console.html b/WebTM/views/home/console.html
index 5420be7..3c710da 100644
--- a/WebTM/views/home/console.html
+++ b/WebTM/views/home/console.html
@@ -313,6 +313,17 @@
var liStr = '';
//閬嶅巻鐢熸垚涓昏彍鍗�
for (var i = 0; i < data.length; i++) {
+
+ //鍒ゆ柇涓绘帶鍙板綋鍓嶇櫥褰曠殑璇█绫诲瀷
+ var HTranslationText = "";
+ if (sessionStorage["HTranSlate"] == "1") {
+ HTranslationText = data[i].HCaption;
+ } else if (sessionStorage["HTranSlate"] == "2") {
+ HTranslationText = data[i].HTranslationText_English;
+ } else if (sessionStorage["HTranSlate"] == "3") {
+ HTranslationText = data[i].HTranslationText_Spain;
+ }
+
if (i == 0) {
liStr += '<ul class="layui-row layui-col-space10 layui-this">';
} else if (i % 8 == 0) {
@@ -329,7 +340,7 @@
liStr += '<i id="' + data[i]["HSubFuncID"] + '" class="' + data[i]["HPicNum"] + '"></i>';
}
- liStr += '<cite>' + data[i]["HCaption"] + '</cite>';
+ liStr += '<cite>' + HTranslationText + '</cite>';
liStr += '</a>';
--
Gitblit v1.9.1