From 6323e11ebc911391573bfec3ad21cceed5b53332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Fri, 27 Mar 2026 15:05:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(board):=20=E6=B7=BB=E5=8A=A0IFS=E7=A7=BB?= =?UTF-8?q?=E5=BA=93=E5=A4=B1=E8=B4=A5=E7=9C=8B=E6=9D=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增ifsCallErrorLogBoard API接口用于获取看板数据 - 创建ifsTransferErrorBoard.vue组件实现看板展示功能 - 配置路由映射到新的看板页面 - 实现表格数据显示、自动刷新等功能 - 添加重试操作按钮支持手动重试处理 - 设置定时刷新机制每30秒更新一次数据 --- src/api/warehouse/ifsCallErrorLog.js | 5 +- src/router/index.js | 3 +- .../modules/board/ifsTransferErrorBoard.vue | 220 ++++++++++++++++++ 3 files changed, 226 insertions(+), 2 deletions(-) create mode 100644 src/views/modules/board/ifsTransferErrorBoard.vue diff --git a/src/api/warehouse/ifsCallErrorLog.js b/src/api/warehouse/ifsCallErrorLog.js index dcef9b5..718a723 100644 --- a/src/api/warehouse/ifsCallErrorLog.js +++ b/src/api/warehouse/ifsCallErrorLog.js @@ -17,4 +17,7 @@ export const retryIfsCall = data => createAPI('api/ifsCallErrorLog/retry', 'POST export const closeIfsCall = data => createAPI('api/ifsCallErrorLog/closeRetry', 'POST', data) // 批量重试IFS接口调用 - rqrq -export const batchRetryIfsCall = data => createAPI('api/ifsCallErrorLog/batchRetry', 'POST', data) \ No newline at end of file +export const batchRetryIfsCall = data => createAPI('api/ifsCallErrorLog/batchRetry', 'POST', data) + + +export const ifsCallErrorLogBoard = data => createAPI('board/ifsCallErrorLogBoard', 'POST', data) diff --git a/src/router/index.js b/src/router/index.js index 3369e7e..4526735 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -30,7 +30,8 @@ const globalRoutes = [ { path: '/dashboard-buffer-board', component: _import('modules/dashboard/buffer-board'), name: 'dashboard-buffer-board', meta: { title: '缓存区看板' } }, { path: '/dashboard-workshop-feeding-board', component: _import('modules/dashboard/workshop-feeding-board'), name: 'dashboard-workshop-feeding-board', meta: { title: '车间AGV放料区看板' } }, { path: '/dashboard-exception-board', component: _import('modules/dashboard/exception-board'), name: 'dashboard-exception-board', meta: { title: '异常处理区看板' } }, - { path: '/dashboard-master-board', component: _import('modules/dashboard/warehouse-3d-board'), name: 'dashboard-inventory-board', meta: { title: '库存分析看板' } } + { path: '/dashboard-master-board', component: _import('modules/dashboard/warehouse-3d-board'), name: 'dashboard-inventory-board', meta: { title: '库存分析看板' } }, + { path: '/dashboard-ifsTransferErrorBoard', component: _import('modules/board/ifsTransferErrorBoard'), name: 'ifsTransferErrorBoard', meta: { title: 'IFS移库失败看板' } }, ] // 主入口路由(需嵌套上左右整体布局) diff --git a/src/views/modules/board/ifsTransferErrorBoard.vue b/src/views/modules/board/ifsTransferErrorBoard.vue new file mode 100644 index 0000000..d9f0d56 --- /dev/null +++ b/src/views/modules/board/ifsTransferErrorBoard.vue @@ -0,0 +1,220 @@ + + + + +