report

package
v0.0.0-...-4a54426 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGrid

func AddGrid(params *ParamsGridAdd, result *ResultGridAdd) wx.Action

AddGrid 添加网格

func AddGridCata

func AddGridCata(params *ParamsGridCataAdd, result *ResultGridCataAdd) wx.Action

AddGridCata 添加事件类别

func DeleteGrid

func DeleteGrid(gridID string) wx.Action

DeleteGrid 删除网格

func DeleteGridCata

func DeleteGridCata(categoryID string) wx.Action

DeleteGridCata 删除事件类别

func GetPatrolCategoryStatistic

func GetPatrolCategoryStatistic(categoryID string, result *ResultPatrolCategoryStatistic) wx.Action

GetPatrolCategoryStatistic 获取上报事件分类统计

func GetPatrolCorpStatus

func GetPatrolCorpStatus(gridID string, result *ResultPatrolCorpStatus) wx.Action

GetPatrolCorpStatus 获取单位巡查上报数据统计

func GetPatrolGridInfo

func GetPatrolGridInfo(result *ResultPatrolGridInfo) wx.Action

GetPatrolGridInfo 获取配置的网格及网格负责人

func GetPatrolOrderInfo

func GetPatrolOrderInfo(orderID string, result *ResultPatrolOrderInfo) wx.Action

GetPatrolOrderInfo 获取巡查上报的事件详情信息

func GetPatrolUserStatus

func GetPatrolUserStatus(userID string, result *ResultPatrolUserStatus) wx.Action

GetPatrolUserStatus 获取个人巡查上报数据统计

func GetResidentCategoryStatistic

func GetResidentCategoryStatistic(categoryID string, result *ResultResidentCategoryStatistic) wx.Action

GetResidentCategoryStatistic 获取上报事件分类统计

func GetResidentCorpStatus

func GetResidentCorpStatus(gridID string, result *ResultResidentCorpStatus) wx.Action

GetResidentCorpStatus 获取单位居民上报数据统计

func GetResidentGridInfo

func GetResidentGridInfo(result *ResultResidentGridInfo) wx.Action

GetResidentGridInfo 获取配置的网格及网格负责人

func GetResidentOrderInfo

func GetResidentOrderInfo(orderID string, result *ResultResidentOrderInfo) wx.Action

GetResidentOrderInfo 获取居民上报的事件详情信息

func GetResidentUserStatus

func GetResidentUserStatus(userID string, result *ResultResidentUserStatus) wx.Action

GetResidentUserStatus 获取个人居民上报数据统计

func GetSiteCodeReportAnswer

func GetSiteCodeReportAnswer(siteID, date, cursor string, limit int, result *ResultSiteCodeReportAnswer) wx.Action

GetSiteCodeReportAnswer 获取用户填写答案

func GetSiteCodeReportInfo

func GetSiteCodeReportInfo(siteID string, result *ResultSiteCodeReportInfo) wx.Action

GetSiteCodeReportInfo 获取场所码上报问卷

func GetUserGridInfo

func GetUserGridInfo(userID string, result *ResultUserGridInfo) wx.Action

GetUserGridInfo 获取用户负责及参与的网格列表

func ListGrid

func ListGrid(gridID string, result *ResultGridList) wx.Action

ListGrid 获取网格列表

func ListGridCata

func ListGridCata(result *ResultGridCataList) wx.Action

ListGridCata 获取事件类别列表

func ListPatrolOrder

func ListPatrolOrder(beginCreateTime, beginModifyTime int64, cursor string, limit int, result *ResultPatrolOrderList) wx.Action

ListPatrolOrder 获取巡查上报事件列表

func ListResidentOrder

func ListResidentOrder(beginCreateTime, beginModifyTime int64, cursor string, limit int, result *ResultResidentOrderList) wx.Action

ListResidentOrder 获取居民上报事件列表

func ListSiteCode

func ListSiteCode(cursor string, limit int, result *ResultSiteCodeList) wx.Action

ListSiteCode 获取场所码列表

func UpdateGrid

func UpdateGrid(params *ParamsGridUpdate, result *ResultGridUpdate) wx.Action

UpdateGrid 编辑网格

func UpdateGridCata

func UpdateGridCata(params *ParamsGridCataUpdate) wx.Action

