Cat.Web/Cat.Admin.Web/Areas/CrmManage/Controllers/CrmProjectListProcessController.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using Cat.Admin.Web.Controllers;
using Cat.Business.CrmManage;
using Cat.Entity.CrmManage;
using Cat.Model.Param.CrmManage;
using Cat.Util.Model;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Cat.Admin.Web.Areas.CrmManage.Controllers
{
   /// <summary>
   /// 创 建:admin
   /// 日 期:2021-01-28 18:53
   /// 描 述:CRM项目进度控制器类
   /// </summary>
   [Area("CrmManage")]
   public class CrmProjectListProcessController : BaseController
   {
      private CrmProjectListProcessBLL crmProjectListProcessBLL = new CrmProjectListProcessBLL();

      #region 视图功能
      [AuthorizeFilter("crm:crmprojectlistprocess:view")]
      public ActionResult CrmProjectListProcessIndex()
      {
         return View();
      }

      public ActionResult CrmProjectListProcessForm()
      {
         return View();
      }
      #endregion

      #region 获取数据

      [HttpGet]
      [AuthorizeFilter("crm:crmprojectlistprocess:search")]
      public async Task<ActionResult> GetPageListJson(CrmProjectListProcessListParam param, Pagination pagination)
      {
         TData<List<CrmProjectListProcessEntity>> obj = await crmProjectListProcessBLL.GetPageList(param, pagination);
         return Json(obj);
      }

      [HttpGet]
      public async Task<ActionResult> GetFormJson(long id)
      {
         TData<CrmProjectListProcessEntity> obj = await crmProjectListProcessBLL.GetEntity(id);
         return Json(obj);
      }
      #endregion

      #region 提交数据
      [HttpPost]
      [AuthorizeFilter("crm:crmprojectlistprocess:add,crm:crmprojectlistprocess:edit")]
      public async Task<ActionResult> SaveFormJson(CrmProjectListProcessEntity entity)
      {
         TData<string> obj = await crmProjectListProcessBLL.SaveForm(entity);
         return Json(obj);
      }
后面还有 11 行代码,购买后查看完整代码

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

AI 解读 AI

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

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