controllers

package
v0.0.0-...-dc452f4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCustomerNO

func GetCustomerNO(_customer_no string) string

取电房编号

func GetSysValNO

func GetSysValNO(_code string) (string, error)

取电房编号

Types

type BackendConfController

type BackendConfController struct {
	BaseController
}

func (*BackendConfController) DataGrid

func (this *BackendConfController) DataGrid()

func (*BackendConfController) DataList

func (this *BackendConfController) DataList()

func (*BackendConfController) Delete

func (this *BackendConfController) Delete()

func (*BackendConfController) Edit

func (this *BackendConfController) Edit()

func (*BackendConfController) Index

func (this *BackendConfController) Index()

func (*BackendConfController) Prepare

func (this *BackendConfController) Prepare()

func (*BackendConfController) Save

func (this *BackendConfController) Save()

add | update

type BackendUserController

type BackendUserController struct {
	BaseController
}

func (*BackendUserController) DataGrid

func (this *BackendUserController) DataGrid()

func (*BackendUserController) Delete

func (this *BackendUserController) Delete()

func (*BackendUserController) Edit

func (this *BackendUserController) Edit()

Edit 添加 编辑 页面

func (*BackendUserController) Index

func (this *BackendUserController) Index()

func (*BackendUserController) Prepare

func (this *BackendUserController) Prepare()

func (*BackendUserController) Save

func (this *BackendUserController) Save()

type BaseController

type BaseController struct {
	beego.Controller
	// contains filtered or unexported fields
}

func (*BaseController) Prepare

func (this *BaseController) Prepare()

type CollectBaseInfoController

type CollectBaseInfoController struct {
	BaseController
}

func (*CollectBaseInfoController) DataGrid

func (this *CollectBaseInfoController) DataGrid()

func (*CollectBaseInfoController) DataList

func (this *CollectBaseInfoController) DataList()

func (*CollectBaseInfoController) Index

func (this *CollectBaseInfoController) Index()

func (*CollectBaseInfoController) Prepare

func (this *CollectBaseInfoController) Prepare()

type EquipmentCustomerController

type EquipmentCustomerController struct {
	BaseController
}

func (*EquipmentCustomerController) DataGrid

func (this *EquipmentCustomerController) DataGrid()

func (*EquipmentCustomerController) DataList

func (this *EquipmentCustomerController) DataList()

func (*EquipmentCustomerController) Delete

func (this *EquipmentCustomerController) Delete()

func (*EquipmentCustomerController) Edit

func (this *EquipmentCustomerController) Edit()

func (*EquipmentCustomerController) Index

func (this *EquipmentCustomerController) Index()

func (*EquipmentCustomerController) Prepare

func (this *EquipmentCustomerController) Prepare()

func (*EquipmentCustomerController) Save

func (this *EquipmentCustomerController) Save()

add | update

func (*EquipmentCustomerController) SelectPicker

func (this *EquipmentCustomerController) SelectPicker()

客户下拉选择列表

type EquipmentDtuConfigController

type EquipmentDtuConfigController struct {
	BaseController
}

func (*EquipmentDtuConfigController) DataGrid

func (this *EquipmentDtuConfigController) DataGrid()

func (*EquipmentDtuConfigController) DataList

func (this *EquipmentDtuConfigController) DataList()

func (*EquipmentDtuConfigController) Delete

func (this *EquipmentDtuConfigController) Delete()

func (*EquipmentDtuConfigController) Edit

func (this *EquipmentDtuConfigController) Edit()

func (*EquipmentDtuConfigController) Index

func (this *EquipmentDtuConfigController) Index()

func (*EquipmentDtuConfigController) Prepare

func (this *EquipmentDtuConfigController) Prepare()

func (*EquipmentDtuConfigController) Save

func (this *EquipmentDtuConfigController) Save()

add | update

func (*EquipmentDtuConfigController) SelectPicker

func (this *EquipmentDtuConfigController) SelectPicker()

下拉选择列表

type EquipmentGatewayController

type EquipmentGatewayController struct {
	BaseController
}

func (*EquipmentGatewayController) DataGrid

func (this *EquipmentGatewayController) DataGrid()

func (*EquipmentGatewayController) DataList

func (this *EquipmentGatewayController) DataList()

func (*EquipmentGatewayController) Delete

func (this *EquipmentGatewayController) Delete()

func (*EquipmentGatewayController) Edit

