Files
syops/frontend/src/app/router/routes/chat.routes.ts
T
hugo b7307fc573 feat(shipping-notice): 增强订单文档 Profile 管理功能,新增复核与草稿管理
- 添加订单复核相关模型及 API,支持复核案例的创建、更新和确认
- 实现复核草稿的管理功能,允许用户对复核内容进行编辑和保存
- 引入复核事件审计,确保复核过程的可追溯性
- 更新数据库模型以支持复核和草稿的关系管理
- 完善相关服务逻辑,确保复核与草稿的状态管理和数据一致性
- 增强文档模板的管理能力,支持更复杂的业务场景
2026-07-29 09:50:25 +08:00

27 lines
617 B
TypeScript

/**
* app/router/routes/chat.routes.ts
* 对话相关路由。
*/
import type { RouteRecordRaw } from 'vue-router';
export const chatRoutes: RouteRecordRaw[] = [
{
path: '/chat/:agentId',
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 || ''),
},
}),
},
];