diff --git a/src/api/bst/orderProd.js b/src/api/bst/orderProd.js index e9e0cc1..c203ebb 100644 --- a/src/api/bst/orderProd.js +++ b/src/api/bst/orderProd.js @@ -42,3 +42,12 @@ export function delOrderProd(id) { method: 'delete' }) } + +// 查询订单产品分组 +export function listOrderProdGroupByName(query) { + return request({ + url: '/bst/orderProd/groupByName', + method: 'get', + params: query + }) +} diff --git a/src/api/bst/prodProcess.js b/src/api/bst/prodProcess.js index 6e3cb46..b3589b3 100644 --- a/src/api/bst/prodProcess.js +++ b/src/api/bst/prodProcess.js @@ -9,6 +9,15 @@ export function listProdProcess(query) { }) } +// 分组查询工序列表 +export function groupByNameProdProcess(query) { + return request({ + url: '/bst/prodProcess/groupByName', + method: 'get', + params: query + }) +} + // 查询产品工序列表 export function listProdProcessByIds(ids) { return request({ diff --git a/src/api/dashboard/prodProcess.js b/src/api/dashboard/prodProcess.js new file mode 100644 index 0000000..9e626e6 --- /dev/null +++ b/src/api/dashboard/prodProcess.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 获取工序汇总数据 +export function getProdProcessSum(query) { + return request({ + url: '/dashboard/prodProcess/sum', + method: 'get', + params: query + }) +} diff --git a/src/views/bst/order/components/OrderFlowList.vue b/src/views/bst/order/components/OrderFlowList.vue index 079620d..3ff5500 100644 --- a/src/views/bst/order/components/OrderFlowList.vue +++ b/src/views/bst/order/components/OrderFlowList.vue @@ -16,20 +16,38 @@