diff --git a/ZR.Admin.WebApi/Controllers/mes/pro/ProWorkplanController.cs b/ZR.Admin.WebApi/Controllers/mes/pro/ProWorkplanController.cs new file mode 100644 index 00000000..218965ea --- /dev/null +++ b/ZR.Admin.WebApi/Controllers/mes/pro/ProWorkplanController.cs @@ -0,0 +1,24 @@ +using Microsoft.AspNetCore.Mvc; +using ZR.Model.mes.md; +using ZR.Service.MES.md; + +namespace ZR.Admin.WebApi.Controllers.MES.pro +{ + + + [Route("mes/pro/workplan")] + public class ProWorkplanController : BaseController + { + + [HttpGet("list")] + public IActionResult List(int pageNum, int pageSize, int year , int week,string partNumber="",string color="") + { + (int, List) data = (0,null); + + return ToResponse(new ApiResult(200, "success", data)); + } + + + + } +} diff --git a/ZR.Vue/src/api/productManagement/workplan.js b/ZR.Vue/src/api/productManagement/workplan.js new file mode 100644 index 00000000..b9e95573 --- /dev/null +++ b/ZR.Vue/src/api/productManagement/workplan.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' +import { downFile } from '@/utils/request' + +export function getWorkplanList(query) { + return request({ + url: '/mes/pro/workplan/list', + method: 'get', + params: query, + }) + } \ No newline at end of file diff --git a/ZR.Vue/src/views/productManagement/workplan.vue b/ZR.Vue/src/views/productManagement/workplan.vue index 4cd46ac1..00995a8f 100644 --- a/ZR.Vue/src/views/productManagement/workplan.vue +++ b/ZR.Vue/src/views/productManagement/workplan.vue @@ -23,7 +23,7 @@ 新建生产计划 - + @@ -53,7 +53,7 @@