pal 文件属性表格类型返回数据调整
This commit is contained in:
parent
fdd7c21cde
commit
4760eba7ef
Binary file not shown.
@ -2656,11 +2656,15 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
|
|
||||||
JSONObject table = JSON.parseObject(jsonValue);
|
JSONObject table = JSON.parseObject(jsonValue);
|
||||||
int subTableSize = 0;
|
int subTableSize = 0;
|
||||||
JSONArray subTable = table.getJSONArray("table");
|
if (null != table){
|
||||||
if (null != subTable){
|
JSONArray subTable = table.getJSONArray("table");
|
||||||
subTableSize = subTable.size();
|
if (null != subTable){
|
||||||
|
subTableSize = subTable.size();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
String tableInput = subTableSize > 1 ? "请查看" : "请输入";
|
String tableInput = subTableSize > 1 ? "请查看" : "请输入";
|
||||||
|
String attrRef = attributeModel.getRef();
|
||||||
|
JSONObject refValue = JSON.parseObject(attrRef);
|
||||||
|
|
||||||
|
|
||||||
input = "<span class=\"awsui-input-wrapper\" 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 + "')\">"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user