文件属性表格类型
This commit is contained in:
parent
1526e3e245
commit
fdd7c21cde
@ -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 = "<span class=\"awsui-input-wrapper\">"
|
||||
+ "<input type='text' placeholder=\"请输入表单名\" id='" + id + "' value='" + tableName + "' class=\"awsui-textbox\" />"
|
||||
+ "<span class=\"awsui-input-suffix\" sid='" + sid + "' uuid='" + uuid + "' onclick=\"showTableDialog($(this),"+ ( StringUtils.isEmpty(jsonValue) ? new JSONObject() : jsonValue.replace("\"","'") )+",'" + id + "')\">"
|
||||
input = "<span class=\"awsui-input-wrapper\" onclick=\"showTableDialog($(this),"+ ( StringUtils.isEmpty(jsonValue) ? new JSONObject() : jsonValue.replace("\"","'") )+",'" + id + "')\">"
|
||||
+ "<input type='text' id='" + id + "' value='" + tableInput + "' class=\"awsui-textbox\" />"
|
||||
+ "<span class=\"awsui-input-suffix\" sid='" + sid + "' uuid='" + uuid + "' >"
|
||||
+ " <i class=\"awsui-iconfont\" ></i>"
|
||||
+ "</span>"
|
||||
+ "</span>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user