design

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Eb_colstaticds

type Eb_colstaticds struct {
	InfoID  int     `xorm:"infoid" json:"infoid"`
	InfoKey string  `xorm:"infokey" json:"infokey"`
	Pid     int     `xorm:"pid" json:"pid"`
	GridId  int     `xorm:"gridid" json:"gridid"`
	SqlCol  string  `xorm:"sqlcol" json:"sqlcol"`
	SortID  float64 `xorm:"sortid" json:"sortid"`
}

func (*Eb_colstaticds) TableName

func (*Eb_colstaticds) TableName() string

type FormDesignItem

type FormDesignItem struct {
	Type           string            `json:"type"`
	Icon           string            `json:"icon"`
	Options        FormDesignOptions `json:"options"`
	ParrentOptions FormDesignOptions `json:"parrentOptions"`
	Name           string            `json:"name"`
	Key            string            `json:"key"`
	Model          string            `json:"model"`
	Rules          []struct {
		Type    string `json:"type"`
		Message string `json:"message"`
	} `json:"rules"`
	Columns []struct {
		Span int           `json:"span"`
		Xs   int           `json:"xs"`
		Sm   int           `json:"sm"`
		Md   int           `json:"md"`
		Lg   int           `json:"lg"`
		Xl   int           `json:"xl"`
		List []interface{} `json:"list"`
	} `json:"columns,omitempty"`
	Tabs         []FormDesignTab  `json:"tabs,omitempty"`
	TableColumns []FormDesignItem `json:"tableColumns"`
}

type FormDesignOptions

