|
|
@@ -0,0 +1,26 @@
|
|
|
+export default [
|
|
|
+ {
|
|
|
+ path: "/unit/create",
|
|
|
+ name: "UnitAddPage",
|
|
|
+ component: () => import("pages/unit/UnitActionPage.vue"),
|
|
|
+ meta: {
|
|
|
+ title: {
|
|
|
+ value: "Cadastro de Unidades",
|
|
|
+ translate: false,
|
|
|
+ },
|
|
|
+ requireAuth: true,
|
|
|
+ // TODO: Verificar permissao, fazendo seeder e substituindo
|
|
|
+ requiredPermission: "config.city",
|
|
|
+ breadcrumbs: [
|
|
|
+ {
|
|
|
+ name: "FranciseePage",
|
|
|
+ title: "Franqueados",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "UnitActionPage",
|
|
|
+ title: "Cadastro de Unidade"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+];
|