feat(shipping-notice): 新增货代发货通知全流程业务功能
- 新增后端完整业务支持:数据库模型、API接口、核心服务与RPA对接逻辑 - 新增前端工作台页面、路由适配与多语言国际化 - 新增Dify自定义工具OpenAPI规范、Agent配置脚本与部署文档 - 新增发货Excel模板生成脚本与默认模板 - 修复测试配置文件中的环境变量命名错误 - 更新本地开发环境变量配置
This commit is contained in:
1 parent
93e99793d8
commit
2d7bdecc43
46 files changed
+3462
-7
No files matched your search
@@ -1671,6 +1671,11 @@ const presetQuestion = computed(() => {
|
||||
return typeof q === 'string' ? q : '';
|
||||
});
|
||||
|
||||
const shippingCaseIdFromQuery = computed(() => {
|
||||
const value = route.query.case_id;
|
||||
return typeof value === 'string' ? value.trim() : '';
|
||||
});
|
||||
|
||||
/**
|
||||
* handleSend
|
||||
* 用途:将输入框内容发送给当前 Agent
|
||||
@@ -2072,6 +2077,9 @@ onMounted(async () => {
|
||||
if (presetQuestion.value) {
|
||||
input.value = presetQuestion.value;
|
||||
handleSend();
|
||||
} else if (shippingCaseIdFromQuery.value) {
|
||||
input.value = t('chat.shippingNoticeContinue', { caseId: shippingCaseIdFromQuery.value });
|
||||
handleSend();
|
||||
}
|
||||
// Use config from config.ts instead of API
|
||||
showChatRating.value = config.workspace?.showChatRating ?? true;
|
||||
|
||||
Reference in new issue
Block a user