From b4e8861de3701e52f9159b2b9b6933c590918832 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: Mon, 2 Nov 2026 16:20:07 +0800 Subject: [PATCH] =?UTF-8?q?3=E4=B8=AA=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/haianWarehouse/autoJ1SortingBoard.js | 4 - src/api/haianWarehouse/autoJ2SortingBoard.js | 4 - src/api/haianWarehouse/autoSortingBoard.js | 4 + src/api/haianWarehouse/errorAreaBoard.js | 4 + src/api/haianWarehouse/palletOutboundBoard.js | 4 + src/router/index.js | 7 +- .../dashboard/autoJ1SortingBoard54.vue | 342 --------- .../dashboard/autoJ2SortingBoard54.vue | 342 --------- .../dashboard/autoSortingBoard54.vue | 702 ++++++++++++++++++ .../dashboard/errorAreaBoard54.vue | 597 +++++++++++++++ .../dashboard/palletOutboundBoard54.vue | 594 +++++++++++++++ 11 files changed, 1909 insertions(+), 695 deletions(-) delete mode 100644 src/api/haianWarehouse/autoJ1SortingBoard.js delete mode 100644 src/api/haianWarehouse/autoJ2SortingBoard.js create mode 100644 src/api/haianWarehouse/autoSortingBoard.js create mode 100644 src/api/haianWarehouse/errorAreaBoard.js create mode 100644 src/api/haianWarehouse/palletOutboundBoard.js delete mode 100644 src/views/modules/haianWarehouse/dashboard/autoJ1SortingBoard54.vue delete mode 100644 src/views/modules/haianWarehouse/dashboard/autoJ2SortingBoard54.vue create mode 100644 src/views/modules/haianWarehouse/dashboard/autoSortingBoard54.vue create mode 100644 src/views/modules/haianWarehouse/dashboard/errorAreaBoard54.vue create mode 100644 src/views/modules/haianWarehouse/dashboard/palletOutboundBoard54.vue diff --git a/src/api/haianWarehouse/autoJ1SortingBoard.js b/src/api/haianWarehouse/autoJ1SortingBoard.js deleted file mode 100644 index 79884d4..0000000 --- a/src/api/haianWarehouse/autoJ1SortingBoard.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createAPI } from '@/utils/httpRequest.js' - -// 自动J1H独立看板查询,显式传site及sortingStation;失败交由对应页面展示 - rqrq -export const getAutoJ1SortingBoard = data => createAPI('/api/dashboard/haian/sorting/getAutoJ1SortingBoard', 'post', data) diff --git a/src/api/haianWarehouse/autoJ2SortingBoard.js b/src/api/haianWarehouse/autoJ2SortingBoard.js deleted file mode 100644 index dc0d4c0..0000000 --- a/src/api/haianWarehouse/autoJ2SortingBoard.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createAPI } from '@/utils/httpRequest.js' - -// 自动J2H独立看板查询,显式传site及sortingStation;失败交由对应页面展示 - rqrq -export const getAutoJ2SortingBoard = data => createAPI('/api/dashboard/haian/sorting/getAutoJ2SortingBoard', 'post', data) diff --git a/src/api/haianWarehouse/autoSortingBoard.js b/src/api/haianWarehouse/autoSortingBoard.js new file mode 100644 index 0000000..954dd82 --- /dev/null +++ b/src/api/haianWarehouse/autoSortingBoard.js @@ -0,0 +1,4 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 海安自动分拣合并看板,一次取位置1和位置2;site 由页面固定传 54 - rqrq +export const getAutoSortingBoard = data => createAPI('/api/dashboard/haian/sorting/getAutoSortingBoard', 'post', data) diff --git a/src/api/haianWarehouse/errorAreaBoard.js b/src/api/haianWarehouse/errorAreaBoard.js new file mode 100644 index 0000000..045890e --- /dev/null +++ b/src/api/haianWarehouse/errorAreaBoard.js @@ -0,0 +1,4 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 海安异常区域看板。页面每 5 秒查询,site 固定传 54 - rqrq +export const getErrorAreaBoard = data => createAPI('/api/dashboard/haian/error-area/getErrorAreaBoard', 'post', data) diff --git a/src/api/haianWarehouse/palletOutboundBoard.js b/src/api/haianWarehouse/palletOutboundBoard.js new file mode 100644 index 0000000..1dc2ebd --- /dev/null +++ b/src/api/haianWarehouse/palletOutboundBoard.js @@ -0,0 +1,4 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 海安出库托盘看板。页面每 5 秒查询,site 固定传 54 - rqrq +export const getPalletOutboundBoard = data => createAPI('/api/dashboard/haian/outbound/getPalletOutboundBoard', 'post', data) diff --git a/src/router/index.js b/src/router/index.js index 81874a2..bc4652b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,9 +21,10 @@ const _import = require('./import-' + process.env.NODE_ENV) const globalRoutes = [ { path: '/404', component: _import('common/404'), name: '404', meta: { title: '404未找到' } }, { path: '/login', component: _import('common/login'), name: 'login', meta: { title: '登录' } }, - // 海安六屏保留原URL,人工传工作位ST-MP-05至08,自动页固定ST-RP-03/04;请求、响应校验和订阅均按工作位防串屏 - rqrq - { path: '/dashboard-haian-sorting-j1h', component: _import('modules/haianWarehouse/dashboard/autoJ1SortingBoard54'), name: 'haian-sorting-j1h', meta: { title: '海安自动分拣1' } }, - { path: '/dashboard-haian-sorting-j2h', component: _import('modules/haianWarehouse/dashboard/autoJ2SortingBoard54'), name: 'haian-sorting-j2h', meta: { title: '海安自动分拣2' } }, + // 自动分拣合并为一屏;人工四屏仍按工作位 ST-MP-05 至 ST-MP-08 分开,避免串屏 - rqrq + { path: '/dashboard-haian-sorting-auto', component: _import('modules/haianWarehouse/dashboard/autoSortingBoard54'), name: 'haian-sorting-auto', meta: { title: '海安自动分拣' } }, + { path: '/dashboard-haian-pallet-outbound', component: _import('modules/haianWarehouse/dashboard/palletOutboundBoard54'), name: 'haian-pallet-outbound', meta: { title: '海安出库托盘' } }, + { path: '/dashboard-haian-pallet-error', component: _import('modules/haianWarehouse/dashboard/errorAreaBoard54'), name: 'haian-pallet-error', meta: { title: '海安异常区域' } }, { path: '/dashboard-haian-sorting-r1h', component: _import('modules/haianWarehouse/dashboard/sortingBoard54'), name: 'haian-sorting-r1h', props: { sortingStation: 'ST-MP-05', boardTitle: '人工分拣 1' }, meta: { title: '海安人工分拣1' } }, { path: '/dashboard-haian-sorting-r2h', component: _import('modules/haianWarehouse/dashboard/sortingBoard54'), name: 'haian-sorting-r2h', props: { sortingStation: 'ST-MP-06', boardTitle: '人工分拣 2' }, meta: { title: '海安人工分拣2' } }, { path: '/dashboard-haian-sorting-r3h', component: _import('modules/haianWarehouse/dashboard/sortingBoard54'), name: 'haian-sorting-r3h', props: { sortingStation: 'ST-MP-07', boardTitle: '人工分拣 3' }, meta: { title: '海安人工分拣3' } }, diff --git a/src/views/modules/haianWarehouse/dashboard/autoJ1SortingBoard54.vue b/src/views/modules/haianWarehouse/dashboard/autoJ1SortingBoard54.vue deleted file mode 100644 index f5ea473..0000000 --- a/src/views/modules/haianWarehouse/dashboard/autoJ1SortingBoard54.vue +++ /dev/null @@ -1,342 +0,0 @@ - - - - - diff --git a/src/views/modules/haianWarehouse/dashboard/autoJ2SortingBoard54.vue b/src/views/modules/haianWarehouse/dashboard/autoJ2SortingBoard54.vue deleted file mode 100644 index 730975d..0000000 --- a/src/views/modules/haianWarehouse/dashboard/autoJ2SortingBoard54.vue +++ /dev/null @@ -1,342 +0,0 @@ - - - - - diff --git a/src/views/modules/haianWarehouse/dashboard/autoSortingBoard54.vue b/src/views/modules/haianWarehouse/dashboard/autoSortingBoard54.vue new file mode 100644 index 0000000..a7e5ff3 --- /dev/null +++ b/src/views/modules/haianWarehouse/dashboard/autoSortingBoard54.vue @@ -0,0 +1,702 @@ + + + + + + diff --git a/src/views/modules/haianWarehouse/dashboard/errorAreaBoard54.vue b/src/views/modules/haianWarehouse/dashboard/errorAreaBoard54.vue new file mode 100644 index 0000000..447d8cf --- /dev/null +++ b/src/views/modules/haianWarehouse/dashboard/errorAreaBoard54.vue @@ -0,0 +1,597 @@ + + + + + + diff --git a/src/views/modules/haianWarehouse/dashboard/palletOutboundBoard54.vue b/src/views/modules/haianWarehouse/dashboard/palletOutboundBoard54.vue new file mode 100644 index 0000000..4c2fe76 --- /dev/null +++ b/src/views/modules/haianWarehouse/dashboard/palletOutboundBoard54.vue @@ -0,0 +1,594 @@ + + + + + +