code/Athena0.0.1/Web/Areas/SystemManage/Controllers/ActionController.cs

(开头部分) 7KB

这里只显示每个文件的开头 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.common.Util.WebControl;
using Athena.tool.Code;
using Athena.tool.ACEPagination;

//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 张婷婷 王露 陈祚松 艾美珍 张梦丽 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:动作控制器,添加ACE相关方法
//最后修改时间:2018-01-25
//修改日志:
//2018-01-25 新增前端为ACE相关的方法(周庆)

namespace Web.Areas.SystemManage.Controllers
{
    public class ActionController : WebController
    {
        public ActionController()
        {
            #region ACE
            this.noauth_actions.Add("ActionIndex");
            //this.noauth_actions.Add("ActionAction");
            this.noauth_actions.Add("ActionGetModels");
            this.noauth_actions.Add("ActionGetDocument");
            this.noauth_actions.Add("ActionAdd");
            this.noauth_actions.Add("ActionUpdate");
            this.noauth_actions.Add("ActionDelete");
            #endregion
            #region  BootstrapTemplate
            this.noauth_actions.Add("ActionGetFormJson");
            this.noauth_actions.Add("ActionGetTreeSelectJson");
            this.noauth_actions.Add("ActionGetGridJson");
            this.noauth_actions.Add("ActionForm");
            this.noauth_actions.Add("ActionDetails");
            this.noauth_actions.Add("ActionGetFormJson");
            this.noauth_actions.Add("ActioncopyAndPasteForm");
            this.noauth_actions.Add("ActionSubmitForm");
            this.noauth_actions.Add("ActioncopyAndPasteForm");
            this.noauth_actions.Add("ActionDeleteForm");
            #endregion
        }
        //public override ActionResult Index()
        //{
        //    return View();
        //}

        public override ActionResult Index()
        {
            try
            {
                List<action> aa = IdalCommon.IactionEx.getEntityList();
                List<SelectOption> actionList = SelectOption.CreateList(IdalCommon.IactionEx.getEntityList(), "id", "actionname");
后面还有 159 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。