mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 18:10:30 +08:00
feat(web): I3 contract list, wizard, and detail
Add routes and menu, platform API helpers (patch status, audit-events), and Vue views aligned to platform contract DTOs and state transitions. Made-with: Cursor
This commit is contained in:
@@ -26,6 +26,24 @@ const routes = [
|
||||
component: () => import("../views/ProjectsView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER"] },
|
||||
},
|
||||
{
|
||||
path: "contracts/new",
|
||||
name: "contract-new",
|
||||
component: () => import("../views/ContractWizardView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER"], title: "新建合同" },
|
||||
},
|
||||
{
|
||||
path: "contracts/:id",
|
||||
name: "contract-detail",
|
||||
component: () => import("../views/ContractDetailView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER"], title: "合同详情" },
|
||||
},
|
||||
{
|
||||
path: "contracts",
|
||||
name: "contracts",
|
||||
component: () => import("../views/ContractsView.vue"),
|
||||
meta: { roles: ["SYS_ADMIN", "DEVELOPER"], title: "合同管理" },
|
||||
},
|
||||
],
|
||||
},
|
||||
{ path: "/403", name: "forbidden", component: () => import("../views/ForbiddenView.vue") },
|
||||
|
||||
Reference in New Issue
Block a user