formvo

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: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Condition

type Condition struct {
	Type   string      `json:"type"`
	Value  interface{} `json:"value"`
	Column string      `json:"column"`
	Left   interface{} `json:"left"`
	Right  interface{} `json:"right"`
	Conds  []Condition `json:"conds"`
}

type FormCreateOneResp

type FormCreateOneResp struct {
	vo.Err
	Timestamp interface{}              `json:"timestamp"`
	Data      []map[string]interface{} `json:"data"`
}

type GetFormByAppIdData

type GetFormByAppIdData struct {
	ID         int64     `json:"id,string"`
	OrgID      int64     `json:"orgId,string"`
	AppID      int64     `json:"appId,string"`
	Type       int       `json:"type"`
	Config     string    `json:"config"`
	Status     int       `json:"status"`
	Creator    int64     `json:"creator,string"`
	CreateTime time.Time `json:"createTime"`
	Updator    int64     `json:"updator,string"`
	UpdateTime time.Time `json:"updateTime"`
}

type GetFormByAppIdReq

type GetFormByAppIdReq struct {
	OrgID int64 `json:"orgId"`
	AppID int64 `json:"appId"`
}

type GetFormByAppIdResp

type GetFormByAppIdResp struct {
	vo.Err
	Timestamp interface{}        `json:"timestamp"`
	Data      GetFormByAppIdData `json:"data"`
}

type GetFormConfigBatchReq

type GetFormConfigBatchReq struct {
	OrgID  int64   `json:"orgId"`
	AppIds []int64 `json:"appIds"`
}

type GetFormConfigReq

type GetFormConfigReq struct {
	OrgID int64 `json:"orgId"`
	AppID int64 `json:"appId"`
}

type LessBaseFormSaveReq

type LessBaseFormSaveReq struct {
	OrgId   int64         `json:"orgId"`
	UserId  int64         `json:"userId"`
	Added   []interface{} `json:"added"`
	Deleted []string      `json:"deleted"`
}

type LessCommonIssueResp

type LessCommonIssueResp struct {
	vo.Err
	Timestamp interface{} `json:"timestamp"`
	Data      bool        `json:"data"`
}

type LessCreateIssueReq

type LessCreateIssueReq struct {
	AppId          int64                    `json:"appId"`
	OrgId          int64                    `json:"orgId"`
	UserId         int64                    `json:"userId"`
	Asc            bool                     `json:"asc"`
	BeforeId       int64                    `json:"beforeId"`
	AfterId        int64                    `json:"afterId"`
	RedirectIds    []int64                  `json:"redirectIds"`
	Import         bool                     `json:"import"`
	CreateTemplate bool                     `json:"createTemplate"`
	Form           []map[string]interface{} `json:"form"`
	TableId        int64                    `json:"tableId"`
}

type LessDeleteIssueReq

type LessDeleteIssueReq struct {
	AppId       int64   `json:"appId"`
	OrgId       int64   `json:"orgId"`
	UserId      int64   `json:"userId"`
	AppValueIds []int64 `json:"appValueIds"`
	IssueIds    []int64 `json:"issueIds"`
}

type LessFilterCustomStatResp

type LessFilterCustomStatResp struct {
	vo.Err
	Timestamp interface{}              `json:"timestamp"`
	Data      []map[string]interface{} `json:"data"`
}

type LessFilterStatResp

type LessFilterStatResp struct {
	vo.Err
	Timestamp interface{} `json:"timestamp"`
	Data      int64       `json:"data"`
}

type LessFormConfigData

type LessFormConfigData struct {
	Fields       []interface{}            `json:"fields"`
	BaseFields   []string                 `json:"baseFields"`
	CustomConfig map[string][]interface{} `json:"customConfig"`
}

type LessIssueListData

type LessIssueListData struct {
	Total int64                    `json:"total"`
	List  []map[string]interface{} `json:"list"`
}

type LessIssueListReq

