Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Financial = financial{ PermissionType: PermissionType, }
View Source
var ( PermissionType = func(modules co_interface.IConfig) *permissionType[co_interface.IConfig] { result := permissionTypeMap.GetOrSet(modules.GetConfig().KeyIndex, &permissionType[co_interface.IConfig]{ enumMap: kmap.New[string, Permission](), ViewInvoiceDetail: base_permission.New(5953153121845334, "ViewDetail", "查看发票详情", "查看发票详情信息"), ViewInvoice: base_permission.New(5953153121845335, "ViewInvoice", "查看发票抬头信息", "查看发票抬头信息"), ViewBankCardDetail: base_permission.New(5953153121845336, "ViewBankCardDetail", "查看银行卡", "查看银行卡信息"), BankCardList: base_permission.New(5953153121845337, "BankCardList", "银行卡列表", "查看所有银行卡"), InvoiceList: base_permission.New(5953153121845338, "InvoiceList", "发票抬头列表", "查看所有发票抬头"), InvoiceDetailList: base_permission.New(5953153121845339, "InvoiceDetailList", "发票详情列表", "查看所有发票详情"), AuditInvoiceDetail: base_permission.New(5953153121845340, "AuditInvoiceDetail", "审核发票", "审核发票申请"), MakeInvoiceDetail: base_permission.New(5953153121845341, "MakeInvoiceDetail", "开发票", "添加发票详情记录"), CreateInvoice: base_permission.New(5953153121845342, "CreateInvoice", "添加发票抬头", "添加发票抬头信息"), CreateBankCard: base_permission.New(5953153121845343, "CreateBankCard", "添加银行卡", "添加银行卡信息"), DeleteInvoice: base_permission.New(5953153121845344, "DeleteInvoice", "删除发票抬头", "删除发票抬头信息"), DeleteBankCard: base_permission.New(5953153121845345, "DeleteBankCard", "删除银行卡", "删除银行卡信息"), GetAccountBalance: base_permission.New(5953153121845346, "GetAccountBalance", "查看余额", "查看账号余额"), GetAccountDetail: base_permission.New(5953153121849347, "GetAccountDetail", "查看财务账号详情", "查看财务账号金额明细"), UpdateAccountAmount: base_permission.New(5953153121849348, "UpdateAccountAmount", "修改财务金额", "修改财务账号金额明细"), UpdateAccountState: base_permission.New(5953153121849349, "UpdateAccountState", "修改财务账号状态", "修改财务账号状态"), UpdateAccountDetail: base_permission.New(5953153121898321, "UpdateAccountDetail", "修改财务账号", "修改财务账号详情"), }) for k, v := range gconv.Map(result) { result.enumMap.Set(k, v.(Permission)) } return result } )
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission = base_permission.IPermission
Click to show internal directories.
Click to hide internal directories.