func (this *EquipmentGatewayController) Edit()

func (*EquipmentGatewayController) Index

func (this *EquipmentGatewayController) Index()

func (*EquipmentGatewayController) Prepare

func (this *EquipmentGatewayController) Prepare()

func (*EquipmentGatewayController) Save

func (this *EquipmentGatewayController) Save()

func (*EquipmentGatewayController) SelectPicker

func (this *EquipmentGatewayController) SelectPicker()

下拉选择列表

type EquipmentMeterAddrConfigController

type EquipmentMeterAddrConfigController struct {
	BaseController
}

func (*EquipmentMeterAddrConfigController) DataGrid

func (this *EquipmentMeterAddrConfigController) DataGrid()

func (*EquipmentMeterAddrConfigController) DataList

func (this *EquipmentMeterAddrConfigController) DataList()

func (*EquipmentMeterAddrConfigController) Delete

func (this *EquipmentMeterAddrConfigController) Delete()

func (*EquipmentMeterAddrConfigController) Edit

func (*EquipmentMeterAddrConfigController) Index

func (this *EquipmentMeterAddrConfigController) Index()

func (*EquipmentMeterAddrConfigController) Prepare

func (this *EquipmentMeterAddrConfigController) Prepare()

func (*EquipmentMeterAddrConfigController) Save

add | update

type EquipmentMeterConfigController

type EquipmentMeterConfigController struct {
	BaseController
}

func (*EquipmentMeterConfigController) DataGrid

func (this *EquipmentMeterConfigController) DataGrid()

func (*EquipmentMeterConfigController) DataList

func (this *EquipmentMeterConfigController) DataList()

func (*EquipmentMeterConfigController) Delete

func (this *EquipmentMeterConfigController) Delete()

func (*EquipmentMeterConfigController) Edit

func (this *EquipmentMeterConfigController) Edit()

func (*EquipmentMeterConfigController) Index

func (this *EquipmentMeterConfigController) Index()

func (*EquipmentMeterConfigController) Prepare

func (this *EquipmentMeterConfigController) Prepare()

func (*EquipmentMeterConfigController) Save

func (this *EquipmentMeterConfigController) Save()

add | update

type EquipmentMeterConfigFieldController

type EquipmentMeterConfigFieldController struct {
	BaseController
}

func (*EquipmentMeterConfigFieldController) DataGrid

func (this *EquipmentMeterConfigFieldController) DataGrid()

func (*EquipmentMeterConfigFieldController) DataList

func (this *EquipmentMeterConfigFieldController) DataList()

func (*EquipmentMeterConfigFieldController) Delete

func (this *EquipmentMeterConfigFieldController) Delete()

func (*EquipmentMeterConfigFieldController) Edit

func (*EquipmentMeterConfigFieldController) Index

func (*EquipmentMeterConfigFieldController) Prepare

func (this *EquipmentMeterConfigFieldController) Prepare()

func (*EquipmentMeterConfigFieldController) Save

add | update

type EquipmentMeterRomConfigController

type EquipmentMeterRomConfigController struct {
	BaseController
}

func (*EquipmentMeterRomConfigController) DataGrid

func (this *EquipmentMeterRomConfigController) DataGrid()

func (*EquipmentMeterRomConfigController) DataList

func (this *EquipmentMeterRomConfigController) DataList()

func (*EquipmentMeterRomConfigController) Delete

func (this *EquipmentMeterRomConfigController) Delete()

func (*EquipmentMeterRomConfigController) Edit

func (this *EquipmentMeterRomConfigController) Edit()

func (*EquipmentMeterRomConfigController) Index

func (this *EquipmentMeterRomConfigController) Index()

func (*EquipmentMeterRomConfigController) Prepare

func (this *EquipmentMeterRomConfigController) Prepare()

func (*EquipmentMeterRomConfigController) Save

func (this *EquipmentMeterRomConfigController) Save()

add | update

type EquipmentMeterTypeController

type EquipmentMeterTypeController struct {
	BaseController
}

func (*EquipmentMeterTypeController) DataGrid

func (this *EquipmentMeterTypeController) DataGrid()

func (*EquipmentMeterTypeController) DataGridSelect

func (this *EquipmentMeterTypeController) DataGridSelect()

func (*EquipmentMeterTypeController) DataList

func (this *EquipmentMeterTypeController) DataList()

