import PrivilegeManage from "./views/PrivilegeManage.vue";
import SystemRoleManage from "./views/SystemRoleManage.vue";
import SchoolManage from "./views/SchoolManage.vue";
import AuthSet from "./views/AuthSet.vue";
import ScanLogManage from "./views/ScanLogManage.vue";
import PackageManage from "./views/PackageManage.vue";
import ToolManage from "./views/ToolManage.vue";
import Admin from "./views/Admin.vue";

export default {
  path: "/admin",
  name: "Admin",
  component: Admin,
  children: [
    {
      path: "privilege-manage",
      name: "PrivilegeManage",
      component: PrivilegeManage,
    },
    {
      path: "system-role-manage",
      name: "SystemRoleManage",
      component: SystemRoleManage,
    },
    {
      path: "school-manage",
      name: "SchoolManage",
      component: SchoolManage,
    },
    {
      path: "auth-set",
      name: "AuthSet",
      component: AuthSet,
    },
    {
      path: "scan-log-manage",
      name: "ScanLogManage",
      component: ScanLogManage,
    },
    {
      path: "package-manage",
      name: "PackageManage",
      component: PackageManage,
    },
    {
      path: "tool-manage",
      name: "ToolManage",
      component: ToolManage,
    },
  ],
};
