花名册2.0组件拼接,3.0组件
2022-09-15 17:10:14 0 举报
组件异同
作者其他创作
大纲/内容
getTable线获取表头所有字段tableComponentDao.get如果存在获取表格偏好tableUserPreferenceDao .getTableUserPreferenceAndCheckSync(设置表头偏好
获取表头字段tableComponentDao.get然后获取用户偏好tableUserPreferenceDao.getTableUserPreference生成设置对象children
前端保存表头设置置/v1/component/table/setting/header
cm_table_user_preference
花名册保存设置/v1/configuration/table保存用户的偏好调用/internal/component/table/userPref接口
v3表格组件
获取用户偏好getUserPreference获取未固定的字段,tableUserPreferenceDao.save保存新的偏好
花名册前端调组件接口获取表头component/manage/api/v1/component/table
获取表头接口/internal/component/table/{code}
前端获取表头设置置/v1/component/table/setting/header
1、偏好设置不支持查询接口分组2、筛选排序不支持分组3、试用消息保存表格的方式需要做数据修复
获取用户的偏好tableUserPreferenceDao.getTableUserPreference按照顺序保存字段偏好'
获取表头tableComponentDao.get(根据表头字段生成排序、筛选TableComponentEnable.generate
表头设置恢复默认/v1/component/table/setting/header/original
cn_system_table_component
code 唯一去识别一个表格,对应tableCode
获取表头字段tableComponentDao.get取消固定字段removeUnSettableColumns生成新设置convert
花名册前端调组件接口获取表排序、筛选/component/table/manage/enable
cm_system_table_component_column
tableCode 表的codename 名称code 字段width 宽度filterEnable 开启过滤sorterEnable 开启排序filterType 过滤类型filterOperator 查询方式 IN fixed 固定位置rangeFilter 范围查询settable 结合fixed固定multipleOption 多选invisible 用户不可见
花名册前端字段固定置/v1/component/table/setting/header/fixed
v2花名册组件设置/v1/configuration/table调用/internal/component/table/{code}获取所有表头字段,然后查询自定义信息集分组根据表头的hide属性决定那些字段显示
收藏
0 条评论
下一页