Documentation ¶
Index ¶
- Variables
- func ConvertToCondColumn(c string) string
- func ConvertToFilterColumn(c string) string
- func ConvertToFilterColumnV2(c string, columns map[string]*projectvo.TableColumnData) string
- func GetDefaultGroupSelectForIssueStatus() lc_table.LcPropGroupSelect
- func GetDefaultSelectOptionsForIterationId() []lc_table.LcCtSelectFieldPropsSelectOptions
- func GetDefaultSelectOptionsForTaskBar() []lc_table.LcCtSelectFieldPropsSelectOptions
- func GetDocumentColumn() interface{}
- func GetIssuePriorityList() []lc_table.LcCtSelectFieldPropsSelectOptions
- func GetIssueStatusList() []lc_table.LcCtSelectFieldPropsSelectOptions
- func GetLcCtDatepicker(columnName, label string, enLabel string, editable, isPushMsg bool) lc_table.LcCtDatepicker
- func GetLcCtGroupSelect(columnKey, label string, customType string, ...) lc_table.LcOneColumn
- func GetLcCtInput(columnName, label string) lc_table.LcCtInput
- func GetLcCtInputFull(columnName, label string, enLabel string, unique bool, required bool, ...) lc_table.LcCtInput
- func GetLcCtMember(columnName, label string, enLabel string, editable bool, writable bool, ...) lc_table.LcCtMember
- func GetLcCtProjectType(columnName, label string) lc_table.LcCtInput
- func GetLcCtRelateTable(columnName, label string, relateAppId string, displayField string, ...) lc_table.LcCtRelateTable
- func GetLcCtSelect(columnName, label string, enLabel string, customType string, ...) lc_table.LcCtSelect
- func GetLcCtTextArea(columnName, label, enLabel string, editable bool, writable, hide, pushMsg bool) lc_table.LcCtTextarea
- func GetMultiSelectColumn() interface{}
- func GetOrgPriorityField() lc_table.LcCommonField
- func GetSelectColumn() interface{}
- func NewLcTableConfig(fields []interface{}) lc_table.TableConfig
Constants ¶
This section is empty.
Variables ¶
var DefaultGroupSelectJsonForIssueStatus = `` /* 925-byte string literal not displayed */
DefaultGroupSelectJsonForIssueStatus groupSelect-任务状态分组单选配置
var DefaultSelectJsonForIterationId = `[
{"id": 0, "value": "未规划", "color": ""}
]`
DefaultSelectJsonForIterationId select-迭代默认值 json
var DefaultSelectJsonForTaskBar = `[
{"id": 1, "value": "任务", "color": ""}
]`
DefaultSelectJsonForTaskBar select-任务栏默认值 json
var ( NotJsonColumnMap = map[string]struct{}{ consts.BasicFieldId: {}, consts.BasicFieldOrgId: {}, consts.BasicFieldRecycleFlag: {}, consts.BasicFieldCreator: {}, consts.BasicFieldUpdator: {}, consts.BasicFieldCreateTime: {}, consts.BasicFieldUpdateTime: {}, consts.ProBasicFieldAppId: {}, consts.BasicFieldProjectId: {}, consts.BasicFieldTableId: {}, consts.BasicFieldPath: {}, consts.BasicFieldParentId: {}, consts.BasicFieldIssueId: {}, consts.BasicFieldCollaborators: {}, consts.BasicFieldOrder: {}, consts.BasicFieldCode: {}, consts.LcJsonColumn: {}, } )
var ProcessFieldValue = `` /* 224-byte string literal not displayed */
ProcessFieldValue 进度字段默认值 id 900 数字框
var ScoreFieldValue = `` /* 1035-byte string literal not displayed */
ScoreFieldValue 评分字段默认值,id 902 单选框
var StoryPointFieldValue = `` /* 1214-byte string literal not displayed */
StoryPointFieldValue Story Points字段默认值,id 901 单选框
Functions ¶
func ConvertToFilterColumnV2 ¶
func ConvertToFilterColumnV2(c string, columns map[string]*projectvo.TableColumnData) string
字段名转换为查询无码的SELECT列名
func GetDefaultGroupSelectForIssueStatus ¶
func GetDefaultGroupSelectForIssueStatus() lc_table.LcPropGroupSelect
GetDefaultGroupSelectForIssueStatus 任务状态-默认选项配置
func GetDefaultSelectOptionsForIterationId ¶
func GetDefaultSelectOptionsForIterationId() []lc_table.LcCtSelectFieldPropsSelectOptions
GetDefaultSelectOptionsForIterationId 迭代-单选-默认选项值
func GetDefaultSelectOptionsForTaskBar ¶
func GetDefaultSelectOptionsForTaskBar() []lc_table.LcCtSelectFieldPropsSelectOptions
GetDefaultSelectOptionsForTaskBar 任务栏-单选-默认选项值
func GetDocumentColumn ¶
func GetDocumentColumn() interface{}
func GetIssuePriorityList ¶
func GetIssuePriorityList() []lc_table.LcCtSelectFieldPropsSelectOptions
GetIssuePriorityList 汇总表-优先级:option list
func GetIssueStatusList ¶
func GetIssueStatusList() []lc_table.LcCtSelectFieldPropsSelectOptions
GetIssueStatusList 汇总表-任务状态:option list
func GetLcCtDatepicker ¶
func GetLcCtDatepicker(columnName, label string, enLabel string, editable, isPushMsg bool) lc_table.LcCtDatepicker
func GetLcCtGroupSelect ¶
func GetLcCtGroupSelect(columnKey, label string, customType string, groupSelect lc_table.LcPropGroupSelect, require, isPushMsg bool) lc_table.LcOneColumn
GetLcCtGroupSelect 分组单选 groupSelect
func GetLcCtInputFull ¶
func GetLcCtMember ¶
func GetLcCtProjectType ¶
GetLcCtProjectType “项目类型”的字段类型 和@千源 约定的特殊定制,“项目类型”字段,其值是项目 id。
func GetLcCtRelateTable ¶
func GetLcCtSelect ¶
func GetLcCtTextArea ¶
func GetLcCtTextArea(columnName, label, enLabel string, editable bool, writable, hide, pushMsg bool) lc_table.LcCtTextarea
func GetMultiSelectColumn ¶
func GetMultiSelectColumn() interface{}
func GetOrgPriorityField ¶
func GetOrgPriorityField() lc_table.LcCommonField
GetOrgPriorityField 组织字段
func GetSelectColumn ¶
func GetSelectColumn() interface{}
func NewLcTableConfig ¶
func NewLcTableConfig(fields []interface{}) lc_table.TableConfig
Types ¶
This section is empty.