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

(开头部分) 12KB

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

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

namespace Web.Areas.SystemManage.Controllers
{
    
    public class AreaController : WebController
    {
        public AreaController()
        {
            #region template1
            this.noauth_actions.Add("AreaIndex");
            this.noauth_actions.Add("AreaGetTreeGridJson");
            this.noauth_actions.Add("AreaGetTreeSelectJson");
            this.noauth_actions.Add("AreaGetFormJson");
            this.noauth_actions.Add("AreaSubmitForm");
            this.noauth_actions.Add("AreaDeleteForm");
            this.noauth_actions.Add("AreacopyAndPasteForm");
            this.noauth_actions.Add("AreaForm");
            this.noauth_actions.Add("AreaDetails");
            #endregion

            #region template2
            this.noauth_actions.Add("AreaGetModels");
            this.noauth_actions.Add("AreaAdd");
            this.noauth_actions.Add("AreaUpdate");
            this.noauth_actions.Add("AreaDelete");
            #endregion
        }


        /// <summary>
        /// 获得一个tree型网格数据
        /// </summary>
        /// <param name="pagination">分页栏信息</param>
        /// <param name="keyword">名称(筛选条件)</param>
        /// <returns></returns>
        public ActionResult GetTreeGridJson(Pagination pagination, string keyword)
        {
            try
            {
                /**************判断当前页的数据的父节点都包含在当前页中,不是则把父节点存入当前页*******************/
                var data = IdalCommon.IareaEx.getAreaList(keyword);
后面还有 266 行代码,解锁后查看完整代码

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

AI 解读

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

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