|
|
|
|
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("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) //获取指标细则内容
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|