func (*EquipmentMeterTypeController) Delete

func (this *EquipmentMeterTypeController) Delete()

func (*EquipmentMeterTypeController) Edit

func (this *EquipmentMeterTypeController) Edit()

func (*EquipmentMeterTypeController) Index

func (this *EquipmentMeterTypeController) Index()

func (*EquipmentMeterTypeController) Prepare

func (this *EquipmentMeterTypeController) Prepare()

func (*EquipmentMeterTypeController) Save

func (this *EquipmentMeterTypeController) Save()

add | update

type EquipmentOverviewController

type EquipmentOverviewController struct {
	BaseController
}

func (*EquipmentOverviewController) DataGrid

func (this *EquipmentOverviewController) DataGrid()

func (*EquipmentOverviewController) DataList

func (this *EquipmentOverviewController) DataList()

func (*EquipmentOverviewController) Index

func (this *EquipmentOverviewController) Index()

func (*EquipmentOverviewController) Prepare

func (this *EquipmentOverviewController) Prepare()

type EquipmentRoomController

type EquipmentRoomController struct {
	BaseController
}

func (*EquipmentRoomController) DataGrid

func (this *EquipmentRoomController) DataGrid()

func (*EquipmentRoomController) DataList

func (this *EquipmentRoomController) DataList()

func (*EquipmentRoomController) Delete

func (this *EquipmentRoomController) Delete()

func (*EquipmentRoomController) Edit

func (this *EquipmentRoomController) Edit()

func (*EquipmentRoomController) Index

func (this *EquipmentRoomController) Index()

func (*EquipmentRoomController) Prepare

func (this *EquipmentRoomController) Prepare()

func (*EquipmentRoomController) Save

func (this *EquipmentRoomController) Save()

add | update

func (*EquipmentRoomController) SelectPicker

func (this *EquipmentRoomController) SelectPicker()

下拉选择列表

type EquipmentSimCardsController

type EquipmentSimCardsController struct {
	BaseController
}

func (*EquipmentSimCardsController) DataGrid

func (this *EquipmentSimCardsController) DataGrid()

DataGrid 管理首页 表格获取数据

func (*EquipmentSimCardsController) DataList

func (this *EquipmentSimCardsController) DataList()

DataList 列表

func (*EquipmentSimCardsController) Delete

func (this *EquipmentSimCardsController) Delete()

Delete 批量删除

func (*EquipmentSimCardsController) Edit

func (this *EquipmentSimCardsController) Edit()

Edit 添加、编辑角色界面

func (*EquipmentSimCardsController) Index

func (this *EquipmentSimCardsController) Index()

func (*EquipmentSimCardsController) Prepare

func (this *EquipmentSimCardsController) Prepare()

func (*EquipmentSimCardsController) Save

func (this *EquipmentSimCardsController) Save()

Save 添加、编辑页面 保存

func (*EquipmentSimCardsController) SelectPicker

func (this *EquipmentSimCardsController) SelectPicker()

下拉选择列表

func (*EquipmentSimCardsController) TrafficSync

func (this *EquipmentSimCardsController) TrafficSync()

abcdefg hijklmn opqrst uvwxyz

type EquipmentTableConfigController

type EquipmentTableConfigController struct {
	BaseController
}

func (*EquipmentTableConfigController) DataGrid

func (this *EquipmentTableConfigController) DataGrid()

func (*EquipmentTableConfigController) DataList

func (this *EquipmentTableConfigController) DataList()

func (*EquipmentTableConfigController) Delete

func (this *EquipmentTableConfigController) Delete()

func (*EquipmentTableConfigController) Edit

func (this *EquipmentTableConfigController) Edit()

func (*EquipmentTableConfigController) Index

func (this *EquipmentTableConfigController) Index()

func (*EquipmentTableConfigController) Prepare

func (this *EquipmentTableConfigController) Prepare()

func (*EquipmentTableConfigController) Save

func (this *EquipmentTableConfigController) Save()

add | update

type EquipmentVendorController

type EquipmentVendorController struct {
	BaseController
}

func (*EquipmentVendorController) DataGrid

func (this *EquipmentVendorController) DataGrid()

func (*EquipmentVendorController) DataList

func (this *EquipmentVendorController) DataList()

func (*EquipmentVendorController) Delete

func (this *EquipmentVendorController) Delete()

func (*EquipmentVendorController) Edit

