feat: deliver first finance preview with setup wizard
Release / release (push) Failing after 18s

This commit is contained in:
Qiufeng
2026-08-17 14:08:40 +08:00
parent 47403fd337
commit c8b0151769
558 changed files with 140774 additions and 3 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"schemaVersion": 1,
"library": "tdesign-vue-next",
"policy": {
"nativeInteractiveControls": false,
"externalIframe": false,
"externalUploadEndpoint": false
},
"pages": [
{ "pageId": "PAGE-01", "required": ["Form", "Input", "Button", "Alert"] },
{ "pageId": "PAGE-02", "required": ["Card", "Button", "Alert", "Icon"] },
{ "pageId": "PAGE-03", "required": ["Descriptions", "Form", "Timeline", "Dialog"] },
{ "pageId": "PAGE-04", "required": ["Statistic", "Table", "Tag", "Timeline"] },
{ "pageId": "PAGE-05", "required": ["Statistic", "Table", "Tag", "Alert"] },
{ "pageId": "PAGE-06", "required": ["Statistic", "Table", "Tag", "Timeline"] },
{ "pageId": "PAGE-07", "required": ["Form", "Table", "Pagination", "Dropdown"] },
{ "pageId": "PAGE-08", "required": ["Descriptions", "Tabs", "Table", "Timeline"] },
{ "pageId": "PAGE-09", "required": ["Tabs", "Card", "Table", "Tag"] },
{ "pageId": "PAGE-10", "required": ["Form", "Table", "Upload", "Alert", "Steps"] },
{ "pageId": "PAGE-11", "required": ["Table", "Descriptions", "Timeline", "Dialog"] },
{ "pageId": "PAGE-12", "required": ["Tabs", "Table", "Form", "Dialog", "Descriptions"] },
{ "pageId": "PAGE-13", "required": ["Form", "Table", "Tabs", "Statistic"] },
{ "pageId": "PAGE-14", "required": ["Tabs", "Table", "Form", "Drawer", "Dialog"] },
{ "pageId": "PAGE-15", "required": ["Tabs", "Table", "Descriptions", "Dialog", "Alert"] },
{ "pageId": "PAGE-16", "required": ["Tabs", "Table", "Form", "Dialog"] },
{ "pageId": "PAGE-17", "required": ["Table", "Steps", "Timeline", "Drawer", "Dialog"] },
{ "pageId": "PAGE-18", "required": ["Form", "Table", "Pagination", "Dialog"] },
{ "pageId": "PAGE-19", "required": ["Tabs", "Form", "Table"] },
{ "pageId": "PAGE-20", "required": ["Form", "Table", "Drawer", "Tag"] },
{ "pageId": "PAGE-21", "required": ["Tabs", "Tree", "Table", "Form", "Dialog"] },
{ "pageId": "PAGE-22", "required": ["Steps", "Table", "Alert", "Tag"] },
{ "pageId": "PAGE-23", "required": ["Steps", "Form", "Input", "Button", "Alert"] }
]
}
File diff suppressed because it is too large Load Diff
+281
View File
@@ -0,0 +1,281 @@
{
"schemaVersion": 1,
"routes": [
{
"pageId": "PAGE-23",
"path": "/setup",
"component": "src/pages/setup/index.vue",
"pageType": "system",
"pageTemplate": "setup-wizard",
"requiresAuth": false,
"description": "首次配置数据库并创建系统管理员,完成后自动锁定安装向导。",
"breadcrumb": ["安装向导"],
"roles": [],
"permission": null
},
{
"pageId": "PAGE-01",
"path": "/login",
"component": "src/pages/login/index.vue",
"pageType": "system",
"pageTemplate": "auth",
"requiresAuth": false,
"description": "使用账号和密码进入系统。",
"breadcrumb": [],
"roles": [],
"permission": null
},
{
"pageId": "PAGE-02",
"path": "/role-select",
"component": "src/pages/role-select/index.vue",
"pageType": "system",
"pageTemplate": "role-select",
"requiresAuth": true,
"description": "选择本次登录使用的工作身份。",
"breadcrumb": [],
"roles": [],
"permission": null
},
{
"pageId": "PAGE-03",
"path": "/profile",
"component": "src/pages/profile/index.vue",
"pageType": "system",
"pageTemplate": "form",
"requiresAuth": true,
"description": "查看个人资料、身份和登录会话,修改密码或退出会话。",
"breadcrumb": ["个人中心"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER", "SYSTEM_ADMIN"],
"permission": null
},
{
"pageId": "PAGE-04",
"path": "/workbench/project",
"component": "src/pages/workbench/project.vue",
"pageType": "business",
"pageTemplate": "workbench",
"requiresAuth": true,
"description": "查看授权项目、待办、退回表单和资料异常。",
"breadcrumb": ["工作台", "项目管理工作台"],
"roles": ["PROJECT_MANAGER"],
"permission": "project:project:view"
},
{
"pageId": "PAGE-05",
"path": "/workbench/finance",
"component": "src/pages/workbench/finance.vue",
"roles": ["FINANCE_MANAGER"],
"pageType": "business",
"pageTemplate": "workbench",
"requiresAuth": true,
"description": "查看财务待办、阻断异常、待记账和结果登记。",
"breadcrumb": ["工作台", "财务管理工作台"],
"permission": "workflow:task:view"
},
{
"pageId": "PAGE-06",
"path": "/workbench/archive",
"component": "src/pages/workbench/archive.vue",
"roles": ["ARCHIVE_MANAGER"],
"pageType": "business",
"pageTemplate": "workbench",
"requiresAuth": true,
"description": "查看待归档、缺件、借阅到期和归档统计。",
"breadcrumb": ["工作台", "资料管理工作台"],
"permission": "archive:package:view"
},
{
"pageId": "PAGE-07",
"path": "/projects",
"component": "src/pages/projects/ProjectListPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "按公司、负责人、阶段和状态查看项目。",
"breadcrumb": ["项目管理", "项目列表"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER"],
"permission": "project:project:view"
},
{
"pageId": "PAGE-08",
"path": "/projects/:projectId",
"component": "src/pages/projects/ProjectDetailPage.vue",
"pageType": "business",
"pageTemplate": "detail",
"requiresAuth": true,
"description": "查看项目表单、合同、收付款、进度、附件和时间线。",
"breadcrumb": ["项目管理", "项目详情"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER"],
"permission": "project:project:view"
},
{
"pageId": "PAGE-09",
"path": "/forms",
"component": "src/pages/forms/FormCenterPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "管理 OA-01 至 OA-14 表单、模板和草稿。",
"breadcrumb": ["表单审批", "表单中心"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER"],
"permission": "source:form:view"
},
{
"pageId": "PAGE-10",
"path": "/forms/:formType/:documentId?",
"component": "src/pages/forms/FormEditorPage.vue",
"pageType": "business",
"pageTemplate": "form",
"requiresAuth": true,
"description": "在线填写或导入业务表单,校验字段和附件后提交。",
"breadcrumb": ["表单审批", "表单填写与导入"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER"],
"permission": "source:form:view"
},
{
"pageId": "PAGE-11",
"path": "/tasks",
"component": "src/pages/tasks/TaskCenterPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "处理待我审批、退回补件和已完成事项。",
"breadcrumb": ["表单审批", "待办审批"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER"],
"permission": "workflow:task:view"
},
{
"pageId": "PAGE-12",
"path": "/finance/master-data",
"component": "src/pages/finance/MasterDataPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "维护公司、往来单位、账户、合同和财务字典。",
"breadcrumb": ["财务管理", "主数据中心"],
"roles": ["FINANCE_MANAGER"],
"permission": "masterdata:company:view"
},
{
"pageId": "PAGE-13",
"path": "/finance/contracts-costs",
"component": "src/pages/finance/ContractCostLedgerPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "查看合同执行、成本分类、应付和已付金额。",
"breadcrumb": ["财务管理", "合同与成本台账"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER"],
"permission": "contractcost:ledger:view"
},
{
"pageId": "PAGE-14",
"path": "/finance/receipts-invoices",
"component": "src/pages/finance/ReceiptsInvoicesPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "登记收款、核销、开票申请和人工开票结果。",
"breadcrumb": ["财务管理", "收款与发票"],
"roles": ["FINANCE_MANAGER"],
"permission": ["receivable:receipt:view", "receivable:invoice:view"]
},
{
"pageId": "PAGE-15",
"path": "/finance/payments",
"component": "src/pages/finance/PaymentsPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "检查付款资料、额度、结果登记和退汇。",
"breadcrumb": ["财务管理", "进度款与付款"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER"],
"permission": "payment:request:view"
},
{
"pageId": "PAGE-16",
"path": "/finance/accounting",
"component": "src/pages/finance/AccountingPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "生成凭证草稿、导出记账文件并登记人工结果。",
"breadcrumb": ["财务管理", "记账准备"],
"roles": ["FINANCE_MANAGER"],
"permission": ["accounting:event:view", "accounting:voucher:view"]
},
{
"pageId": "PAGE-17",
"path": "/archives/projects",
"component": "src/pages/archives/ProjectArchivesPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "生成档案包、检查缺件并完成归档审核。",
"breadcrumb": ["资料档案", "项目归档"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER"],
"permission": "archive:package:view"
},
{
"pageId": "PAGE-18",
"path": "/archives/files",
"component": "src/pages/archives/ArchiveFilesPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "检索文件、查看版本、下载和登记借阅归还。",
"breadcrumb": ["资料档案", "文件检索与借阅"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER"],
"permission": "archive:file:view"
},
{
"pageId": "PAGE-19",
"path": "/reports",
"component": "src/pages/reports/ReportsPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "查询项目、合同、收付款、流程和资料完整性。",
"breadcrumb": ["查询分析", "查询与报表"],
"roles": ["PROJECT_MANAGER", "FINANCE_MANAGER", "ARCHIVE_MANAGER"],
"permission": "report:finance:view"
},
{
"pageId": "PAGE-20",
"path": "/governance/audit",
"component": "src/pages/governance/AuditLogsPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "查询登录、查看、审批、导入导出和结果登记记录。",
"breadcrumb": ["系统治理", "审计日志"],
"roles": ["SYSTEM_ADMIN"],
"permission": "audit:log:view"
},
{
"pageId": "PAGE-21",
"path": "/governance/settings",
"component": "src/pages/governance/SystemSettingsPage.vue",
"pageType": "business",
"pageTemplate": "list-ledger",
"requiresAuth": true,
"description": "维护用户、角色、数据范围、表单模板和参数版本。",
"breadcrumb": ["系统治理", "权限与配置"],
"roles": ["SYSTEM_ADMIN"],
"permission": "admin:user:view"
},
{
"pageId": "PAGE-22",
"path": "/governance/update",
"component": "src/pages/governance/SystemUpdatePage.vue",
"pageType": "business",
"pageTemplate": "system-update",
"requiresAuth": true,
"description": "查看当前版本、获取签名更新包、立即重启并查询历史更新记录。",
"breadcrumb": ["系统治理", "系统更新"],
"roles": ["SYSTEM_ADMIN"],
"permission": "admin:update:view"
}
]
}