表格布局新增是否开启选择功能

This commit is contained in:
weizhiqiang 2023-06-11 22:29:13 +08:00
parent 22796efa30
commit 8c4e582b74
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,37 @@
/*******************************************************************************
* Copyright 卫志强 QQ598748873@qq.com Inc. All rights reserved. 开源地址https://gitee.com/doc_wei01/skyeye
******************************************************************************/
package com.skyeye.dsform.classenum;
import com.skyeye.common.base.classenum.SkyeyeEnumClass;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
/**
* @ClassName: SimpleTableWhetherChoose
* @Description: 表格类型的布局是否开启选择功能
* @author: skyeye云系列--卫志强
* @date: 2023/6/11 21:51
* @Copyright: 2022 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
*/
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum SimpleTableWhetherChoose implements SkyeyeEnumClass {
CLOSE("close", "关闭", true, false),
RADIO("radio", "单选", true, false),
CHECKBOX("checkbox", "多选", true, false);
private String key;
private String value;
private Boolean show;
private Boolean isDefault;
}

View file

@ -89,6 +89,10 @@ public class DsFormPage extends OperatorUserInfo {
@Property("表单布局(表格类型关联的列信息)")
private List<TableColumn> tableColumnList;
@TableField("whether_choose")
@ApiModelProperty(value = "表格类型的布局是否开启选择功能")
private String whetherChoose;
@TableField(value = "operate_id_list", typeHandler = JacksonTypeHandler.class)
@ApiModelProperty(value = "页面关联的操作信息,可为空", required = "json")
private List<String> operateIdList;