func (this *EquipmentVendorController) Edit()

func (*EquipmentVendorController) Index

func (this *EquipmentVendorController) Index()

func (*EquipmentVendorController) Prepare

func (this *EquipmentVendorController) Prepare()

func (*EquipmentVendorController) Save

func (this *EquipmentVendorController) Save()

add | update

func (*EquipmentVendorController) SelectPicker

func (this *EquipmentVendorController) SelectPicker()

下拉选择列表

type HomeController

type HomeController struct {
	BaseController
}

func (*HomeController) DoLogin

func (this *HomeController) DoLogin()

登陆

func (*HomeController) Error

func (this *HomeController) Error()

func (*HomeController) GetCollectCountOfMonth

func (this *HomeController) GetCollectCountOfMonth()

取月采集数量

func (*HomeController) GetConfigValue

func (this *HomeController) GetConfigValue()

获取配置文件信息

func (*HomeController) GetCustomerForMeter

func (this *HomeController) GetCustomerForMeter()

查询客户和电表

func (*HomeController) GetCustomerZone

func (this *HomeController) GetCustomerZone()

获取客户分布

func (*HomeController) GetDtuCount

func (this *HomeController) GetDtuCount()

取DTU数量

func (*HomeController) GetDtuRowForDay

func (this *HomeController) GetDtuRowForDay()

今日采集进度查询

func (*HomeController) GetMeterCount

func (this *HomeController) GetMeterCount()

取电表数量

func (*HomeController) GetOverviewToday

func (this *HomeController) GetOverviewToday()

获取概述信息GetDtuRowForDay

func (*HomeController) GetWeather

func (this *HomeController) GetWeather()

func (*HomeController) Index

func (this *HomeController) Index()

func (*HomeController) Index2

func (this *HomeController) Index2()

func (*HomeController) Login

func (this *HomeController) Login()

func (*HomeController) Logout

func (this *HomeController) Logout()

退出

func (*HomeController) Page404

func (this *HomeController) Page404()

type IconsController

type IconsController struct {
	BaseController
}

func (*IconsController) Index

func (this *IconsController) Index()

func (*IconsController) Prepare

func (this *IconsController) Prepare()

type LoginTraceController

type LoginTraceController struct {
	BaseController
}

func (*LoginTraceController) DataGrid

func (this *LoginTraceController) DataGrid()

func (*LoginTraceController) DataList

func (this *LoginTraceController) DataList()

func (*LoginTraceController) Index

func (this *LoginTraceController) Index()

func (*LoginTraceController) Prepare

func (this *LoginTraceController) Prepare()

type MainController

type MainController struct {
	BaseController
}

func (*MainController) Index

func (this *MainController) Index()

func (*MainController) Prepare

func (this *MainController) Prepare()

type ResourceController

type ResourceController struct {
	BaseController
}

func (*ResourceController) CheckUrlFor

func (this *ResourceController) CheckUrlFor()

CheckUrlFor 填写UrlFor时进行验证

func (*ResourceController) ChooseIcon

func (this *ResourceController) ChooseIcon()

func (*ResourceController) Delete

func (this *ResourceController) Delete()

Delete 删除

func (*ResourceController) Edit

func (this *ResourceController) Edit()

Edit 资源编辑页面

func (*ResourceController) Index

func (this *ResourceController) Index()

func (*ResourceController) ParentTreeGrid

func (this *ResourceController) ParentTreeGrid()

ParentTreeGrid 获取可以成为某节点的父节点列表

func (*ResourceController) Prepare

func (this *ResourceController) Prepare()

func (*ResourceController) Save

func (this *ResourceController) Save()

Save 资源添加编辑 保存

func (*ResourceController) Select

func (this *ResourceController) Select()

Select 通用选择面板

func (*ResourceController) TreeGrid

func (this *ResourceController) TreeGrid()

TreeGrid 获取所有资源的列表

func (*ResourceController) UpdateSeq

func (this *ResourceController) UpdateSeq()
func (this *ResourceController) UrlFor2Link(src []*models.Resource)

UrlFor2Link 使用URLFor方法,批量将资源表里的UrlFor值转成LinkUrl

func (*ResourceController) UrlFor2LinkOne

func (this *ResourceController) UrlFor2LinkOne(urlfor string) string

UrlFor2LinkOne 使用URLFor方法,将资源表里的UrlFor值转成LinkUrl

