KPI绩效考核系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
3.4 KiB

package postseting
import (
"key_performance_indicators/api/version1"
"github.com/gin-gonic/gin"
)
// 岗位考核PC端
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
apiRouter := router.Group("postpc")
var methodBinding = version1.AppApiEntry.PostPcApi
{
apiRouter.GET("", methodBinding.Index) //入口
apiRouter.POST("", methodBinding.Index) //入口
apiRouter.POST("get_scheme_list", methodBinding.GetSchemeList) //获取岗位考核方案列表
apiRouter.POST("submit_post_scheme", methodBinding.SubmitPostScheme) //提交岗位考核方案
apiRouter.POST("get_post_scheme", methodBinding.GetPostScheme) //获取岗位方案内容列表
apiRouter.POST("get_copy_sheme_infor", methodBinding.GetCopyShemeInfor) //获取复制岗位考核方案
apiRouter.POST("set_evaluation_objectives", methodBinding.SetEvaluationObjectives) //提交岗位定量目标设定
apiRouter.POST("post_config_list", methodBinding.PostConfigList) //岗位定量考核目标列表
apiRouter.POST("eite_quantitative_config", methodBinding.EiteQuantitativeConfig) //修改考核目标设置
apiRouter.POST("del_quantitative_config", methodBinding.DelQuantitativeConfig) //删除考核目标设置
apiRouter.POST("lookposttiveconfig", methodBinding.LookPosttiveConfig) // 查看定量考核目标设定
/*
岗位定性指标
*/
apiRouter.POST("getpostabouttarget", methodBinding.GetPostAboutTarget) //获取岗位相关指标
apiRouter.POST("quote_department_target", methodBinding.QuoteDepartmentTarget) //引用指标部门指标
apiRouter.POST("get_post_target", methodBinding.GetPostTarget) //获取岗位指标详情
apiRouter.POST("add_post_target", methodBinding.AddPostTarget) //添加岗位指标
apiRouter.POST("dit_post_target", methodBinding.EditPostTarget) //编辑岗位指标
apiRouter.POST("get_target_about_depart_to_post_man", methodBinding.GetTargetAboutDepartToPostMan) //获取岗位指标关联部门相关岗位及提报人
apiRouter.POST("add_post_target_cont", methodBinding.AddPostTargetCont) //根据指标添加岗位细则
apiRouter.POST("edit_scheme_state_of_del", methodBinding.EditSchemeStateOfDel) //编辑方案版本状态或删除
apiRouter.POST("posttargetsunlist", methodBinding.PostTargetSunList) //根据指标获取岗位定性指标细则列表
/*
岗位定性指标子栏目
*/
apiRouter.POST("get_sun_target_info", methodBinding.GetSunTargetInfo) //获取岗位子栏目详情
apiRouter.POST("edit_son_target_cont", methodBinding.EditSonTargetCont) //编辑岗位子栏目内容
apiRouter.POST("del_son_target_cont", methodBinding.DelSonTargetCont) //删除子栏目
/*
定性指标细则
*/
apiRouter.POST("addpostdetacont", methodBinding.AddOneTargetD) //添加单条定性指标细则
apiRouter.POST("eidtposttardetailsstrte", methodBinding.EidtPostTarDetailsStrte) //删除指标细则
apiRouter.POST("editdeatilscont", methodBinding.EditDeatilsCont) //编辑定性指标细则内容
apiRouter.POST("getdetailscont", methodBinding.GetDetailsCont) //获取指标细则内容
}
}