UpdateGridCata 修改事件类别

Types

type Grid

type Grid struct {
	GridID       string   `json:"grid_id"`
	GridName     string   `json:"grid_name"`
	GridParentID string   `json:"grid_parent_id"`
	GridAdmin    []string `json:"grid_admin"`
	GridMember   []string `json:"grid_member"`
}

type GridCategory

type GridCategory struct {
	CategoryID       string `json:"category_id"`
	CategoryName     string `json:"category_name"`
	Level            int    `json:"level"`
	ParentCategoryID string `json:"parent_category_id"`
}

type Location

type Location struct {
	Name      string  `json:"name"`
	Address   string  `json:"address"`
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
}

type ParamsGridAdd

type ParamsGridAdd struct {
	GridName     string   `json:"grid_name"`
	GridParentID string   `json:"grid_parent_id"`
	GridAdmin    []string `json:"grid_admin"`
	GridMember   []string `json:"grid_member,omitempty"`
}

type ParamsGridCataAdd

type ParamsGridCataAdd struct {
	CategoryName     string `json:"category_name"`
	Level            int    `json:"level"`
	ParentCategoryID string `json:"parent_category_id,omitempty"`
}

type ParamsGridCataDelete

type ParamsGridCataDelete struct {
	CategoryID string `json:"category_id"`
}

type ParamsGridCataUpdate

type ParamsGridCataUpdate struct {
	CategoryID       string `json:"category_id"`
	CategoryName     string `json:"category_name"`
	Level            int    `json:"level"`
	ParentCategoryID string `json:"parent_category_id,omitempty"`
}

type ParamsGridDelete

type ParamsGridDelete struct {
	GridID string `json:"grid_id"`
}

type ParamsGridList

type ParamsGridList struct {
	GridID string `json:"grid_id"`
}

type ParamsGridUpdate

type ParamsGridUpdate struct {
	GridID       string   `json:"grid_id"`
	GridName     string   `json:"grid_name"`
	GridParentID string   `json:"grid_parent_id"`
	GridAdmin    []string `json:"grid_admin"`
	GridMember   []string `json:"grid_member,omitempty"`
}

type ParamsPatrolCategoryStatistic

type ParamsPatrolCategoryStatistic struct {
	CategoryID string `json:"category_id"`
}

type ParamsPatrolCorpStatus

type ParamsPatrolCorpStatus struct {
	GridID string `json:"grid_id"`
}

type ParamsPatrolOrderInfo

type ParamsPatrolOrderInfo struct {
	OrderID string `json:"order_id"`
}

type ParamsPatrolOrderList

type ParamsPatrolOrderList struct {
	BeginCreateTime int64  `json:"begin_create_time,omitempty"`
	BeginModifyTime int64  `json:"begin_modify_time,omitempty"`
	Cursor          string `json:"cursor,omitempty"`
	Limit           int    `json:"limit,omitempty"`
}

type ParamsPatrolUserStatus

type ParamsPatrolUserStatus struct {
	UserID string `json:"userid"`
}

type ParamsResidentCategoryStatistic

type ParamsResidentCategoryStatistic struct {
	CategoryID string `json:"category_id"`
}

type ParamsResidentCorpStatus

type ParamsResidentCorpStatus struct {
	GridID string `json:"grid_id"`
}

type ParamsResidentOrderInfo

type ParamsResidentOrderInfo struct {
	OrderID string `json:"order_id"`
}

type ParamsResidentOrderList

type ParamsResidentOrderList struct {
	BeginCreateTime int64  `json:"begin_create_time,omitempty"`
	BeginModifyTime int64  `json:"begin_modify_time,omitempty"`
	Cursor          string `json:"cursor,omitempty"`
	Limit           int    `json:"limit,omitempty"`
}

type ParamsResidentUserStatus

type ParamsResidentUserStatus struct {
	UserID string `json:"userid"`
}

type ParamsSiteCodeList

