feat(shipping-notice): 添加 MinerU 订单附件表格结构化功能,更新环境配置和数据模型以支持新布局解析和文档模板管理
This commit is contained in:
1 parent
c4095b08da
commit
c35223d49d
148 files changed
+15709
-1353
No files matched your search
@@ -36,6 +36,10 @@ type ShippingHandlerSource = Pick<
|
||||
| 'addShippingParseReviewLine'
|
||||
| 'removeShippingParseReviewLine'
|
||||
| 'retryOrderExtractionRun'
|
||||
| 'reparseOrderExtractionRun'
|
||||
| 'setShippingCandidateSelected'
|
||||
| 'updateShippingCandidateSummary'
|
||||
| 'resolveShippingCandidateDuplicate'
|
||||
>;
|
||||
|
||||
type TrainingHandlerSource = ReturnType<typeof useTrainingWorkspace>;
|
||||
@@ -70,6 +74,10 @@ export function createShippingMessageHandlers(shipping: ShippingHandlerSource):
|
||||
addLine: shipping.addShippingParseReviewLine,
|
||||
removeLine: shipping.removeShippingParseReviewLine,
|
||||
retryOrderExtractionRun: shipping.retryOrderExtractionRun,
|
||||
reparseOrderExtractionRun: shipping.reparseOrderExtractionRun,
|
||||
selectCandidate: shipping.setShippingCandidateSelected,
|
||||
updateCandidate: shipping.updateShippingCandidateSummary,
|
||||
resolveCandidateDuplicate: shipping.resolveShippingCandidateDuplicate,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user