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.
24 lines
797 B
24 lines
797 B
|
4 years ago
|
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) //获取考核列表
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|