type FormDesignOptions struct {
	DataSourceWhere    string          `json:"datasourcewhere"`
	Grid               string          `json:"grid"`
	SelectorStyle      string          `json:"selectorStyle"`
	MathFormula        string          `json:"mathFormula"`
	EventByAuto        string          `json:"eventbyauto"`  //事件执行代码
	TargetRefCol       string          `json:"targetrefcol"` //数据关联字段
	RefCol             string          `json:"refcol"`       //关联的来源字段
	IsOnlyLast         bool            `json:"isonlylast"`   //只能选择末级,仅树形档案
	IsBatchEdit        bool            `json:"isbatchedit"`  //只能选择末级,仅树形档案
	OpenType           string          `json:"opentype"`     // 弹窗显示方式   针对有数据源的字段 下拉(tree,tree2,treevslist,list)
	DsWindowShowCol    string          `json:"dswindowshowcol"`
	ChkByMaxLen        int             `json:"chkbymaxlen"`
	ChkByRegular       string          `json:"chkbyregular"`
	DataControlMode    string          `json:"datacontrolmode"`
	SumbyFilterMath    string          `json:"sumbyfiltermath"`
	IsZQ               bool            `json:"iszq"`     // 是否链接跳转
	ZQParams           string          `json:"zqparams"` // 链接跳转Url格式
	OnChangedformula   string          `json:"onChangedformula"`
	RemoteRule         string          `json:"remoteRule"`
	DataSource         string          `json:"datasource"`
	DsGroupId          string          `json:"dsgroupid"`
	HideFormula        string          `json:"hideFormula"`
	OnlyReadFormula    string          `json:"onlyReadFormula"`
	RequiredFormula    string          `json:"requiredFormula"`
	SqlCode            string          `json:"sqlCode"`
	DefaultValue       interface{}     `json:"defaultValue"`
	Width              interface{}     `json:"width"`
	CustomClass        string          `json:"customClass"`
	LabelWidth         int             `json:"labelWidth"`
	IsLabelWidth       bool            `json:"isLabelWidth"`
	Hidden             bool            `json:"hidden"`
	IsQueryShow        bool            `json:"isQueryShow"`
	IsOnlyListPageShow bool            `json:"isOnlyListPageShow"` //仅主表列表页显示
	IsOnlyEditPageShow bool            `json:"isOnlyEditPageShow"` //仅子表编辑页显示
	DataBind           bool            `json:"dataBind"`
	CustomToolbar      [][]interface{} `json:"customToolbar"`
	Disabled           bool            `json:"disabled"`
	IsMobile           bool            `json:"ismobile"`
	ColDirection       string          `json:"coldirection"`
	Ismobilelistshow   bool            `json:"ismobilelistshow"`
	Ismobilemerge      bool            `json:"ismobilemerge"`
	Ismobileshowlab    bool            `json:"ismobileshowlab"`
	Ismobilelisttop    bool            `json:"ismobilelisttop"`
	Formula            string          `json:"formula"`
	RemoteFunc         string          `json:"remoteFunc"`
	RemoteOption       string          `json:"remoteOption"`
	Placeholder        string          `json:"placeholder"`
	Clearable          bool            `json:"clearable"`
	Remote             bool            `json:"remote"`
	RemoteType         string          `json:"remoteType"`
	RemoteOptions      []interface{}   `json:"remoteOptions"`
	Props              struct {
		Value    string `json:"value"`
		Label    string `json:"label"`
		Children string `json:"children"`
	} `json:"props"`
	Size struct {
		Width  int `json:"width"`
		Height int `json:"height"`
	} `json:"size"`
	TokenFunc       string        `json:"tokenFunc"`
	Token           string        `json:"token"`
	Domain          string        `json:"domain"`
	Readonly        bool          `json:"readonly"`
	Limit           int           `json:"limit"`
	Multiple        bool          `json:"multiple"`
	IsQiniu         bool          `json:"isQiniu"`
	IsDelete        bool          `json:"isDelete"`
	Min             int           `json:"min"`
	IsEdit          bool          `json:"isEdit"`
	Action          string        `json:"action"`
	Headers         []interface{} `json:"headers"`
	ContentPosition string        `json:"contentPosition"`
	Gutter          int           `json:"gutter"`
	Justify         string        `json:"justify"`
	Align           string        `json:"align"`
	Flex            bool          `json:"flex"`
	Responsive      bool          `json:"responsive"`
	Tip             string        `json:"tip"`
	DataType        string        `json:"dataType"`
	Pattern         string        `json:"pattern"`
	ShowPassword    bool          `json:"showPassword"`
	CountAll        bool          `json:"countAll"`
	Inline          bool          `json:"inline"`
	ShowLabel       bool          `json:"showLabel"`
	Options         []struct {
		Value string `json:"value"`
	} `json:"options"`
	Required bool `json:"required"`
}

type FormDesignResult

type FormDesignResult struct {
	Pid    string           `json:"pid"`
	List   []FormDesignItem `json:"list"`
	Config struct {
		LabelWidth    int    `json:"labelWidth"`
		LabelPosition string `json:"labelPosition"`
		Size          string `json:"size"`
		CustomClass   string `json:"customClass"`
		UI            string `json:"ui"`
		Layout        string `json:"layout"`
		LabelCol      int    `json:"labelCol"`
		Width         string `json:"width"`
		FormName      string `json:"formName"`
	} `json:"config"`
}

func (FormDesignResult) IsEmpty

func (a FormDesignResult) IsEmpty() bool

type FormDesignTab

type FormDesignTab struct {
	Label string           `json:"label"`
	Name  string           `json:"name"`
	List  []FormDesignItem `json:"list"`
}

type Loadallbtnbyrole

type Loadallbtnbyrole struct {
	BtnVSFormID string `xorm:"BtnVSFormID" json:"BtnVSFormID"`
	ModelID     int    `xorm:"ModelID" json:"ModelID"`
	Modelname   string `xorm:"modelname" json:"modelname"`
	Pid         int    `xorm:"Pid" json:"Pid"`
	Pname       string `xorm:"Pname" json:"Pname"`
	Btncode     string `xorm:"Btncode" json:"Btncode"`
	BtnText     string `xorm:"BtnText" json:"BtnText"`
	Isenable    int    `xorm:"isenable" json:"isenable"`
	IsEditPage  int    `xorm:"IsEditPage" json:"IsEditPage"`
}

