feat(shipping-notice): 增强订单文档 Profile 管理功能,新增复核与草稿管理
- 添加订单复核相关模型及 API,支持复核案例的创建、更新和确认 - 实现复核草稿的管理功能,允许用户对复核内容进行编辑和保存 - 引入复核事件审计,确保复核过程的可追溯性 - 更新数据库模型以支持复核和草稿的关系管理 - 完善相关服务逻辑,确保复核与草稿的状态管理和数据一致性 - 增强文档模板的管理能力,支持更复杂的业务场景
This commit is contained in:
1 parent
61ac6403c4
commit
b7307fc573
147 files changed
+15108
-1522
No files matched your search
@@ -55,6 +55,16 @@ const ShippingOrderExtractionRunsPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-extraction-runs/ShippingOrderExtractionRunsPage.vue");
|
||||
const ShippingOrderDocumentProfilesPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/ShippingOrderDocumentProfilesPage.vue");
|
||||
const OrderProfileVersionDetailPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/OrderProfileVersionDetailPage.vue");
|
||||
const OrderProfileCreateWizardPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/OrderProfileCreateWizardPage.vue");
|
||||
const OrderProfileEditorRoutePage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/OrderProfileEditorRoutePage.vue");
|
||||
const OrderProfileValidationPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/OrderProfileValidationPage.vue");
|
||||
const OrderProfilePublishCheckPage = () =>
|
||||
import("@/features/admin/modules/shipping-order-document-profiles/OrderProfilePublishCheckPage.vue");
|
||||
|
||||
export const adminRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
@@ -177,6 +187,42 @@ export const adminRoutes: RouteRecordRaw[] = [
|
||||
component: ShippingOrderDocumentProfilesPage,
|
||||
meta: { requiresAdmin: true, adminModule: "shipping_inventory", adminSubModule: 'order_document_profiles', title: "订单文档模板" },
|
||||
},
|
||||
// 阶段 0 先固定 URL 身份;对应专属页面将在各自实施阶段替换,当前不切换旧工作台流量。
|
||||
{
|
||||
path: "shipping-order-document-profiles/new",
|
||||
name: "AdminShippingOrderDocumentProfileCreate",
|
||||
component: OrderProfileCreateWizardPage,
|
||||
meta: { requiresAdmin: true, adminModule: "shipping_inventory", adminSubModule: 'order_document_profiles', title: "创建订单文档模板" },
|
||||
},
|
||||
{
|
||||
path: "shipping-order-document-profiles/:profileCode/drafts/:profileId/edit",
|
||||
name: "AdminShippingOrderDocumentProfileEdit",
|
||||
component: OrderProfileEditorRoutePage,
|
||||
meta: { requiresAdmin: true, adminModule: "shipping_inventory", adminSubModule: 'order_document_profiles', title: "编辑订单文档模板" },
|
||||
},
|
||||
{
|
||||
path: "shipping-order-document-profiles/:profileCode/drafts/:profileId/validate",
|
||||
name: "AdminShippingOrderDocumentProfileValidate",
|
||||
component: OrderProfileValidationPage,
|
||||
meta: { requiresAdmin: true, adminModule: "shipping_inventory", adminSubModule: 'order_document_profiles', title: "验证订单文档模板" },
|
||||
},
|
||||
{
|
||||
path: "shipping-order-document-profiles/:profileCode/drafts/:profileId/publish-check",
|
||||
name: "AdminShippingOrderDocumentProfilePublishCheck",
|
||||
component: OrderProfilePublishCheckPage,
|
||||
meta: { requiresAdmin: true, adminModule: "shipping_inventory", adminSubModule: 'order_document_profiles', title: "订单文档模板发布检查" },
|
||||
},
|
||||
{
|
||||
path: "shipping-order-document-profiles/:profileCode/versions/:version",
|
||||
name: "AdminShippingOrderDocumentProfileVersionDetail",
|
||||
component: OrderProfileVersionDetailPage,
|
||||
meta: {
|
||||
requiresAdmin: true,
|
||||
adminModule: "shipping_inventory",
|
||||
adminSubModule: 'order_document_profiles',
|
||||
title: "模板版本详情",
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: "announcements",
|
||||
|
||||
@@ -10,4 +10,17 @@ export const chatRoutes: RouteRecordRaw[] = [
|
||||
name: 'Chat',
|
||||
component: () => import('@/features/chat/views/ChatView.vue'),
|
||||
},
|
||||
{
|
||||
path: '/chat/:agentId/shipping-order-review/:runNo',
|
||||
name: 'ShippingOrderReviewLegacy',
|
||||
redirect: (to) => ({
|
||||
name: 'Chat',
|
||||
params: { agentId: to.params.agentId },
|
||||
query: {
|
||||
...to.query,
|
||||
mode: 'order-review',
|
||||
run_no: String(to.params.runNo || ''),
|
||||
},
|
||||
}),
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user