diff --git a/public/index.html b/public/index.html
index 8476fd8..156b105 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,7 +4,7 @@
-
DM Admin
+ 闪兔到家后台管理系统
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index c7d3467..abe5ade 100644
--- a/src/main.js
+++ b/src/main.js
@@ -18,7 +18,8 @@ import {
Modal,
Select,
InputNumber,
- AutoComplete
+ AutoComplete,
+ Tabs
} from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
@@ -43,5 +44,6 @@ app.use(Modal)
app.use(Select)
app.use(InputNumber)
app.use(AutoComplete)
+app.use(Tabs)
app.mount('#app')
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index 7b2217e..530fc9d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,24 +1,30 @@
import { createRouter, createWebHistory } from 'vue-router'
-import BasicLayout from '../layouts/BasicLayout.vue'
+import TabsLayout from '../layouts/TabsLayout.vue'
const routes = [
{
path: '/',
- component: BasicLayout,
+ component: TabsLayout,
children: [
{
path: '',
- redirect: '/user/list'
+ redirect: '/dashboard'
+ },
+ {
+ path: '/dashboard',
+ name: 'Dashboard',
+ component: () => import('../views/dashboard/Dashboard.vue'),
+ meta: { title: '工作台' }
},
{
path: '/user/list',
- name: 'userList',
+ name: 'UserList',
component: () => import('../views/user/UserList.vue'),
meta: { title: '用户列表' }
},
{
path: '/community/list',
- name: 'communityList',
+ name: 'CommunityList',
component: () => import('../views/community/CommunityList.vue'),
meta: { title: '小区列表' }
},
@@ -27,12 +33,6 @@ const routes = [
name: 'BuildingList',
component: () => import('../views/community/BuildingList.vue'),
meta: { title: '楼栋管理' }
- },
- {
- path: '/community/station',
- name: 'stationList',
- component: () => import('../views/community/StationList.vue'),
- meta: { title: '驿站列表' }
}
]
},
diff --git a/src/views/community/BuildingList.vue b/src/views/community/BuildingList.vue
index c181720..6f1d7bd 100644
--- a/src/views/community/BuildingList.vue
+++ b/src/views/community/BuildingList.vue
@@ -1,92 +1,94 @@
-
-
-
-
-
-
-
-
- 全部
-
+
+
+
+
+
+
+
+
- {{ item.name }}
-
-
-
-
-
-
-
-
-
- {{ formatDateTime(record.create_time) }}
-
-
-
-
-
-
-
-
- 取消
-
- 保存
-
-
-
-
- 全部
+
+ {{ item.name }}
+
+
+
+
+
+
+
-
-
-
+
+
+ {{ formatDateTime(record.create_time) }}
+
+
+
-
-
-
+
+
+
+
+ 取消
+
+ 保存
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/user/UserList.vue b/src/views/user/UserList.vue
index 9f9cb82..53b0aed 100644
--- a/src/views/user/UserList.vue
+++ b/src/views/user/UserList.vue
@@ -1,35 +1,41 @@
-
-
+