lc_helper

package
v0.0.0-...-57ed434 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultGroupSelectJsonForIssueStatus = `` /* 925-byte string literal not displayed */

DefaultGroupSelectJsonForIssueStatus groupSelect-任务状态分组单选配置

View Source
var DefaultSelectJsonForIterationId = `[
{"id": 0, "value": "未规划", "color": ""}
]`

DefaultSelectJsonForIterationId select-迭代默认值 json

View Source
var DefaultSelectJsonForTaskBar = `[
{"id": 1, "value": "任务", "color": ""}
]`

DefaultSelectJsonForTaskBar select-任务栏默认值 json

View Source
var ProcessFieldValue = `` /* 224-byte string literal not displayed */

ProcessFieldValue 进度字段默认值 id 900 数字框

View Source
var ScoreFieldValue = `` /* 1035-byte string literal not displayed */

ScoreFieldValue 评分字段默认值,id 902 单选框

View Source
var StoryPointFieldValue = `` /* 1214-byte string literal not displayed */

StoryPointFieldValue Story Points字段默认值,id 901 单选框

Functions

func ConvertToCondColumn

func ConvertToCondColumn(c string) string

字段名转换为查询无码的WHERE条件列名

func ConvertToFilterColumn

func ConvertToFilterColumn(c string) string

字段名转换为查询无码的SELECT列名

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 GetLcCtInput

func GetLcCtInput(columnName, label string) lc_table.LcCtInput

单行文本

func GetLcCtInputFull

func GetLcCtInputFull(columnName, label string, enLabel string, unique bool, required bool, editable bool, writable bool, disabled bool, hide bool, isPushMsg bool) lc_table.LcCtInput

func GetLcCtMember

func GetLcCtMember(columnName, label string, enLabel string, editable bool, writable bool, multiple bool, limit int, hasDefaultCollaboratorRoles, isPushMsg bool) lc_table.LcCtMember

func GetLcCtProjectType

func GetLcCtProjectType(columnName, label string) lc_table.LcCtInput

GetLcCtProjectType “项目类型”的字段类型 和@千源 约定的特殊定制,“项目类型”字段,其值是项目 id。

func GetLcCtRelateTable

func GetLcCtRelateTable(columnName, label string, relateAppId string, displayField string, displayColumns []string) lc_table.LcCtRelateTable

func GetLcCtSelect

func GetLcCtSelect(columnName, label string, enLabel string, customType string, options []lc_table.LcCtSelectFieldPropsSelectOptions,
	editable bool, writable bool, isText bool, disabled bool, required bool,
) lc_table.LcCtSelect

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL