ProductInfoController.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using IwbZero.Auditing;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Web;
  6. using System.Web.Mvc;
  7. using ShwasherSys.ProductInfo;
  8. using ShwasherSys.BaseSysInfo.States;
  9. namespace ShwasherSys.Controllers
  10. {
  11. [AuditLog("产品信息维护")]
  12. public class ProductInfoController : ShwasherControllerBase
  13. {
  14. protected IProductsAppService ProductsAppService;
  15. protected IStandardsAppService StandardsAppService;
  16. public ProductInfoController(IProductsAppService productsAppService, IStandardsAppService standardsAppService, IStatesAppService statesAppService)
  17. {
  18. ProductsAppService = productsAppService;
  19. StandardsAppService = standardsAppService;
  20. StatesAppService = statesAppService;
  21. }
  22. // GET: ProductInfo
  23. public ActionResult Products()
  24. {
  25. //ViewBag.MaterialSelect = ProductsAppService.GetProductPropertyList("Material");
  26. //ViewBag.SurfaceColorSelect = ProductsAppService.GetProductPropertyList("SurfaceColor");
  27. //ViewBag.RigiditySelect = ProductsAppService.GetProductPropertyList("Rigidity");
  28. ViewBag.StandardIdSelect = StandardsAppService.GetStandardsList();
  29. return View();
  30. }
  31. // GET: ProductInfo
  32. public ActionResult SemiProducts()
  33. {
  34. return View();
  35. }
  36. public ActionResult Standards()
  37. {
  38. return View();
  39. }
  40. public ActionResult RmProduct()
  41. {
  42. return View();
  43. }
  44. public ActionResult ProductProperty()
  45. {
  46. ViewBag.ProductPropertyType = StatesAppService.GetSelectLists("ProductProperty", "ProductPropertyType");
  47. return View();
  48. }
  49. public ActionResult ProductMapper()
  50. {
  51. return View();
  52. }
  53. }
  54. }