KPI绩效考核系统
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.

40 lines
1.7 KiB

package apishiyan
import (
"key_performance_indicators/api/shiyan"
"github.com/gin-gonic/gin"
)
//实验
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
apiRouter := router.Group("shiyan")
var methodBinding = shiyan.AppApiEntry.MapToStructApi
{
apiRouter.GET("", methodBinding.Index) //入口
apiRouter.POST("", methodBinding.Index) //入口
apiRouter.POST("maptostructshiyan", methodBinding.MapToStructShiyan) //map转struct
apiRouter.POST("simulationcallback", methodBinding.SimulationCallBack) //模拟回调
apiRouter.POST("setuphrsystem", methodBinding.SetUpHrSystem) //设置HR系统对接账号和密码
apiRouter.POST("cang_chu_three", methodBinding.CangChuThree) //实验仓储数据读取
apiRouter.GET("cang_chu_three", methodBinding.CangChuThree) //实验仓储数据读取
apiRouter.GET("evalproctime", methodBinding.EvalProcTime) //审批流规制发生时间
apiRouter.POST("evalproctime", methodBinding.EvalProcTime) //审批流规制发生时间
apiRouter.POST("correcting_depart_man", methodBinding.CorrectingDepartAndMan) //验证指标关联部门与指标关联提报人数据
apiRouter.POST("verif_depart_sontarget", methodBinding.VerifDepartSonTarget) //验证部门子栏目关联对照
apiRouter.POST("verif_depart_detasil", methodBinding.VerifDepartDetasil) //验证部门指标细则关系对照
apiRouter.POST("xzbkhbm", methodBinding.XiangzhengBeikaoBumen) //验证部门指标细则关系对照
//验证工作流
apiRouter.POST("test_verify_workflow", methodBinding.TestAndVerifyWorkflow) //验证工作流函数
//校正老流程
apiRouter.POST("check_old_workflow", methodBinding.CheckOldWorkflow) //校正老流程
}
}