12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using System;
- using System.Collections.Generic;
- using Microsoft.AspNetCore.Mvc;using WMS.BZWeb;
- using WMS.Info;
- using WMS.Core;
- using WMS.Util;
- namespace WMS.BZWeb
- {
- /// <summary>
- /// 描 述:功能模块控制器
- /// </summary>
- [Area("SysManager")]
- public class UpAlctPolicyController : MvcControllerBase
- {
- BillOrderOut bll = new BillOrderOut();
- /// <summary>
- /// 主页面
- /// <summary>
- /// <returns></returns>
- [HttpGet]
- public ActionResult Index()
- {
- return View();
- }
- /// <summary>
- /// 获取规则类型
- /// </summary>
- /// <returns></returns>
- [HttpGet]
- ////[AjaxOnly]
- public ActionResult GetTree(string parentId) {
- SysDataBLLCore bll = new SysDataBLLCore();
- var data = bll.GetOutInTree();
- return Success("", data);
- }
- /// <summary>
- /// 获取规则明细封装成对象
- /// </summary>
- /// <returns></returns>
- [HttpPost]
- ////[AjaxOnly]
- public ActionResult GetPolicyItem(string ID)
- {
- SysDataBLLCore bll = new SysDataBLLCore();
- var data = bll.GetPolicyItem(ID);
- return Success("", data);
- }
- /// <summary>
- /// 启用规则
- /// </summary>
- /// <returns></returns>
- [HttpPost]
- ////[AjaxOnly]
- public ActionResult UpEdit(string ID)
- {
- SysDataBLLCore bll = new SysDataBLLCore();
- bll.UpEdit(ID);
- return Success("", "操作成功");
- }
- }
- }
|