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.
22 lines
664 B
22 lines
664 B
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) //定量指标列表
|
|
}
|
|
}
|
|
|