diff --git a/src/api/BI/productionBoard.js b/src/api/BI/productionBoard.js new file mode 100644 index 0000000..32c737a --- /dev/null +++ b/src/api/BI/productionBoard.js @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +/** + * 查询今日未开始的生产工单 + */ +export function todayNoStartProWorkorder() { + return request({ + url: 'BI/productionDashboard/todayNoStartProWorkorder', + method: 'get', + }) +} + +/** + * 查询今日正在生产的工单 + */ +export function todayProductiongProWorkorder() { + return request({ + url: 'BI/productionDashboard/todayProductiongProWorkorder', + method: 'get', + }) +} + +/** + * 查询今日已完成的生产工单 + */ +export function todayFinishProductionProWorkorder() { + return request({ + url: 'BI/productionDashboard/todayFinishProductionProWorkorder', + method: 'get', + }) +} diff --git a/src/router/index.js b/src/router/index.js index 1f4a1c1..9b087f1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -130,6 +130,11 @@ export const constantRoutes = [ component: (resolve) => require(['@/views/kanbanManagement/FqcQualityDataBoard/index.vue'], resolve), hidden: true, }, + { + path: '/kanbanManagement/productionBoard', + component: (resolve) => require(['@/views/kanbanManagement/productionBoard/index.vue'], resolve), + hidden: true, + }, { path: '/gp12Management/touchScreen', component: (resolve) => require(['@/views/qualityManagement/gp12/touchScreen/main/index.vue'], resolve), diff --git a/src/views/kanbanManagement/productionBoard/index.vue b/src/views/kanbanManagement/productionBoard/index.vue new file mode 100644 index 0000000..730ecb4 --- /dev/null +++ b/src/views/kanbanManagement/productionBoard/index.vue @@ -0,0 +1,359 @@ + + + + + + + 上海干巷车镜实业有限公司 + + 生产工单看板 + {{ currentTime }} + + + + + + {{ module.title }} + + + + + + + 工单号: {{ order.clientWorkorder }} + 成品零件号: {{ order.finishedPartNumber }} + 产品描述: {{ order.productDescription }} + + + + + + + + + + + + +
工单号: {{ order.clientWorkorder }}
成品零件号: {{ order.finishedPartNumber }}
产品描述: {{ order.productDescription }}