From 97fe9ac5f7d59f5199bca102360b020df7027d84 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, 9 Feb 2026 17:33:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(agvStation):=20=E6=B7=BB=E5=8A=A0AGV?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增deleteAgvStation API接口用于删除站点 - 在表格操作列中添加删除按钮,仅对非活跃站点显示 - 实现删除站点的方法,包括二次确认对话框 - 添加删除加载状态控制 - 导入并注册删除站点的API方法 --- src/api/system/importantErrorConfig.js | 17 + .../check/currentPhysicalInventory.vue | 8 +- .../modules/system/importantErrorConfig.vue | 365 ++++++++++++++++++ src/views/modules/warehouse/sysErrorLog.vue | 37 +- 4 files changed, 422 insertions(+), 5 deletions(-) create mode 100644 src/api/system/importantErrorConfig.js create mode 100644 src/views/modules/system/importantErrorConfig.vue diff --git a/src/api/system/importantErrorConfig.js b/src/api/system/importantErrorConfig.js new file mode 100644 index 0000000..8e60876 --- /dev/null +++ b/src/api/system/importantErrorConfig.js @@ -0,0 +1,17 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// ========== 查询相关 ========== - rqrq + +// 查询重要错误配置列表 - rqrq +export const getImportantErrorConfigList = data => createAPI('/api/importantErrorConfig/list', 'POST', data) + +// ========== 保存相关 ========== - rqrq + +// 新增重要错误配置 - rqrq +export const addImportantErrorConfig = data => createAPI('/api/importantErrorConfig/add', 'POST', data) + +// 修改重要错误配置 - rqrq +export const updateImportantErrorConfig = data => createAPI('/api/importantErrorConfig/update', 'POST', data) + +// 删除重要错误配置 - rqrq +export const deleteImportantErrorConfig = data => createAPI('/api/importantErrorConfig/delete', 'POST', data) diff --git a/src/views/modules/check/currentPhysicalInventory.vue b/src/views/modules/check/currentPhysicalInventory.vue index 0e0963f..d9d2256 100644 --- a/src/views/modules/check/currentPhysicalInventory.vue +++ b/src/views/modules/check/currentPhysicalInventory.vue @@ -18,11 +18,11 @@ 选择处理方式 + :disabled="headerLoading || handleExceptionLoading">标记处理方式 - {{ autoAdjustLoading ? '处理中...' : '自动处理盈亏' }} + + + {{ continuePushLoading ? '推送中...' : '手工继续推送' }} diff --git a/src/views/modules/system/importantErrorConfig.vue b/src/views/modules/system/importantErrorConfig.vue new file mode 100644 index 0000000..ac4d142 --- /dev/null +++ b/src/views/modules/system/importantErrorConfig.vue @@ -0,0 +1,365 @@ + + + + + diff --git a/src/views/modules/warehouse/sysErrorLog.vue b/src/views/modules/warehouse/sysErrorLog.vue index 3623b52..da08f2c 100644 --- a/src/views/modules/warehouse/sysErrorLog.vue +++ b/src/views/modules/warehouse/sysErrorLog.vue @@ -32,6 +32,14 @@ + + + + + + + + @@ -122,6 +130,13 @@ - + + + {{ scope.row.isImportantError === 'Y' ? '是' : '否' }} + + {{ scope.row[item.columnProp] }} @@ -192,6 +207,13 @@ {{ detailData.interfaceName || '-' }} + + + {{ detailData.isImportantError === 'Y' ? '是' : '否' }} + + {{ detailData.methodName || '-' }} @@ -274,6 +296,7 @@ export default { businessKey: '', isInterface: '', interfaceType: '', + isImportantError: '', interfaceName: '', username: '', searchErrorDetail: '', @@ -336,6 +359,16 @@ export default { showOverflowTooltip: true, fixed: "" }, + { + columnProp: "isImportantError", + headerAlign: "center", + align: "center", + columnLabel: "是否重要错误", + columnWidth: 100, + columnSortable: false, + showOverflowTooltip: true, + fixed: "" + }, { columnProp: "interfaceName", headerAlign: "center", @@ -476,6 +509,7 @@ export default { businessKey: '', isInterface: '', interfaceType: '', + isImportantError: '', interfaceName: '', username: '', searchErrorDetail: '', @@ -563,7 +597,8 @@ export default { return (data.page.list || []).map(item => { return { ...item, - isInterface: item.isInterface === 'Y' ? '是' : '否' + isInterface: item.isInterface === 'Y' ? '是' : '否', + isImportantError: item.isImportantError === 'Y' ? '是' : '否' } }) }