type ParamsSiteCodeList struct {
	Cursor string `json:"cursor,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type ParamsSiteCodeReportAnswer

type ParamsSiteCodeReportAnswer struct {
	SiteID string `json:"siteid"`
	Date   string `json:"date"`
	Cursor string `json:"cursor,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type ParamsSiteCodeReportInfo

type ParamsSiteCodeReportInfo struct {
	SiteID string `json:"siteid"`
}

type ParamsUserGridInfo

type ParamsUserGridInfo struct {
	UserID string `json:"userid"`
}

type PatrolCategoryStatistic

type PatrolCategoryStatistic struct {
	CategoryID    string `json:"category_id"`
	CategoryName  string `json:"category_name"`
	CategoryLevel int    `json:"category_level"`
	CategoryType  int    `json:"category_type"`
	TotalCase     int    `json:"total_case"`
	TotalSolved   int    `json:"total_solved"`
}

type PatrolGrid

type PatrolGrid struct {
	GridID    string   `json:"grid_id"`
	GridName  string   `json:"grid_name"`
	GridAdmin []string `json:"grid_admin"`
}

type PatrolOrder

type PatrolOrder struct {
	OrderID          string     `json:"order_id"`
	Desc             string     `json:"desc"`
	UrgeType         int        `json:"urge_type"`
	CaseName         string     `json:"case_name"`
	GridName         string     `json:"grid_name"`
	GridID           string     `json:"grid_id"`
	CreateTime       int64      `json:"create_time"`
	ImageURLs        []string   `json:"image_urls"`
	VideoMediaIDs    []string   `json:"video_media_ids"`
	Location         *Location  `json:"location"`
	ProcessorUserIDs []string   `json:"processor_userids"`
	ProcessList      []*Process `json:"process_list"`
}

type Process

type Process struct {
	ProcessType   int      `json:"process_type"`
	SolveUserID   string   `json:"solve_userid"`
	ProcessDesc   string   `json:"process_desc"`
	Status        int      `json:"status"`
	SolvedTime    int64    `json:"solved_time"`
	ImageURLs     []string `json:"image_urls"`
	VideoMediaIDs []string `json:"video_media_ids"`
}

type QuestionAnswer

type QuestionAnswer struct {
	ReportTime   int64          `json:"report_time"`
	ReportValues []*ReportValue `json:"report_values"`
}

type QuestionOption

type QuestionOption struct {
	OptionID   int64  `json:"option_id"`
	OptionText string `json:"option_text"`
}

type QuestionTemplate

type QuestionTemplate struct {
	QuestionID   int64             `json:"question_id"`
	Title        string            `json:"title"`
	QuestionType int               `json:"question_type"`
	IsRequired   int               `json:"is_required"`
	OptionList   []*QuestionOption `json:"option_list"`
}

type ReportValue

type ReportValue struct {
	QuestionID   int64  `json:"question_id"`
	SingleChoice int    `json:"single_choice"`
	MultiChoice  []int  `json:"multi_choice"`
	Text         string `json:"text"`
}

type ResidentCategoryStatistic

type ResidentCategoryStatistic struct {
	CategoryID    string `json:"category_id"`
	CategoryName  string `json:"category_name"`
	CategoryLevel int    `json:"category_level"`
	CategoryType  int    `json:"category_type"`
	TotalCase     int    `json:"total_case"`
	TotalSolved   int    `json:"total_solved"`
}

type ResidentGrid

type ResidentGrid struct {
	GridID    string   `json:"grid_id"`
	GridName  string   `json:"grid_name"`
	GridAdmin []string `json:"grid_admin"`
}

type ResidentOrder

type ResidentOrder struct {
	OrderID          string     `json:"order_id"`
	Desc             string     `json:"desc"`
	UrgeType         int        `json:"urge_type"`
	CaseName         string     `json:"case_name"`
	GridName         string     `json:"grid_name"`
	GridID           string     `json:"grid_id"`
	ReporterName     string     `json:"reporter_name"`
	ReporterMobile   string     `json:"reporter_mobile"`
	UnionID          string     `json:"unionid"`
	CreateTime       int64      `json:"create_time"`
	ImageURLs        []string   `json:"image_urls"`
	VideoMediaIDs    []string   `json:"video_media_ids"`
	Location         *Location  `json:"location"`
	ProcessorUserIDs []string   `json:"processor_userids"`
	ProcessList      []*Process `json:"process_list"`
}

type ResultGridAdd

type ResultGridAdd struct {
	GridID         string   `json:"grid_id"`
	InvalidUserIDs []string `json:"invalid_userids"`
}

type ResultGridCataAdd

type ResultGridCataAdd struct {
	CategoryID string `json:"category_id"`
}

type ResultGridCataList

type ResultGridCataList struct {
	CategoryList []*GridCategory `json:"category_list"`
}

type ResultGridList

type ResultGridList struct {
	GridList []*Grid `json:"grid_list"`
}

type ResultGridUpdate

type ResultGridUpdate struct {
	InvalidUserIDs []string `json:"invalid_userids"`
}

type ResultPatrolCategoryStatistic

type ResultPatrolCategoryStatistic struct {
	DashboardList []*PatrolCategoryStatistic `json:"dashboard_list"`
}

type ResultPatrolCorpStatus

type ResultPatrolCorpStatus struct {
	Processing   int `json:"processing"`
	AddedToday   int `json:"added_today"`
	SolvedToday  int `json:"solved_today"`
	TotalCase    int `json:"total_case"`
	ToBeAssigned int `json:"to_be_assigned"`
	TotalSolved  int `json:"total_solved"`
}

type ResultPatrolGridInfo

type ResultPatrolGridInfo struct {
	GridList []*PatrolGrid `json:"grid_list"`
}

type ResultPatrolOrderInfo

type ResultPatrolOrderInfo struct {
	OrderInfo *PatrolOrder `json:"order_info"`
}

type ResultPatrolOrderList

type ResultPatrolOrderList struct {
	NextCursor string         `json:"next_cursor"`
	OrderList  []*PatrolOrder `json:"order_list"`
}

type ResultPatrolUserStatus

type ResultPatrolUserStatus struct {
	Processing  int `json:"processing"`
	AddedToday  int `json:"added_today"`
	SolvedToday int `json:"solved_today"`
}

type ResultResidentCategoryStatistic

type ResultResidentCategoryStatistic struct {
	DashboardList []*ResidentCategoryStatistic `json:"dashboard_list"`
}

type ResultResidentCorpStatus

type ResultResidentCorpStatus struct {
	Processing    int `json:"processing"`
	AddedToday    int `json:"added_today"`
	SolvedToday   int `json:"solved_today"`
	Pending       int `json:"pending"`
	TotalCase     int `json:"total_case"`
	TotalAccepted int `json:"total_accepted"`
	TotalSolved   int `json:"total_solved"`
}

type ResultResidentGridInfo

type ResultResidentGridInfo struct {
	GridList []*ResidentGrid `json:"grid_list"`
}

type ResultResidentOrderInfo

type ResultResidentOrderInfo struct {
	OrderInfo *ResidentOrder `json:"order_info"`
}

type ResultResidentOrderList

type ResultResidentOrderList struct {
	NextCursor string           `json:"next_cursor"`
	OrderList  []*ResidentOrder `json:"order_list"`
}

type ResultResidentUserStatus

type ResultResidentUserStatus struct {
	Processing  int `json:"processing"`
	AddedToday  int `json:"added_today"`
	SolvedToday int `json:"solved_today"`
	Pending     int `json:"pending"`
}

type ResultSiteCodeList

type ResultSiteCodeList struct {
	SiteCodeInfos []*SiteCodeInfo `json:"site_code_infos"`
	NextCursor    string          `json:"next_cursor"`
}

type ResultSiteCodeReportAnswer

type ResultSiteCodeReportAnswer struct {
	Answers    []*QuestionAnswer `json:"answers"`
	NextCursor string            `json:"next_cursor"`
	HasMore    int               `json:"has_more"`
}

type ResultSiteCodeReportInfo

type ResultSiteCodeReportInfo struct {
	QuestionTemplates []*QuestionTemplate `json:"question_templates"`
}

type ResultUserGridInfo

type ResultUserGridInfo struct {
	ManageGrids []*UserGridInfo `json:"manage_grids"`
	JoinedGrids []*UserGridInfo `json:"joined_grids"`
}

type SiteCodeInfo

type SiteCodeInfo struct {
	ID        string   `json:"id"`
	Type      string   `json:"type"`
	Area      string   `json:"area"`
	Address   string   `json:"address"`
	Name      string   `json:"name"`
	Admin     []string `json:"admin"`
	QRCodeURL string   `json:"qr_code_url"`
}

type UserGridInfo

type UserGridInfo struct {
	GridID   string `json:"grid_id"`
	GridName string `json:"grid_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL