From fdd7c21cde4b2fbd215b7bb6c5c59da98d4c7950 Mon Sep 17 00:00:00 2001 From: "mrs_12345@163.com" Date: Tue, 28 Jun 2022 13:55:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B1=9E=E6=80=A7=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pal/pal/repository/web/CoeProcessLevelWeb.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java index 5c52fa32..6d682d32 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java @@ -2655,12 +2655,17 @@ public class CoeProcessLevelWeb extends ActionWeb { }else if ("table".equals(type)){ JSONObject table = JSON.parseObject(jsonValue); - String tableName = table != null ? (String)table.get("name") : ""; + int subTableSize = 0; + JSONArray subTable = table.getJSONArray("table"); + if (null != subTable){ + subTableSize = subTable.size(); + } + String tableInput = subTableSize > 1 ? "请查看" : "请输入"; - input = "" - + "" - + "" + input = "" + + "" + + "" + " " + "" + "";