fix(shipping-notice,admin-schedule,frontend): 修复发货通知与后台排程的业务bug并优化各模块功能

1.  后端发货通知模块:
    清空重试任务旧状态避免残留,新增RPA进度回调接口
    优化库存匹配性能,修复人工确认校验逻辑与登录弹窗遮挡问题
    新增排程worker启动脚本,清理冗余环境配置与缓存查询开销
2.  前端后台排程模块:
    新增任务key归一化工具兼容历史格式,修复参数表单隐藏问题
    添加加载错误处理,更新多语言文案替换裸JSON占位符
This commit is contained in:
hugo committed 2026-08-26 22:05:25 +08:00
1 parent 1e5aedb9ed
commit 06c18b3c7c
81 files changed
+3301 -424

No files matched your search

@@ -24,9 +24,6 @@ const props = defineProps<{
stageLabelKey?: string | null;
stageInconsistent?: boolean;
hasFormalOt?: boolean;
shippingNoticeNo?: string | null;
userStatus?:
| 'running'
| 'waiting_human'
@@ -73,7 +70,7 @@ const { t, te } = useI18n();
*/
const stageLabel = computed(() => {
if (props.loading) {
return t('chat.shippingOrderReview.caseSwitchLoading');
return t('chat.shippingOrderReview.currentProcessing.stageLoading');
}
if (props.stageInconsistent) {
return t('chat.shippingOrderReview.currentProcessing.stateInconsistent');
@@ -365,16 +362,6 @@ type ReviewCurrentUserStatus =
{{ statusLabel }}
</dd>
</div>
<div
v-if="hasFormalOt && shippingNoticeNo"
class="flex flex-wrap gap-x-2"
>
<dt class="text-muted">{{ t('chat.shippingOrderReview.currentTask.labelFormalSn') }}</dt>
<dd
class="font-mono"
data-testid="review-current-processing-ot"
>{{ shippingNoticeNo }}</dd>
</div>
</dl>
<p
@@ -168,8 +168,11 @@ function drawEvidenceHighlight(
context.strokeStyle = 'rgba(202, 138, 4, 0.95)';
context.setLineDash([]);
} else {
context.fillStyle = 'rgba(244, 63, 94, 0.18)';
context.strokeStyle = 'rgba(225, 29, 72, 0.95)';
// unavailable / invalid 证据高亮统一使用品牌色(对齐编辑画布匹配锚点的 sky/brand 蓝),
// 避免在纯文档预览上出现刺眼的红色,导致「模板预览图标颜色不一致」的观感。
// 说明:质量仅影响可信度提示,不改变「该处确有取值位置」的语义,故不再用警示红。
context.fillStyle = 'rgba(14, 165, 233, 0.22)';
context.strokeStyle = 'rgba(2, 132, 199, 0.95)';
context.setLineDash([3, 3]);
}
context.lineWidth = 2;