*

  • @Author: lvxuanye
  • @Date: 2020/5/3 08:29
  • @describe:取出所有菜单

type Loadbtnbyrole

type Loadbtnbyrole struct {
	BtnText     string `xorm:"BtnText" json:"BtnText"`
	BtnCode     string `xorm:"BtnCode" json:"BtnCode"`
	BtnVSFormID string `xorm:"BtnVSFormID" json:"BtnVSFormID"`
	Pid         int    `xorm:"Pid" json:"Pid"`
}

*

  • @Author: lvxuanye
  • @Date: 2020/4/23 14:17
  • @describe:表单创建:功能-内嵌授权

type Loadhelpbyrole

type Loadhelpbyrole struct {
	MsgName     string `xorm:"MsgName" json:"MsgName"`
	MsgCode     string `xorm:"MsgCode" json:"MsgCode"`
	MsgVsBillId string `xorm:"MsgVsBillId" json:"MsgVsBillId"`
	Pid         int    `xorm:"Pid" json:"Pid"`
}

*

  • @Author: lvxuanye
  • @Date: 2020/4/23 17:29
  • @describe:表单创建:内嵌-助手授权

type Loadmenubyrole

type Loadmenubyrole struct {
	Modelid   int    `xorm:"modelid" json:"modelid"`
	Modelname string `xorm:"modelname" json:"modelname"`
	Pname     string `xorm:"pname" json:"pname"`
	Pid       int    `xorm:"Pid" json:"Pid"`
	Isenable  int    `xorm:"isenable" json:"isenable"`
}

*

  • @Author: lvxuanye
  • @Date: 2020/5/3 08:29
  • @describe:取出所有菜单

type Loaduserbyrole

type Loaduserbyrole struct {
	Userid   string `xorm:"Userid" json:"Userid"`
	Usercode string `xorm:"Usercode" json:"Usercode"`
	Username string `xorm:"Username" json:"Username"`
	ImgSrc   string `xorm:"ImgSrc" json:"ImgSrc"`
	DeptCode string `xorm:"DeptCode" json:"DeptCode"`
	DeptName string `xorm:"DeptName" json:"DeptName"`
}

*

  • @Author: lvxuanye
  • @Date: 2020/4/29
  • @describe:查看审批信息 -结构体

type Sys_uiform

type Sys_uiform struct {
	TempId   int    `xorm:"tempid" json:"tempid"`
	Pid      int    `xorm:"pid" json:"pid"`
	TempName string `xorm:"tempname" json:"tempname"`
	EntId    int    `xorm:"entid" json:"entid"`
}

func (*Sys_uiform) TableName

func (*Sys_uiform) TableName() string

type Sys_uiformcol

