h5

package
v0.0.0-...-1911912 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SAVENOTSUB = "已保存未提交"
	COMPLETE   = "处理完成"
	BACKTOBEG  = "退回发起人"
	SUBMIT     = "发起事件"
	SUBAGAIN   = "重新上报"
	AGREE      = "同意"
	INVALID    = "作废"
)

Variables

This section is empty.

Functions

func AddAddressbook

func AddAddressbook(c *gin.Context)

增加通讯录组

func AddContacter

func AddContacter(c *gin.Context)

增加联系人

func AddNetdiskDir

func AddNetdiskDir(c *gin.Context)

新建网盘文件夹

func AddNetdiskFile

func AddNetdiskFile(c *gin.Context)

上传网盘文件

func AddNote

func AddNote(c *gin.Context)

新建记事本

func AddProc

func AddProc(c *gin.Context)

提报事项保存&&提交

func DealProc

func DealProc(c *gin.Context)

事件处理(退回&&通过)

func DeleteAddressbook

func DeleteAddressbook(c *gin.Context)

删除通讯录组

func DeleteContacter

func DeleteContacter(c *gin.Context)

删除联系人

func DeleteMsg

func DeleteMsg(c *gin.Context)

删除消息

func DeleteNetdiskDir

func DeleteNetdiskDir(c *gin.Context)

删除文件夹

func DeleteNetdiskFile

func DeleteNetdiskFile(c *gin.Context)

删除文件

func DeleteNote

func DeleteNote(c *gin.Context)

删除记事本

func DeleteProc

func DeleteProc(c *gin.Context)

作废&&删除提报事项

func GetAddressbooks

func GetAddressbooks(c *gin.Context)

获取通讯组列表

func GetContacters

func GetContacters(c *gin.Context)

获取通讯组联系人列表

func GetFileListByDir

func GetFileListByDir(c *gin.Context)

获取当前文件夹文件列表

func GetMsgByID

func GetMsgByID(c *gin.Context)

获取消息详情

func GetMsgs

func GetMsgs(c *gin.Context)

获取消息列表

func GetNetdiskDirTree

func GetNetdiskDirTree(c *gin.Context)

获取用户网盘文件夹列表

func GetNoteDetail

func GetNoteDetail(c *gin.Context)

查询记事本详情

func GetNoteList

func GetNoteList(c *gin.Context)

获取记事本列表

func GetProcDetail

func GetProcDetail(c *gin.Context)

查询提报事项详情

func GetProcDoneList

func GetProcDoneList(c *gin.Context)

获取已办列表(全部)

func GetProcDoneListDoing

func GetProcDoneListDoing(c *gin.Context)

获取已办列表(未办结)

func GetProcDoneListEnd

func GetProcDoneListEnd(c *gin.Context)

获取已办列表(已办结)

func GetProcModList

func GetProcModList(c *gin.Context)

事件处理流水记录查询

func GetProcTodoList

func GetProcTodoList(c *gin.Context)

获取待办列表

func GetRecentContacter

func GetRecentContacter(c *gin.Context)

获取最近联系人列表

func MoveToTrash

func MoveToTrash(c *gin.Context)

移动到回收站

func ProcBcms

func ProcBcms(c *gin.Context)

发起补充描述

func SendMsg

func SendMsg(c *gin.Context)

发信息

func SendMsgMobile

func SendMsgMobile(c *gin.Context)

发信息(内网)

func UpdateAddressbook

func UpdateAddressbook(c *gin.Context)

修改通讯录组名称

func UpdateNetdiskDir

func UpdateNetdiskDir(c *gin.Context)

修改文件夹

func UpdateNetdiskFile

func UpdateNetdiskFile(c *gin.Context)

修改网盘文件&从回收站恢复

func UpdateNote

func UpdateNote(c *gin.Context)

修改记事本内容

func UpdateProc

func UpdateProc(c *gin.Context)

(未)提交事项修改&&提交

func UpdateProcBcms

func UpdateProcBcms(c *gin.Context)

补充描述提交

Types

type AddressbookForm

type AddressbookForm struct {
	ID     uint
	Name   string `json:"name" valid:"Required"`
	Mobile string `json:"mobile"`
}

type Attachments

type Attachments struct {
	FileName string `json:"name" form:"name"`
	FileUrl  string `json:"url" form:"url"`
	FileSize int    `json:"size" form:"size"`
	FileType string `json:"type" form:"type"`
}

type ContactersForm

type ContactersForm struct {
	Bookid    uint     `json:"bookid" valid:"Required"`
	UserIDs   []string `json:"userids"`
	Deptnames []string `json:"deptname"`
}

type DealForm

type DealForm struct {
	ID   uint
	Spyj string `json:"spyj"`
	Czr  string `json:"czr"`
}

type MsgResp

type MsgResp struct {
	models.Msg
	DeptName string `json:"dept_name"`
}

type MsgSendForm

type MsgSendForm struct {
	ToID        string        `json:"to_id" form:"to_id"`
	ToName      string        `json:"to_name" form:"to_name"`
	FromID      string        `json:"from_id" form:"from_id"`
	FromName    string        `json:"from_name" form:"from_name"`
	Title       string        `json:"title" form:"title"`
	Content     string        `json:"content" form:"content"`
	Attachments []Attachments `json:"fileList" form:"fileList"`
}

type NetdiskForm

type NetdiskForm struct {
	ID       int    `json:"id"`
	Mobile   string `json:"mobile"` //inner useful
	TreeID   int    `json:"tree_id"`
	OrID     int    `json:"orid"`
	FileName string `json:"file_name"`
	FileUrl  string `json:"url"`
	FileSize int    `json:"file_size"`
}

type NetdiskTreeForm

type NetdiskTreeForm struct {
	ID     int    `json:"id"`
	PId    int    `json:"pId"`
	Name   string `json:"name"`
	Mobile string `json:"mobile"` //inner useful
}

type NoteForm

type NoteForm struct {
	ID      uint   `json:"id"`
	Title   string `json:"title"`
	Content string `json:"content"`
	Mobile  string `json:"mobile"` //inner useful
}

type ProcForm

type ProcForm struct {
	ID       uint
	Dm       string `json:"dm"`
	Tbr      string `json:"tbr"`
	Tsr      string `json:"tsr"`
	Mobile   string `json:"mobile"`
	DevID    string `json:"devid"`
	Title    string `json:"title"`
	Xq       string `json:"xq"`
	Bcms     string `json:"bcms"`
	Zp       string `json:"zp"`
	Czr      string `json:"czr"`
	Modifyid uint   `json:"modifyid"`
	SyrName  string `json:"syr_name"`
	Syr      string `json:"syr"` //syr mobile
	Cfwz     string `json:"cfwz"`
	Spyj     string `json:"spyj"`
}

Jump to

Keyboard shortcuts

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