func (*ResourceController) UserMenuTree

func (this *ResourceController) UserMenuTree()

UserMenuTree 获取用户有权管理的菜单、区域列表

type RoleController

type RoleController struct {
	BaseController
}

RoleController 角色管理

func (*RoleController) Allocate

func (this *RoleController) Allocate()

Allocate 给角色分配资源界面

func (*RoleController) DataGrid

func (this *RoleController) DataGrid()

DataGrid 角色管理首页 表格获取数据

func (*RoleController) DataList

func (this *RoleController) DataList()

DataList 角色列表

func (*RoleController) Delete

func (this *RoleController) Delete()

Delete 批量删除

func (*RoleController) Edit

func (this *RoleController) Edit()

Edit 添加、编辑角色界面

func (*RoleController) Index

func (this *RoleController) Index()

Index 角色管理首页

func (*RoleController) Prepare

func (this *RoleController) Prepare()

Prepare 参考beego官方文档说明

func (*RoleController) Save

func (this *RoleController) Save()

Save 添加、编辑页面 保存

func (*RoleController) UpdateSeq

func (this *RoleController) UpdateSeq()

type SystemValController

type SystemValController struct {
	BaseController
}

func (*SystemValController) DataGrid

func (this *SystemValController) DataGrid()

func (*SystemValController) DataList

func (this *SystemValController) DataList()

func (*SystemValController) Delete

func (this *SystemValController) Delete()

func (*SystemValController) Edit

func (this *SystemValController) Edit()

func (*SystemValController) Index

func (this *SystemValController) Index()

func (*SystemValController) Prepare

func (this *SystemValController) Prepare()

func (*SystemValController) Save

func (this *SystemValController) Save()

add | update

type TerminalTraceController

type TerminalTraceController struct {
	BaseController
}

func (*TerminalTraceController) DataGrid

func (this *TerminalTraceController) DataGrid()

func (*TerminalTraceController) Index

func (this *TerminalTraceController) Index()

func (*TerminalTraceController) Prepare

func (this *TerminalTraceController) Prepare()

type TotalActivePowerMinuteController

type TotalActivePowerMinuteController struct {
	BaseController
}

func (*TotalActivePowerMinuteController) DataGrid

func (this *TotalActivePowerMinuteController) DataGrid()

func (*TotalActivePowerMinuteController) DataList

func (this *TotalActivePowerMinuteController) DataList()

func (*TotalActivePowerMinuteController) Index

func (this *TotalActivePowerMinuteController) Index()

func (*TotalActivePowerMinuteController) Prepare

func (this *TotalActivePowerMinuteController) Prepare()

type TotalCollectRateController

type TotalCollectRateController struct {
	BaseController
}

func (*TotalCollectRateController) DataGrid

func (this *TotalCollectRateController) DataGrid()

func (*TotalCollectRateController) Index

func (this *TotalCollectRateController) Index()

func (*TotalCollectRateController) Prepare

func (this *TotalCollectRateController) Prepare()

type TotalDtuRowsController

type TotalDtuRowsController struct {
	BaseController
}

func (*TotalDtuRowsController) DataGrid

func (this *TotalDtuRowsController) DataGrid()

func (*TotalDtuRowsController) DataList

func (this *TotalDtuRowsController) DataList()

func (*TotalDtuRowsController) Index

func (this *TotalDtuRowsController) Index()

func (*TotalDtuRowsController) Prepare

func (this *TotalDtuRowsController) Prepare()

type UserCenterController

type UserCenterController struct {
	BaseController
}

func (*UserCenterController) BasicInfoSave

func (this *UserCenterController) BasicInfoSave()

func (*UserCenterController) PasswordSave

func (this *UserCenterController) PasswordSave()

func (*UserCenterController) Prepare

func (this *UserCenterController) Prepare()

func (*UserCenterController) Profile

func (this *UserCenterController) Profile()

func (*UserCenterController) UploadImage

func (this *UserCenterController) UploadImage()

type WebsocketWidgetController

type WebsocketWidgetController struct {
	BaseController
}

func (*WebsocketWidgetController) Get

func (this *WebsocketWidgetController) Get()

func (*WebsocketWidgetController) Index

func (this *WebsocketWidgetController) Index()

func (*WebsocketWidgetController) Prepare

func (this *WebsocketWidgetController) Prepare()

Jump to

Keyboard shortcuts

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