type Sys_uiformcol struct {
	ID                 int     `xorm:"id" json:"id"`
	Pid                int     `xorm:"pid" json:"pid"`
	Name               string  `xorm:"name" json:"name"`
	SqlCol             string  `xorm:"sqlcol" json:"sqlcol"`
	TabID              string  `xorm:"tabid" json:"tabid"`
	ObjPkid            string  `xorm:"obj_pkid" json:"obj_pkid"`
	ObjType            string  `xorm:"objtype" json:"objtype"`
	Sortid             float64 `xorm:"sortid" json:"sortid"`
	Ishide             int     `xorm:"ishide" json:"ishide"`
	ControlType        string  `xorm:"controltype" json:"controltype"`
	Width              string  `xorm:"width" json:"width"`
	Height             string  `xorm:"height" json:"height"`
	IsRequired         int     `xorm:"isrequired" json:"isrequired"`
	IsReadOnly         int     `xorm:"isreadonly" json:"isreadonly"`
	HideMath           string  `xorm:"hidemath" json:"hidemath"`
	RequireMath        string  `xorm:"requiremath" json:"requiremath"`
	ReadonlyMath       string  `xorm:"readonlymath" json:"readonlymath"`
	IsQueryShow        int     `xorm:"isqueryshow" json:"isqueryshow"`
	IsOnlyListPageShow int     `xorm:"isonlylistpageshow" json:"isonlylistpageshow"`
	SqlDataType        string  `xorm:"sqldatatype" json:"sqldatatype"`
	DataSource         string  `xorm:"datasource" json:"datasource"`
	DataSourceWhere    string  `xorm:"datasourcewhere" json:"datasourcewhere"`
	DsGroupId          string  `xorm:"dsgroupid" json:"dsgroupid"`
	IsSum              int     `xorm:"issum" json:"issum"`
	IsSingle           int     `xorm:"issingle" json:"issingle"`
	IsMobile           int     `xorm:"ismobile" json:"ismobile"`
	ColDirection       string  `xorm:"coldirection" json:"coldirection"`
	MathStr            string  `xorm:"mathstr" json:"mathstr"`
	DefaultValue       string  `xorm:"defaultvalue " json:"defaultvalue"`
	EventByAuto        string  `xorm:"eventbyauto " json:"eventbyauto"`
	TargetRefCol       string  `xorm:"targetrefcol" json:"targetrefcol"` //关联的目标字段
	RefCol             string  `xorm:"refcol" json:"refcol"`             //关联的来源字段
	IsOnlyLast         int     `xorm:"isonlylast" json:"isonlylast"`     //只能选择末级,仅树形档案
	OpenType           string  `xorm:"opentype" json:"opentype"`         // 弹窗显示方式   针对有数据源的字段 下拉(tree,tree2,treevslist,list)
	DataControlMode    string  `xorm:"datacontrolmode" json:"datacontrolmode"`
	SumbyFilterMath    string  `xorm:"sumbyfiltermath" json:"sumbyfiltermath"`
	DsWindowShowCol    string  `xorm:"dswindowshowcol" json:"dswindowshowcol"`
	ChkByMaxLen        int     `xorm:"chkbymaxlen" json:"chkbymaxlen"`
	ChkByRegular       string  `xorm:"chkbyregular" json:"chkbyregular"`
	Placeholder        string  `xorm:"placeholder" json:"placeholder"`
	IsZQ               int     `xorm:"iszq" json:"iszq"`         // 是否链接跳转
	ZQParams           string  `xorm:"zqparams" json:"zqparams"` // 链接跳转Url格式
	EntId              int     `xorm:"entid" json:"entid"`
}

func (*Sys_uiformcol) TableName

func (*Sys_uiformcol) TableName() string

type Sys_uiformgrid

