using IwbZero.Auditing; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ShwasherSys.ProductInfo; using ShwasherSys.BaseSysInfo.States; namespace ShwasherSys.Controllers { [AuditLog("产品信息维护")] public class ProductInfoController : ShwasherControllerBase { protected IProductsAppService ProductsAppService; protected IStandardsAppService StandardsAppService; public ProductInfoController(IProductsAppService productsAppService, IStandardsAppService standardsAppService, IStatesAppService statesAppService) { ProductsAppService = productsAppService; StandardsAppService = standardsAppService; StatesAppService = statesAppService; } // GET: ProductInfo public ActionResult Products() { //ViewBag.MaterialSelect = ProductsAppService.GetProductPropertyList("Material"); //ViewBag.SurfaceColorSelect = ProductsAppService.GetProductPropertyList("SurfaceColor"); //ViewBag.RigiditySelect = ProductsAppService.GetProductPropertyList("Rigidity"); ViewBag.StandardIdSelect = StandardsAppService.GetStandardsList(); return View(); } // GET: ProductInfo public ActionResult SemiProducts() { return View(); } public ActionResult Standards() { return View(); } public ActionResult RmProduct() { return View(); } public ActionResult ProductProperty() { ViewBag.ProductPropertyType = StatesAppService.GetSelectLists("ProductProperty", "ProductPropertyType"); return View(); } public ActionResult ProductMapper() { return View(); } } }