type LessIssueListReq struct {
	Condition      vo.LessCondsData `json:"condition"`
	Orders         []*vo.LessOrder  `json:"orders"`
	RedirectIds    []int64          `json:"redirectIds"`
	AppId          int64            `json:"appId"`
	OrgId          int64            `json:"orgId"`
	UserId         int64            `json:"userId"`
	Page           int64            `json:"page"`
	Size           int64            `json:"size"`
	Columns        []string         `json:"columns"`
	FilterColumns  []string         `json:"filterColumns"`
	Groups         []string         `json:"groups"`
	TableId        int64            `json:"tableId"`
	Export         bool             `json:"export"`              // 是否是导出,导出不限制size
	NeedTotal      bool             `json:"needTotal,omitempty"` // 是否需要总数,大部分情况都不需要总数
	NeedRefColumn  bool             `json:"needRefColumn"`       // 是否需要引用列
	AggNoLimit     bool             `json:"aggNoLimit"`          // 引用列是否限制返回合并个数
	NeedDeleteData bool             `json:"needDeleteData"`      // 需要删除的数据
	NeedChangeId   bool             `json:"-"`
}

func (*LessIssueListReq) Copy

type LessIssueListResp

type LessIssueListResp struct {
	vo.Err
	Data      *tablev1.ListReply            `json:"data"`
	List      []map[string]interface{}      `json:"list"`
	UserDepts map[string]*uservo.MemberDept `json:"userDepts"`
}

type LessIssueRawListResp

type LessIssueRawListResp struct {
	vo.Err
	Timestamp interface{}              `json:"timestamp"`
	Data      []map[string]interface{} `json:"data"`
}

type LessMoveIssueReq

type LessMoveIssueReq struct {
	AppId    int64  `json:"appId"`
	BeforeId *int64 `json:"beforeId"`
	AfterId  *int64 `json:"afterId"`
	Asc      bool   `json:"asc"`
	DataId   int64  `json:"dataId"`
	OrgId    int64  `json:"orgId"`
	UserId   int64  `json:"userId"`
}

type LessMoveIssueResp

type LessMoveIssueResp struct {
	vo.Err
	Timestamp interface{} `json:"timestamp"`
	Data      interface{} `json:"data"`
}

type LessRecoverIssueReq

type LessRecoverIssueReq struct {
	AppId       int64   `json:"appId"`
	OrgId       int64   `json:"orgId"`
	UserId      int64   `json:"userId"`
	AppValueIds []int64 `json:"appValueIds"`
	IssueIds    []int64 `json:"issueIds"`
	TableId     int64   `json:"tableId"`
}

type LessRecoverIssueResp

type LessRecoverIssueResp struct {
	vo.Err
	Data []map[string]interface{} `json:"data"`
}

type LessRecycleIssueReq

type LessRecycleIssueReq struct {
	AppId    int64   `json:"appId"`
	OrgId    int64   `json:"orgId"`
	UserId   int64   `json:"userId"`
	IssueIds []int64 `json:"issueIds"`
	DataIds  []int64 `json:"dataIds"`
	TableId  int64   `json:"tableId"`
}

type LessRecycleIssueResp

type LessRecycleIssueResp struct {
	vo.Err
	Timestamp interface{} `json:"timestamp"`
	Data      int64       `json:"data"`
}

type LessSaveFormReq

type LessSaveFormReq struct {
	AppId     int64  `json:"appId"`
	OrgId     int64  `json:"orgId"`
	UserId    int64  `json:"userId"`
	ExtendsId int64  `json:"extendsId"`
	PkgId     int64  `json:"pkgId"`
	Config    string `json:"config"`
	Type      int64  `json:"type"`
}

type LessUpdateIssueBatchReq

type LessUpdateIssueBatchReq struct {
	OrgId     int64            `json:"orgId"`
	AppId     int64            `json:"appId"`
	UserId    int64            `json:"userId"`
	Condition vo.LessCondsData `json:"condition"`
	Sets      []datacenter.Set `json:"sets"`
}

type LessUpdateIssueReq

type LessUpdateIssueReq struct {
	AppId   int64                    `json:"appId"`
	OrgId   int64                    `json:"orgId"`
	UserId  int64                    `json:"userId"`
	TableId int64                    `json:"tableId"`
	Form    []map[string]interface{} `json:"form"`
}

type LessUpdateIssueResp

type LessUpdateIssueResp struct {
	vo.Err
	Timestamp interface{}              `json:"timestamp"`
	Data      []map[string]interface{} `json:"data"`
}

type LessWorkHour

type LessWorkHour struct {
	PlanHour        string   `json:"planHour"`
	ActualHour      string   `json:"actualHour"`
	CollaboratorIds []string `json:"collaboratorIds"`
}

Jump to

Keyboard shortcuts

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