dddd
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.

36 lines
2.2 KiB

package systemadmin
import (
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/admin"
"github.com/gin-gonic/gin"
)
type AdminRouter struct{}
func (a *AdminRouter) InitStaffRouter(Router *gin.RouterGroup) {
adminRouter := Router.Group("admin")
var authorityApi = v1.ApiGroupApp.DutyAssess.DutyAssEss
{
adminRouter.POST("", authorityApi.Index) //员工档案入口
adminRouter.POST("/", authorityApi.Index) //员工档案入口
adminRouter.GET("", authorityApi.Index) //员工档案入口
adminRouter.GET("/", authorityApi.Index) //员工档案入口
adminRouter.POST("getdepartevaluate", authorityApi.GetDepartEvaluate) //获取部门考核列表
adminRouter.POST("getdepartmentassesslist", authorityApi.GetDepartmentAssessList) //获取考核列表
adminRouter.POST("lookquantitativeconfig", authorityApi.LookQuantitativeConfig) // 查看定量考核目标设定
adminRouter.POST("selectdutylist", authorityApi.SelectDutyList) //获取定性考核列表用于下拉列表
adminRouter.POST("dutydepartmentlist", authorityApi.DutyDepartmentList) //获取定性考核列表用于列表展示
adminRouter.POST("idtotargetsunlist", authorityApi.IdToTargetSunList) //根据指标ID获取列表信息
adminRouter.POST("getdetailedtargetcallback", authorityApi.GetDetailedTargetCallBack) //获取定性指标->指标细则修改回显
adminRouter.POST("eitedetailedtargetcallback", authorityApi.EiteDetailedTargetCallBack) //获取定性指标->指标细则修改回显与新增
adminRouter.POST("eitesuntargetname", authorityApi.EiteSunTargetName) //修改子栏目名称
4 years ago
adminRouter.POST("deldutytarget", authorityApi.DelDutyTarget) //删除定性考核指标
adminRouter.POST("delsuntardimeat", authorityApi.DelSunTarDimeat) //删除定性考核指标子栏目
adminRouter.POST("adddutyrelation", authorityApi.AddDutyRelation) //添加 定性考核指标关系指定
adminRouter.POST("getdutyrelationlist", authorityApi.GetDutyRelationList) //获取定性考核指标关系指定列表
}
4 years ago
}