From c20eb9f1be4dd364f492e165a3b801628cdc30b9 Mon Sep 17 00:00:00 2001
From: wangyilin <1454641981@qq.com>
Date: Tue, 3 Sep 2024 11:28:48 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=85=A5=E9=A9=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
policeManagement/src/router/staticRouters.ts | 1 -
securityManagement/package.json | 7 +-
securityManagement/postcss.config.js | 6 +
.../src/components/iconfont/IconFont.vue | 20 ++
.../src/components/layout/MenuItem.vue | 47 ++++
.../src/components/layout/SystemMenus.vue | 30 +++
.../src/components/layout/layout.vue | 2 +
.../src/components/login/TelephoneLogin.vue | 18 +-
securityManagement/src/config/dict.ts | 17 ++
securityManagement/src/config/index.ts | 35 ++-
securityManagement/src/global.d.ts | 16 ++
securityManagement/src/index.css | 3 +
securityManagement/src/main.ts | 5 +-
.../src/router/staticRouters.ts | 62 +++---
.../src/stores/modules/userStore.ts | 4 +-
.../src/types/components/iconfont/IconFont.ts | 5 +
securityManagement/src/types/config/index.ts | 12 +
.../src/types/stores/userStore.ts | 4 +-
.../src/types/views/enterprise.ts | 0
securityManagement/src/views/enterprise.vue | 207 +++++++++++-------
.../src/views/serviceManagement/index.vue | 12 +
securityManagement/src/views/test.vue | 12 +-
.../userManagement/bgManagement/index.vue | 12 +
.../userManagement/uniManagement/index.vue | 11 +
securityManagement/tailwind.config.js | 9 +
25 files changed, 431 insertions(+), 126 deletions(-)
create mode 100644 securityManagement/postcss.config.js
create mode 100644 securityManagement/src/components/iconfont/IconFont.vue
create mode 100644 securityManagement/src/components/layout/MenuItem.vue
create mode 100644 securityManagement/src/components/layout/SystemMenus.vue
create mode 100644 securityManagement/src/config/dict.ts
create mode 100644 securityManagement/src/index.css
create mode 100644 securityManagement/src/types/components/iconfont/IconFont.ts
create mode 100644 securityManagement/src/types/config/index.ts
create mode 100644 securityManagement/src/types/views/enterprise.ts
create mode 100644 securityManagement/src/views/serviceManagement/index.vue
create mode 100644 securityManagement/src/views/userManagement/bgManagement/index.vue
create mode 100644 securityManagement/src/views/userManagement/uniManagement/index.vue
create mode 100644 securityManagement/tailwind.config.js
diff --git a/policeManagement/src/router/staticRouters.ts b/policeManagement/src/router/staticRouters.ts
index 244a79f..41cf84c 100644
--- a/policeManagement/src/router/staticRouters.ts
+++ b/policeManagement/src/router/staticRouters.ts
@@ -68,7 +68,6 @@ export const staticRouter: RouteRecordRaw[] =
},
component: () => import('@/views/login.vue')
},
-
{
//登录页面
path: '/register-index',
diff --git a/securityManagement/package.json b/securityManagement/package.json
index 1986058..513bdda 100644
--- a/securityManagement/package.json
+++ b/securityManagement/package.json
@@ -13,19 +13,22 @@
"ant-design-vue": "^4.2.3",
"axios": "^1.7.5",
"jsencrypt": "^3.3.2",
+ "lodash-es": "^4.17.21",
"pinia": "^2.2.2",
"pinia-plugin-persistedstate": "^3.2.0",
"sass": "^1.77.8",
"vue": "^3.4.37",
"vue-router": "4",
- "vue-uuid": "^3.0.0",
- "lodash-es": "^4.17.21"
+ "vue-uuid": "^3.0.0"
},
"devDependencies": {
"@types/lodash-es": "^4.17.8",
"@types/node": "^22.5.1",
"@vitejs/plugin-vue": "^5.1.2",
"@vitejs/plugin-vue-jsx": "^4.0.1",
+ "autoprefixer": "^10.4.20",
+ "postcss": "^8.4.44",
+ "tailwindcss": "^3.4.10",
"typescript": "^5.5.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.1",
diff --git a/securityManagement/postcss.config.js b/securityManagement/postcss.config.js
new file mode 100644
index 0000000..2e7af2b
--- /dev/null
+++ b/securityManagement/postcss.config.js
@@ -0,0 +1,6 @@
+export default {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+}
diff --git a/securityManagement/src/components/iconfont/IconFont.vue b/securityManagement/src/components/iconfont/IconFont.vue
new file mode 100644
index 0000000..fc208f1
--- /dev/null
+++ b/securityManagement/src/components/iconfont/IconFont.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
diff --git a/securityManagement/src/components/layout/MenuItem.vue b/securityManagement/src/components/layout/MenuItem.vue
new file mode 100644
index 0000000..0d928f6
--- /dev/null
+++ b/securityManagement/src/components/layout/MenuItem.vue
@@ -0,0 +1,47 @@
+
+
+