using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using PMS.BusinessModels.SysManager; namespace PMS.Interface.SysManager { /// /// 创 建 人:王海洋 /// 创建日期:2018-12-10 /// 功能描述:系统模块接口 /// public interface ISystemModule { /// /// 获取系统菜单列表 /// /// 角色ID /// 返回Json字符串 string GetTreeMenu(List roleids, bool isAdmin); /// /// 获取树形结构的json编辑文件 /// string GetTreeGridView(); /// /// 获取模块树 /// /// string GetEasyUIJson(); /// /// 获取所有可以用模块树 /// /// string GetActiveTreemenu(); /// /// 根据ID查询模块信息 /// /// /// DataTable GetModuleInfo(int id); /// /// 保存模块信息 /// /// /// bool SaveInfo(form_menu_model model); /// /// 根据模块ID获取已授权的模块按钮列表 /// /// 模块ID /// DataTable GetButtonListByID(int id); /// /// 根据模块ID,指定授权相关的按钮记录 /// /// 模块ID /// 按钮集合 /// 分组名称 /// 返回是否授权成功 bool AuthButtons(int id, string buttonids, string group); /// /// 移除指定的模块按钮分配ID /// /// ID列表 /// bool RemoveAuthButtons(string ids); /// /// 检查名称是否重复 /// /// 名称 /// ID /// bool CheckNameExists(string name, int id); /// /// 删除模块记录 /// /// 模块ID /// bool DeleteModule(int id); } }