code/Athena0.0.1/Web/Areas/SystemManage/Controllers/GroupController.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Athena.model;
using Athena.basedal;
using Athena.Idal;
using Athena.dal;
using Athena.tool.Code;
using Athena.tool.ACEPagination;
using Athena.common.Util.WebControl;
//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 王露 张婷婷 陈祚松 张梦丽 艾美珍 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:分组控制器(周庆)
//最后修改时间:2018-01-25
//修改日志:
//2017-12-19 新增前端为ACE相关的方法(王露)
namespace Web.Areas.SystemManage.Controllers
{
public class GroupController : WebController
{
public GroupController()
{
this.noauth_actions.Add("GroupGetGridJson");
this.noauth_actions.Add("GroupDetails");
this.noauth_actions.Add("GroupGetFormJson");
this.noauth_actions.Add("GroupSubmitForm");
this.noauth_actions.Add("GroupDeleteForm");
this.noauth_actions.Add("GroupcopyAndPasteForm");
this.noauth_actions.Add("GroupForm");
#region ACE
this.noauth_actions.Add("GroupIndex");
this.noauth_actions.Add("GroupGetModels");
this.noauth_actions.Add("GroupAdd");
this.noauth_actions.Add("GroupUpdate");
this.noauth_actions.Add("GroupDelete");
#endregion
}
//ACE Index
public override ActionResult Index()
{
List<SelectOption> departmentList = SelectOption.CreateList(IdalCommon.IgroupEx.getEntityList());
this.ViewBag.DepartmentList = departmentList;
this.ViewBag.DepartmentListString = departmentList.ToJson();
//this.ViewBag.DepartmentListString = JsonHelper.Serialize(departmentList);
string str = departmentList.ToJson();
return View();
}
/// <summary>
/// 获取表格的json数据
/// </summary>
/// <param name="pagination"></param>
后面还有 121 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
