diff --git a/components/Admin/DashBoard/Applicaton.vue b/components/Admin/DashBoard/Applicaton.vue
new file mode 100644
index 0000000..19081df
--- /dev/null
+++ b/components/Admin/DashBoard/Applicaton.vue
@@ -0,0 +1,26 @@
+
+ 1
+
+
+
+
+
+
diff --git a/layouts/admin.vue b/layouts/admin.vue
new file mode 100644
index 0000000..2f7dcea
--- /dev/null
+++ b/layouts/admin.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/admin/applications/index.vue b/pages/admin/applications/index.vue
new file mode 100644
index 0000000..781aa90
--- /dev/null
+++ b/pages/admin/applications/index.vue
@@ -0,0 +1,14 @@
+
+
+ 申请审批
+
+
+
+
+
+
+
diff --git a/pages/admin/index.vue b/pages/admin/index.vue
index db08402..5ecd150 100644
--- a/pages/admin/index.vue
+++ b/pages/admin/index.vue
@@ -3,51 +3,11 @@
管理界面
-
-
-
-
-
-
-
-
-
-
+
diff --git a/server/api/admin/analysis/index.ts b/server/api/admin/analysis/index.ts
new file mode 100644
index 0000000..93c9557
--- /dev/null
+++ b/server/api/admin/analysis/index.ts
@@ -0,0 +1,24 @@
+import { PrismaClient } from "@prisma/client";
+import type { Application } from "~/types/Application";
+const db = new PrismaClient();
+export default defineEventHandler(async (event) => {
+ const applications = {
+ amounts: (await db.application.findMany()).length,
+ passAmounts: (
+ await db.application.findMany({
+ where: {
+ deploy: true,
+ },
+ })
+ ).length,
+ unHandleAmounts: (
+ await db.application.findMany({
+ where: {
+ deploy: false,
+ },
+ })
+ ).length,
+ };
+ await db.$disconnect();
+ return applications;
+});