service

package
v0.0.0-...-41f1090 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ROLE 系统角色权限验证
	ROLE = "role"
	// BUSINESS_ROLE 项目权限验证
	BUSINESS_ROLE = "businessRole"
	// ACT_WRITE 读写权限
	ACT_WRITE = "write"
	// ACT_READ 只读权限
	ACT_READ = "read"

	// LevelHigh 最高权限
	LevelHigh = 1
	// LevelMiddle 部门主管权限
	LevelMiddle = 2
	// LevelLow 部门员工权限
	LevelLow = 3
)

Variables

View Source
var BudgetAccess = budgetAccessService{}

BudgetAccess 激励预算信息管理服务

View Source
var BudgetRadio = budgetRadioService{}

BudgetRadio 激励激励应发信息管理服务

View Source
var (
	Casbin = casbinService{}
)

Casbin 权限管理服务

View Source
var Context = contextService{}

Context 上下文管理服务

View Source
var CrewDutyIndex = crewDutyIndexService{}

CrewDutyIndex 责任指数信息责任服务

View Source
var CrewHoursIndex = crewHoursIndexService{}

CrewHoursIndex 工时指数信息管理服务

View Source
var CrewKpiRule = crewKpiRuleService{}

CrewKpiRule 解决问题贡献信息管理服务

View Source
var CrewManageIndex = crewManageIndexService{}

CrewManageIndex 管理指数信息管理服务

View Source
var CrewOvertimeRule = crewOvertimeRuleService{}

CrewOvertimeRule 加班贡献管理服务

View Source
var CrewSolveRule = crewSolveRuleService{}

CrewSolveRule 解决问题贡献信息管理服务

View Source
var Cron *cron.Cron
View Source
var Department = departmentService{}

Department 部门信息管理服务

View Source
var DutyIndexLists []*v1.CrewDutyIndexInfo
View Source
var DutyIndexRadio float64

DutyIndexRadio 基准指数中责任指数占比

View Source
var Employee = employeeService{}

Employee 员工信息管理服务

View Source
var HoursIndexLists []*v1.CrewHoursIndexInfo
View Source
var HoursIndexRadio float64

HoursIndexRadio 基准指数中工时指数占比

View Source
var Job = jobService{}

Job 职级信息管理服务

View Source
var JobLevel = jobLevelService{}

JobLevel 职级信息管理服务

View Source
var KpiRuleLists []*inspirit.CrewKpiRuleInfo
View Source
var LevelAssess = levelAssessService{}

LevelAssess 项目等级评估信息管理服务

View Source
var LevelConfirm = levelConfirmService{}

LevelConfirm 项目优先级信息管理服务

View Source
var ManageIndexLists []*v1.CrewManageIndexInfo
View Source
var ManageIndexRadio float64

ManageIndexRadio 基准指数中管理指数占比

View Source
var Middleware = middlewareService{}

Middleware 中间件管理服务

View Source
var Mode = modeService{}

Mode 研发模式信息管理服务

View Source
var Product = productService{}
View Source
var ProductMember = productMemberService{}
View Source
var ProductMemberKey = productMemberKeyService{}
View Source
var ProductMemberKpi = productMemberKpiService{}
View Source
var ProductMemberPrize = productMemberPrizeService{}
View Source
var ProductRoles = productRolesService{}

ProductRoles 项目角色信息管理服务

View Source
var ProductStageKpi = productStageKpiService{}
View Source
var ProductStageRule = productStageRuleService{}
View Source
var Session = sessionService{}

Session 管理服务

View Source
var StatisticsSummation = statisticsSummationService{}

StatisticsSummation 总量统计API

View Source
var Task = taskService{}
View Source
var TaskDevelop = taskDevelopService{}
View Source
var TaskNpi = taskNpiService{}
View Source
var TaskProduce = taskProduceService{}
View Source
var TaskQuality = taskQualityService{}
View Source
var Timer = timerService{}
View Source
var Type = typeService{}

Type 项目类型信息管理服务

View Source
var User = userService{}

User 中间件管理服务

View Source
var UserLog = userLogService{}

UserLog 用户操作记录服务

Functions

This section is empty.

Types

type ProductMemberExcel

type ProductMemberExcel struct {
	ProId      uint   // 项目ID
	EmpId      uint   // 项目成员ID
	WorkNumber string // 员工工号
	Attribute  uint   // 属性(1:全职,2:兼职)
	PrId       uint   // 项目角色ID
	PrName     string // 项目角色名称
	JbId       uint   // 职级ID
	JbName     string // 职级名称
}

ProductMemberExcel Excel导出数据格式

type TimerTask

type TimerTask struct {
	Name     string        // 任务名称
	Interval time.Duration // 执行间隔时间
	Function func()        // 执行函数
}

TimerTask 定义任务结构体

Jump to

Keyboard shortcuts

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