type Sys_uiformgrid struct {
	ID                 int    `xorm:"id" json:"id"`
	Pid                int    `xorm:"pid" json:"pid"`
	GridID             int    `xorm:"gridid" json:"gridid"`
	Name               string `xorm:"name" json:"name"`
	SqlCol             string `xorm:"sqlcol" json:"sqlcol"`
	DetailID           string `xorm:"detailid" json:"detailid"`
	SortID             int    `xorm:"sortid" json:"sortid"`
	Ishide             int    `xorm:"ishide" json:"ishide"`
	ControlType        string `xorm:"controltype" json:"controltype"`
	Isreadonly         int    `xorm:"isreadonly" json:"isreadonly"`
	Isrequired         int    `xorm:"isrequired" json:"isrequired"`
	RequireMath        string `xorm:"requiremath" json:"requiremath"`
	ReadonlyMath       string `xorm:"readonlymath" json:"readonlymath"`
	HideMath           string `xorm:"hidemath" json:"hidemath"`
	Width              string `xorm:"width" json:"width"`
	SqlDataType        string `xorm:"sqldatatype" json:"sqldatatype"`
	DataSource         string `xorm:"datasource" json:"datasource"`
	DataSourceWhere    string `xorm:"datasourcewhere" json:"datasourcewhere"`
	DsGroupId          string `xorm:"dsgroupid" json:"dsgroupid"`
	IsSum              int    `xorm:"issum" json:"issum"`
	IsSingle           int    `xorm:"issingle" json:"issingle"`
	IsMobile           int    `xorm:"ismobile" json:"ismobile"`
	MathStr            string `xorm:"mathstr" json:"mathstr"`
	DefaultValue       string `xorm:"defaultvalue " json:"defaultvalue"`
	EventByAuto        string `xorm:"eventbyauto " json:"eventbyauto"`
	TargetRefCol       string `xorm:"targetrefcol" json:"targetrefcol"` //关联的目标字段
	RefCol             string `xorm:"refcol" json:"refcol"`             //关联的来源字段
	IsOnlyLast         int    `xorm:"isonlylast" json:"isonlylast"`     //只能选择末级,仅树形档案
	IsBatchEdit        int    `xorm:"isbatchedit" json:"isbatchedit"`
	OpenType           string `xorm:"opentype" json:"opentype"` // 弹窗显示方式   针对有数据源的字段 下拉(tree,tree2,treevslist,list)
	DataControlMode    string `xorm:"datacontrolmode" json:"datacontrolmode"`
	SumbyFilterMath    string `xorm:"sumbyfiltermath" json:"sumbyfiltermath"`
	DsWindowShowCol    string `xorm:"dswindowshowcol" json:"dswindowshowcol"`
	ChkByMaxLen        int    `xorm:"chkbymaxlen" json:"chkbymaxlen"`
	ChkByRegular       string `xorm:"chkbyregular" json:"chkbyregular"`
	Placeholder        string `xorm:"placeholder" json:"placeholder"`
	IsOnlyEditPageShow int    `xorm:"isonlyeditpageshow" json:"isonlyeditpageshow"` // 字段仅编辑列表页显示
	EntId              int    `xorm:"entid" json:"entid"`
	ColDirection       string `xorm:"coldirection" json:"coldirection"`
	Ismobilelistshow   int    `xorm:"ismobile_listshow" json:"ismobilelistshow"`
	Ismobilemerge      int    `xorm:"ismobile_merge" json:"ismobilemerge"`
	Ismobileshowlab    int    `xorm:"ismobile_showlab" json:"ismobileshowlab"`
	Ismobilelisttop    int    `xorm:"ismobile_listtop" json:"ismobilelisttop"`
}

func (*Sys_uiformgrid) TableName

func (*Sys_uiformgrid) TableName() string

type Sys_uitabpage

type Sys_uitabpage struct {
	TabID      string  `xorm:"tabid" json:"tabid"`
	TabName    string  `xorm:"tabname" json:"tabname"`
	SortID     float64 `xorm:"sortid" json:"sortid"`
	TabGroupID string  `xorm:"tabgroupid" json:"tabgroupid"`
	TabPic     string  `xorm:"tabpic" json:"tabpic"`
	Pid        int     `xorm:"pid" json:"pid"`
	EntId      int     `xorm:"entid" json:"entid"`
}

func (*Sys_uitabpage) TableName

func (*Sys_uitabpage) TableName() string

type Sys_uitabs

type Sys_uitabs struct {
	TabGroupID   string `xorm:"tabgroupid" json:"tabgroupid"`
	TabStyleID   string `xorm:"tabstyleid" json:"tabstyleid"`
	TabGroupName string `xorm:"tabgroupname" json:"tabgroupname"`
	Pid          int    `xorm:"pid" json:"pid"`
	SortID       int    `xorm:"SortID" json:"SortID"`
	EntId        int    `xorm:"entid" json:"entid"`
}

func (*Sys_uitabs) TableName

func (*Sys_uitabs) TableName() string

Jump to

Keyboard shortcuts

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