package home import "github.com/gogf/gf/os/gtime" type SetUpHomeConfig struct { ModuleCode string `json:"module_code"` NumReportConfig []*NumReportConfig `json:"num_report_config"` DataReportConfig []*DataReportConfig `json:"data_report_config"` } type SearchHomeConfig struct { ModuleCode string `json:"module_code"` } type SearchNumReportData struct { ReportId []int64 `json:"ids"` } type SearchDataReportData struct { ReportId int64 `json:"id"` Params map[string]interface{} } type NumReportConfig struct { Id int64 `json:"id"` ReportIcon string `json:"report_icon"` ReportCode string `json:"report_code"` ReportName string `json:"report_name"` ReportDesc string `json:"report_desc"` Sort int64 `json:"sort"` } type DataReportConfig struct { Id int64 `json:"id"` ReportCode string `json:"report_code"` ReportName string `json:"report_name"` ReportDesc string `json:"report_desc"` ReportType string `json:"report_type"` LocationX int64 `json:"location_x"` LocationY int64 `json:"location_y"` SizeH int64 `json:"size_h"` SizeW int64 `json:"size_w"` } type NumReportResponses struct { NumReportResponse []*NumReportResponse `json:"num_report_response"` } type NumReportResponse struct { NumReportConfig Data interface{} `json:"data"` } type DataReportResponse struct { DataReportConfig Data interface{} `json:"data"` } type SearchWechatNumReportDataReq struct { ViewInterval string `json:"viewInterval" v:"required#查看范围不能为空"` //查看范围 } type SearchWechatNumReportDataRes struct { NewCustomer int `json:"newCustomer"` // 新增客户数量 NewBusiness int `json:"newBusiness"` // 新增项目数量 NewTask int `json:"newTask"` // 未处理督办事项 } type SearchFollowUpReportData struct { Month *gtime.Time `json:"month" v:"required#月份不能为空"` }