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.
25 lines
1.2 KiB
25 lines
1.2 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("getpostabouttarget", methodBinding.GetPostAboutTarget) //获取岗位相关指标
|
|
apiRouter.POST("quote_department_target", methodBinding.QuoteDepartmentTarget) //引用指标部门指标
|
|
apiRouter.POST("submit_post_scheme", methodBinding.SubmitPostScheme) //提交岗位考核方案
|
|
apiRouter.POST("get_post_scheme", methodBinding.GetPostScheme) //获取岗位方案内容列表
|
|
apiRouter.POST("get_copy_sheme_infor", methodBinding.GetCopyShemeInfor) //获取复制岗位考核方案
|
|
apiRouter.POST("get_post_target", methodBinding.GetPostTarget) //获取岗位指标详情
|
|
apiRouter.POST("add_post_target", methodBinding.AddPostTarget) //添加岗位指标
|
|
}
|
|
}
|
|
|