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.
47 lines
2.8 KiB
47 lines
2.8 KiB
package examtestpage
|
|
|
|
import (
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 集团框架相关处理数据
|
|
type HealthReportHandleRouter struct{}
|
|
|
|
func (g *GroupHandleRouter) InitHealthReporRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
|
|
groupCodeRouter := Router.Group("wechathealth")
|
|
var authorityApi = v1.ApiGroupApp.GroupHandleApiGroup.HealthReportStat
|
|
{
|
|
groupCodeRouter.POST("/healthlist", authorityApi.HealthList) // 获取健康上报使用统计
|
|
groupCodeRouter.POST("/runhealthlist", authorityApi.RunHealthList) //获取健康上报任务ID列表
|
|
groupCodeRouter.POST("/posthealthlist", authorityApi.PostReportJobInfo) //获取指定的健康上报任务详情。
|
|
groupCodeRouter.POST("/postreportanswerlist", authorityApi.PostReportAnswerList) //获取用户填写答案(分页)
|
|
groupCodeRouter.POST("/postreportanswerlistall", authorityApi.PostReportAnswerListAll) //全部
|
|
|
|
groupCodeRouter.GET("/getreportanswerlistall", authorityApi.PostReportAnswerListAll) //全部
|
|
|
|
groupCodeRouter.POST("/noticeuserlist", authorityApi.NoticeUserList) //报警通知人列表
|
|
groupCodeRouter.POST("/looknoticeusercont", authorityApi.LookNoticeUser) //根据ID查询报警人
|
|
groupCodeRouter.POST("/addnoticeuser", authorityApi.AddNoticeUser) //添加报警通知人
|
|
groupCodeRouter.POST("/eitenoticeuser", authorityApi.EiteNoticeUser) //修改报警通知人
|
|
groupCodeRouter.POST("/delnoticeuser", authorityApi.DelNoticeUser) //删除报警通知人
|
|
groupCodeRouter.POST("/turnpagesreportanswer", authorityApi.PostReportAnswerListLimit) //翻页获取数据
|
|
groupCodeRouter.POST("/sendrelevantpersonnelmsg", authorityApi.SendRelevantPersonnelMsg) //向相关人员发送信息
|
|
|
|
groupCodeRouter.POST("/getseportstatistics", authorityApi.ReportStatistics) //上报统计
|
|
|
|
groupCodeRouter.POST("/getnotreported", authorityApi.NotReportedPeople) //未上报
|
|
|
|
groupCodeRouter.POST("/nationalriskarea", authorityApi.NationalRiskArea) //全国异常地区
|
|
|
|
groupCodeRouter.POST("/testman", authorityApi.TestMan) //测试
|
|
|
|
groupCodeRouter.POST("/postreportanswerlisttodayall", authorityApi.PostReportAnswerListTodayAll) //获取当日9点之前全部上报人员
|
|
groupCodeRouter.GET("/postreportanswerlisttodayall", authorityApi.PostReportAnswerListTodayAll) //获取当日9点之前全部上报人员
|
|
groupCodeRouter.POST("/sendrelevantpersonneltodaymsg", authorityApi.SendRelevantPersonnelTodayMsg) //向相关人员发送信息当日9点
|
|
|
|
groupCodeRouter.POST("/queryhealthreport", authorityApi.QueryHealthReport) //按日期查询
|
|
|
|
}
|
|
return groupCodeRouter
|
|
}
|
|
|