feat(contract-payment): 采购合同付款预警
This commit is contained in:
1 parent
5aa431cc8e
commit
03e5e88e27
113 files changed
+11381
-2991
No files matched your search
@@ -1,10 +1,11 @@
|
||||
/**
|
||||
* app/router/routes/workspace.routes.ts
|
||||
* 工作台路由表:/workspace 布局壳 + 各业务子页面懒加载。
|
||||
* 依赖:vue-router;meta.title 存 i18n key(workspace.*),由 guards 解析为 document.title。
|
||||
* 逻辑:WorkspaceLayout 嵌套应用首页、知识库、排程、反馈等子页。
|
||||
* 依赖:vue-router、contract-payment 权限常量;meta.title 存 i18n key(workspace.*),由 guards 解析为 document.title。
|
||||
* 逻辑:WorkspaceLayout 嵌套应用首页、知识库、排程、反馈等子页;合同付款子路由用 requiresFeaturePermission 而非 requiresAdmin。
|
||||
*/
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import { CONTRACT_PAYMENT_ACCESS_PERMISSION } from '@/features/contract-payment/constants';
|
||||
|
||||
export const workspaceRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
@@ -83,6 +84,30 @@ export const workspaceRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/workspace/pages/AccountingVoucherCheckPage.vue'),
|
||||
meta: { title: 'workspace.nav.accountingVoucherCheck', requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: 'contract-payment',
|
||||
name: 'workspace-contract-payment',
|
||||
component: () => import('@/features/contract-payment/views/ContractPaymentPage.vue'),
|
||||
meta: { title: 'workspace.nav.contractPayment', requiresFeaturePermission: CONTRACT_PAYMENT_ACCESS_PERMISSION },
|
||||
},
|
||||
{
|
||||
path: 'contract-payment/review',
|
||||
name: 'workspace-contract-payment-review',
|
||||
component: () => import('@/features/contract-payment/views/ContractPaymentReviewPage.vue'),
|
||||
meta: { title: 'workspace.nav.contractPaymentReview', requiresFeaturePermission: CONTRACT_PAYMENT_ACCESS_PERMISSION },
|
||||
},
|
||||
{
|
||||
path: 'contract-payment/weekly-batches',
|
||||
name: 'workspace-contract-payment-weekly-batches',
|
||||
component: () => import('@/features/contract-payment/views/ContractPaymentWeeklyBatchesPage.vue'),
|
||||
meta: { title: 'workspace.nav.contractPaymentWeeklyBatches', requiresFeaturePermission: CONTRACT_PAYMENT_ACCESS_PERMISSION },
|
||||
},
|
||||
{
|
||||
path: 'contract-payment/contracts/:contractId',
|
||||
name: 'workspace-contract-payment-detail',
|
||||
component: () => import('@/features/contract-payment/views/ContractPaymentDetailPage.vue'),
|
||||
meta: { title: 'workspace.nav.contractPayment', requiresFeaturePermission: CONTRACT_PAYMENT_ACCESS_PERMISSION },
|
||||
},
|
||||
{
|
||||
path: 'feedback',
|
||||
name: 'workspace-feedback',
|
||||
|
||||
Reference in new issue
Block a user