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.
|
|
|
|
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("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) //提交定量考核数据
|
|
|
|
|
}
|
|
|
|
|
}
|