Appearance
TableViewSetting 数据表视图设置
字段定义
| 字段名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| tableId | String | - | 数据表ID |
| filter | FilterCondition | - | 筛选条件 |
| filterButtonStyle | String | "icon" | 筛选按钮展示样式 |
| filterFieldStyle | String | "fill" | 筛选条件展示样式 |
| filterViewType | String | "none" | 筛选条件展示位置 |
| filterConditionList | List<ConditionSetting> | new ArrayList<>() | 筛选条件列表 |
| filterList | List<TableViewFilter> | new ArrayList<>() | 过滤器列表 |
| pathFilterList | List<TableViewFilter> | new ArrayList<>() | 地址栏过滤器 |
| orderByDisable | boolean | - | 禁用字段排序 |
| orderBySingleField | boolean | - | 仅允许单字段进行排序 |
| orderByList | List<OrderBy> | new ArrayList<>() | 排序字段列表 |
| orderByFieldList | List<String> | new ArrayList<>() | 排序字段ID列表 |
| disableAutoLoad | boolean | - | 禁用自动加载 |
| defaultPageSize | int | 50 | 默认每页大小 |
| enablePageSizeList | List<String> | - | 启用的分页列表 |
| paginationStyle | String | "simple" | 分页展示样式 |
| paginationPosition | String | "top" | 分页显示的位置 |
| formShowType | String | "dialog" | 表单展示类型 |
| formSaveMode | String | - | 表单保存模式 |
| formFullSaveAutoClose | String | - | 整表单保存后关闭表单 |
| formBpmnInfoVisible | String | - | 工作流信息可见性 |
| formBpmnInfoControlHidden | String | - | 隐藏工作流操作控件 |
| formDetailVisibleRoleList | List<String> | new ArrayList<>() | 表单详情可见角色列表 |
| formCommentVisibleRoleList | List<String> | new ArrayList<>() | 表单评论可见角色列表 |
| filterPosition | String | "toolbar" | 筛选位置 |
| formFieldConfigList | List<FormFieldConfig> | new ArrayList<>() | 表单字段配置列表 |
| gridDisplaySetting | GridDisplaySetting | - | 网格视图设置 |
| cardDisplaySetting | CardDisplaySetting | - | 卡片视图设置 |
| ganttDisplaySetting | GanttDisplaySetting | - | 甘特图视图设置 |
| listDisplaySetting | ListDisplaySetting | - | 列表视图设置 |
| kanbanDisplaySetting | KanbanDisplaySetting | - | 看板视图设置 |
| calendarDisplaySetting | CalendarDisplaySetting | - | 日历视图设置 |
| treeDisplaySetting | TreeDisplaySetting | - | 树形视图设置 |
| schedulerDisplaySetting | SchedulerDisplaySetting | - | 资源日历设置 |
| timelineDisplaySetting | TimelineDisplaySetting | - | 时间线视图设置 |
| mapDisplaySetting | MapDisplaySetting | - | 地图视图设置 |
| customDisplaySetting | CustomDisplaySetting | - | 自定义视图设置 |
| folderDisplaySetting | FolderDisplaySetting | - | 文件夹视图设置 |
| toolBarButtonList | List<Button> | new ArrayList<>() | 工具栏按钮列表 |
| showBottomToolbar | boolean | - | 显示底部工具栏 |
| bottomToolBarButtonList | List<Button> | new ArrayList<>() | 底部工具栏按钮列表 |
| systemContextMenuPosition | String | "top" | 系统上下文菜单位置 |
| contextMenuButtonList | List<Button> | new ArrayList<>() | 上下文菜单按钮列表 |
| enableAiFilterCondition | boolean | - | 启用AI生成过滤条件 |
| filterViewLabelPosition | String | "top" | 筛选条件标签展示位置 |
| filterViewLabelWidth | Integer | 120 | 筛选条件标签展示宽度 |
| filterViewWidth | Integer | 240 | 筛选条件栏宽度 |
| childrenFieldId | String | - | 子对象字段ID |
| childrenExpandLevel | int | 1 | 子对象展开层级 |
| childrenAutoExpandLevel | int | 0 | 树形结构数据自动展开层级 |
| childrenShowParent | boolean | false | 显示父对象 |
| childrenShowPathbar | boolean | - | 显示路径栏 |
| childrenPathNameFieldId | String | - | 路径名称字段ID |
| childrenExpandVisibleExpression | String | - | 展开按钮可见表达式 |
| searchChildrenExpandLevel | int | 0 | 树形结构数据搜索时加载层级 |
| childrenSelectionStrictly | boolean | - | 禁用自动计算父子级勾选 |
| childrenAsyncLoadEnable | boolean | false | 启用异步加载子对象数据 |
| childrenAsyncLoadVisibleExpression | String | null | 异步加载按钮可见表达式 |
| childrenAsyncLoadAutomaticId | String | null | 调用自动化返回子对象数据 |
| childrenAsyncLoadAutomaticVarList | List<DataAutomaticVar> | new ArrayList<>() | 调用自动化传入参数 |
| returnFieldList | List<String> | new ArrayList<>() | 返回字段列表 |
| returnFieldListExpression | String | - | 返回字段列表表达式 |
| hideToolbar | boolean | - | 隐藏工具栏 |
| listenerList | List<TableViewListener> | new ArrayList<>() | 视图监听器列表 |
| disableFilterCache | boolean | - | 禁用过滤条件缓存 |
| filterTriggerType | String | - | 筛选条件变化后数据刷新方式 |
| queryBeforeAutomaticId | String | - | 查询前调用自动化 |
| queryAfterAutomaticId | String | - | 查询后调用自动化 |
| aggregateQueryBeforeAutomaticId | String | - | 汇总前调用自动化 |
| formShowDialogModal | boolean | - | 表单对话框模态显示 |
内部类 ConditionSetting
| 字段名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| id | String | - | 条件ID |
| name | String | - | 条件名称 |
| displayWidth | String | - | 展示宽度 |
| icon | String | - | 条件图标 |
| type | String | "field" | 条件类型 |
| opt | String | - | 操作符 |
| func | String | - | 函数 |
| containsFilterFieldList | List<String> | new ArrayList<>() | 包含过滤字段列表 |
| disableChangeOpt | boolean | - | 禁用操作符修改 |
| disableChangeFunc | boolean | - | 禁用函数修改 |
| defaultValueExpression | String | - | 默认值表达式 |
| defaultValue | Object | - | 默认值 |
| hideExpression | String | - | 隐藏表达式 |
| dataAutomaticId | String | - | 过滤条件待选值调用自动化 |
| dataAutomaticVarList | List<DataAutomaticVar> | new ArrayList<>() | 自动化变量列表 |
| setting | Map<String, Object> | new HashMap<>() | 条件设置 |
| isFolded | boolean | - | 是否折叠 |
内部类 FormFieldConfig
| 字段名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| fieldId | String | - | 字段ID |
| hideInEdit | boolean | - | 编辑时隐藏 |
| readonlyInEdit | boolean | - | 编辑时只读 |
内部类 TableViewListener
| 字段名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| id | String | - | 监听器ID |
| name | String | - | 监听器名称 |
| remark | String | - | 监听器备注 |
| eventList | List<String> | new ArrayList<>() | 事件列表 |
| isEnable | boolean | true | 是否启用 |
| automaticList | List<String> | new ArrayList<>() | 触发的自动化列表 |
| automaticVarList | List<DataAutomaticVar> | new ArrayList<>() | 自动化变量列表 |

