feat(shipping-notice): 增强订单文档 Profile 管理功能,新增复核与草稿管理

- 添加订单复核相关模型及 API,支持复核案例的创建、更新和确认
- 实现复核草稿的管理功能,允许用户对复核内容进行编辑和保存
- 引入复核事件审计,确保复核过程的可追溯性
- 更新数据库模型以支持复核和草稿的关系管理
- 完善相关服务逻辑,确保复核与草稿的状态管理和数据一致性
- 增强文档模板的管理能力,支持更复杂的业务场景
This commit is contained in:
hugo committed 2026-07-29 09:50:25 +08:00
1 parent 61ac6403c4
commit b7307fc573
147 files changed
+15108 -1522

No files matched your search

@@ -154,7 +154,9 @@ export function createChatPageSendApi(ctx: ChatPageSendContext) {
onAssistantMessageFinished: ctx.onAssistantMessageFinished,
},
);
if (!sent.accepted) {
// Keep the legacy boolean result compatible while callers migrate to ChatMessageSendResult.
const accepted = (sent as unknown) === true || Boolean(sent.accepted);
if (!accepted) {
if (shouldClearInput) ctx.input.value = content;
return;
}