|
|
|
|
package postseting
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"key_performance_indicators/api/version1"
|
|
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 岗位考核web端
|
|
|
|
|
func (a *ApiRouter) RouterGroupWeb(router *gin.RouterGroup) {
|
|
|
|
|
apiRouter := router.Group("postweb")
|
|
|
|
|
|
|
|
|
|
var methodBinding = version1.AppApiEntry.PostWebApi
|
|
|
|
|
{
|
|
|
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
|
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
|
|
|
|
|
|
|
|
apiRouter.POST("getposttarget", methodBinding.GetPostTarget) //获取指定人要考核的项目列表
|
|
|
|
|
apiRouter.POST("getpostnature", methodBinding.GetPostNature) //定性指标列表
|
|
|
|
|
apiRouter.POST("get_post_nature_son_target", methodBinding.GetPostNatureSonTarget) //定性子栏目列表
|
|
|
|
|
apiRouter.POST("getpostration", methodBinding.GetPostRation) //获取定量指标列表
|
|
|
|
|
apiRouter.POST("get_post_deimenso_info", methodBinding.GetPostDeimensoInfo) //获取岗位定性考核指标细则列表
|
|
|
|
|
apiRouter.POST("get_nature_post_dimerons", methodBinding.GetNaturePostDimerons) //获取被考核人定性指标细则详细内容
|
|
|
|
|
apiRouter.POST("send_us_nature_evaluation", methodBinding.SendUsNatureEvaluation) //提交个人岗位定性考核数据
|
|
|
|
|
apiRouter.POST("get_ration_target_cont", methodBinding.GetRationTargetCont) //获取定量考核详细内容
|
|
|
|
|
apiRouter.POST("submit_ration_post_cont", methodBinding.SubmitRationPostCont) //提交定量考核数据
|
|
|
|
|
apiRouter.POST("post_rectification_measures", methodBinding.PostRectificationMeasures) //提交整改措施
|
|
|
|
|
|
|
|
|
|
apiRouter.POST("getflowmap", methodBinding.GetFlowMap) //获取流程图
|
|
|
|
|
apiRouter.POST("get_quantification_cont", methodBinding.GetQuantificationCont) //获取定量指标相关内容
|
|
|
|
|
|
|
|
|
|
apiRouter.POST("getpostflowlog", methodBinding.GetPostFlowLog) //岗位审批记录
|
|
|
|
|
apiRouter.POST("lookflowmap", methodBinding.LookFlowMap) //获取审批流详情
|
|
|
|
|
apiRouter.POST("lookflowmapcorra", methodBinding.LookFlowMapCorra) //获取审批流详情-->整改措施专用(岗位)
|
|
|
|
|
}
|
|
|
|
|
}
|