编辑页的列数由原先1列调整为多(1-4)列
This commit is contained in:
parent
6174ca90e1
commit
c8738f6eb0
@ -156,6 +156,9 @@ public class GenTable implements Serializable
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
/** 编辑页列数 */
|
||||
private Integer editColumns;
|
||||
|
||||
/**
|
||||
* 请求参数
|
||||
*/
|
||||
|
@ -70,6 +70,8 @@ public class VelocityUtils {
|
||||
velocityContext.put("columns", genTable.getColumns());
|
||||
velocityContext.put("table", genTable);
|
||||
velocityContext.put("dicts", getDicts(genTable));
|
||||
/* 编辑页列数*/
|
||||
velocityContext.put("editColumns", genTable.getEditColumns());
|
||||
setMenuVelocityContext(velocityContext, genTable);
|
||||
if (GenConstants.TPL_TREE.equals(tplCategory)) {
|
||||
setTreeVelocityContext(velocityContext, genTable);
|
||||
|
Loading…
Reference in New Issue
Block a user