Blame view

web/WebMvc/Areas/board/Controllers/BoardController.cs 985 Bytes
赖素文 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using Hh.Mes.Common.Request;
using Hh.Mes.POJO.Entity;
using Hh.Mes.Service;
using Hh.Mes.Service.Configure;
using Hh.Mes.Service.SystemAuth;
using Microsoft.AspNetCore.Mvc;


namespace WebMvc.Areas.board
{
    [Area("Board")]
    public class BoardController :  BaseController
    {
        private readonly StationService  stationService;

        public BoardController(StationService stationService ,IAuth authUtil) : base(authUtil)
        {
            this.stationService = stationService;
        }

        public IActionResult Index()
        {
            return View();
        }

        [HttpPost]
        public string Load(PageReq pageRequest, base_work_station entity)
        {
            return Serialize(stationService.GetBoardList(pageRequest, entity));
        }

        public IActionResult BoardissueExplain()
        {
            return View();
        }

        public IActionResult Boardmanual()
        {
            return View();
        }
    }
}