Commit c02e2074 authored by 刘凡's avatar 刘凡

*)增加分页字段

parent 537f988c
...@@ -108,6 +108,7 @@ public class DPSubServiceImpl { ...@@ -108,6 +108,7 @@ public class DPSubServiceImpl {
map = new JSONObject(); map = new JSONObject();
map.put("columns", JsonValueUtils.getValueByKey(yObj, "visualParams", "visualParams.modelTableColumns")); map.put("columns", JsonValueUtils.getValueByKey(yObj, "visualParams", "visualParams.modelTableColumns"));
map.put("dataList", apiResult); map.put("dataList", apiResult);
map.put("showPage", true);
content.put(tab.getString("key"), map); content.put(tab.getString("key"), map);
} }
} }
...@@ -380,6 +381,7 @@ public class DPSubServiceImpl { ...@@ -380,6 +381,7 @@ public class DPSubServiceImpl {
return jsonObject; return jsonObject;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
subObj.put("showPage", false);
subObj.put("columns", columns); subObj.put("columns", columns);
subObj.put("dataList", apiResult.get(JsonValueUtils.getValueByKey(yObj, "visualParams", "visualParams.fieldKey"))); subObj.put("dataList", apiResult.get(JsonValueUtils.getValueByKey(yObj, "visualParams", "visualParams.fieldKey")));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment