编辑页的列数由原先1列调整为多(1-4)列

This commit is contained in:
晨曦 2024-04-16 15:21:43 +08:00
parent 6174ca90e1
commit c8738f6eb0
2 changed files with 5 additions and 0 deletions

View File

@ -156,6 +156,9 @@ public class GenTable implements Serializable
/** 备注 */
private String remark;
/** 编辑页列数 */
private Integer editColumns;
/**
* 请求参数
*/

View File

@ -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);