feat(order-delivery-reply): 新增订单交期回复工作台
This commit is contained in:
1 parent
de9db2ea77
commit
49f6a0f222
57 files changed
+6502
-67
No files matched your search
@@ -8,6 +8,7 @@ import { authRoutes } from './auth.routes';
|
||||
import { chatRoutes } from './chat.routes';
|
||||
import { kbRoutes } from './kb.routes';
|
||||
import { workspaceRoutes } from './workspace.routes';
|
||||
import { orderDeliveryReplyEmbedRoute } from './workspace.routes';
|
||||
import { useAuthStore } from '@/features/auth/stores/auth.store';
|
||||
import { DEFAULT_CHAT_AGENT_ID } from '@/shared/constants/routes';
|
||||
|
||||
@@ -21,6 +22,7 @@ export const appRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
},
|
||||
...authRoutes,
|
||||
orderDeliveryReplyEmbedRoute,
|
||||
...workspaceRoutes,
|
||||
...chatRoutes,
|
||||
...adminRoutes,
|
||||
|
||||
@@ -6,6 +6,15 @@
|
||||
*/
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import { CONTRACT_PAYMENT_ACCESS_PERMISSION } from '@/features/contract-payment/constants';
|
||||
import { ORDER_DELIVERY_REPLY_ACCESS_PERMISSION } from '@/features/order-delivery-reply/constants';
|
||||
|
||||
// 订单交期回复嵌入路由:应用管理 iframe 应用的目标(无工作台布局壳,聊天壳内整页渲染)。
|
||||
export const orderDeliveryReplyEmbedRoute: RouteRecordRaw = {
|
||||
path: '/apps/order-delivery-reply',
|
||||
name: 'app-order-delivery-reply',
|
||||
component: () => import('@/features/order-delivery-reply/views/OrderDeliveryReplyPage.vue'),
|
||||
meta: { title: 'workspace.nav.orderDeliveryReply', requiresFeaturePermission: ORDER_DELIVERY_REPLY_ACCESS_PERMISSION },
|
||||
};
|
||||
|
||||
export const workspaceRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
@@ -90,6 +99,12 @@ export const workspaceRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/workspace/pages/AccountingVoucherCheckDetailPage.vue'),
|
||||
meta: { title: 'workspace.voucherCheck.detailTitle', requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: 'order-delivery-reply',
|
||||
name: 'workspace-order-delivery-reply',
|
||||
component: () => import('@/features/order-delivery-reply/views/OrderDeliveryReplyPage.vue'),
|
||||
meta: { title: 'workspace.nav.orderDeliveryReply', requiresFeaturePermission: ORDER_DELIVERY_REPLY_ACCESS_PERMISSION },
|
||||
},
|
||||
{
|
||||
path: 'contract-payment',
|
||||
name: 'workspace-contract-payment',
|
||||
|
||||
Reference in new issue
Block a user