feat(shipping-notice): 新增货代发货通知全流程业务功能

- 新增后端完整业务支持:数据库模型、API接口、核心服务与RPA对接逻辑
- 新增前端工作台页面、路由适配与多语言国际化
- 新增Dify自定义工具OpenAPI规范、Agent配置脚本与部署文档
- 新增发货Excel模板生成脚本与默认模板
- 修复测试配置文件中的环境变量命名错误
- 更新本地开发环境变量配置
This commit is contained in:
hugo committed 2026-06-01 21:22:22 +08:00
1 parent 93e99793d8
commit 2d7bdecc43
46 files changed
+3462 -7

No files matched your search

+73 -1
View File
@@ -1,4 +1,4 @@
import { createI18n } from 'vue-i18n';
import { createI18n } from 'vue-i18n';
const messages = {
'en': {
@@ -353,6 +353,7 @@ const messages = {
applications: 'Applications',
knowledgeBase: 'Knowledge Base',
scheduleRuns: 'Schedule Runs',
shippingNotice: 'Shipping Notice',
feedback: 'Feedback',
updates: 'Recent Updates',
backToChat: 'Back to Chat',
@@ -408,6 +409,40 @@ const messages = {
downloadExcelFailed: 'Failed to download Excel'
}
},
shippingNotice: {
title: 'Shipping Notice Cases',
subtitle: 'Read-only view. Continue processing in Chat.',
refresh: 'Refresh',
search: 'Search',
loading: 'Loading...',
empty: 'No shipping cases yet',
selectCase: 'Select a case to view details',
loadFailed: 'Failed to load case',
openChat: 'Continue in Chat',
download: 'Download Excel',
lines: 'Shipment lines',
qty: 'Qty',
events: 'Event log',
filters: {
status: 'Status'
},
fields: {
status: 'Process status',
match: 'Match status',
shipTo: 'Ship to',
freightRef: 'Freight ref no.'
},
status: {
all: 'All',
created: 'Created',
waitingInventory: 'Waiting inventory',
inventoryReady: 'Inventory ready',
matched: 'Matched',
waitingUpload: 'Waiting upload',
uploaded: 'Uploaded',
uploadFailed: 'Upload failed'
}
},
profile: {
msg: {
loadFailed: 'Failed to load profile',
@@ -1214,6 +1249,7 @@ const messages = {
thinking: 'Generating response...',
disclaimer: 'AI can make mistakes. Please verify important information.',
createNewChat: 'New Chat',
shippingNoticeContinue: 'Please continue shipping case {caseId}. Call get_case_status first and tell me the next step.',
clearAll: 'Clear All',
clearOneRecord: 'Clear This Record',
agents: 'Agents',
@@ -1808,6 +1844,7 @@ const messages = {
applications: '应用管理',
knowledgeBase: '知识库管理',
scheduleRuns: '排程记录',
shippingNotice: '货代发货',
feedback: '意见反馈',
updates: '最近更新',
backToChat: '返回聊天',
@@ -1863,6 +1900,40 @@ const messages = {
downloadExcelFailed: '下载 Excel 失败'
}
},
shippingNotice: {
title: '货代发货通知',
subtitle: '只读工作台,请在 Chat 中继续处理。',
refresh: '刷新',
search: '查询',
loading: '正在加载...',
empty: '暂无发货任务',
selectCase: '选择左侧任务查看详情',
loadFailed: '加载失败',
openChat: '在 Chat 中继续',
download: '下载 Excel',
lines: '发货明细',
qty: '数量',
events: '事件记录',
filters: {
status: '状态'
},
fields: {
status: '流程状态',
match: '匹配状态',
shipTo: '收货地址',
freightRef: '货代单号'
},
status: {
all: '全部',
created: '已创建',
waitingInventory: '等待库存',
inventoryReady: '库存就绪',
matched: '已匹配',
waitingUpload: '等待上传',
uploaded: '已上传',
uploadFailed: '上传失败'
}
},
profile: {
msg: {
loadFailed: '加载个人中心失败',
@@ -2648,6 +2719,7 @@ const messages = {
thinking: '正在生成回答...',
disclaimer: 'AI 可能会犯错,请核实重要信息。',
createNewChat: '创建新对话',
shippingNoticeContinue: '请继续处理发货任务 {caseId},请先调用 get_case_status 查询当前状态并告知我下一步。',
clearAll: '清空全部',
clearOneRecord: '清除该记录',
agents: '智能体',