소스 검색

物业 公告/二手/活动 页面

weiximei 6 년 전
부모
커밋
d498ce5a9d

+ 27
- 0
VUECODE/smart-property-manage/src/router/index.js 파일 보기

@@ -91,6 +91,33 @@ export const constantRouterMap = [
91 91
       }
92 92
     ]
93 93
   },
94
+  {
95
+    path: '/social',
96
+    component: Layout,
97
+    redirect: '/social/index',
98
+    alwaysShow: true,
99
+    meta: { title: '论坛内容', icon: 'zip' },
100
+    children: [
101
+      {
102
+        path: '/social/announcement',
103
+        component: () => import('@/views/social/announcement/index'),
104
+        name: 'announcement-index',
105
+        meta: { title: '公告内容', icon: 'table' }
106
+      },
107
+      {
108
+        path: '/social/activity',
109
+        component: () => import('@/views/social/activity/index'),
110
+        name: 'activity-index',
111
+        meta: { title: '活动管理', icon: 'table' }
112
+      },
113
+      {
114
+        path: '/social/transaction',
115
+        component: () => import('@/views/social/transaction/index'),
116
+        name: 'transaction-import',
117
+        meta: { title: '二手求购租赁管理', icon: 'table' }
118
+      }
119
+    ]
120
+  },
94 121
 
95 122
   { path: '*', redirect: '/404', hidden: true }
96 123
 ]

+ 13
- 0
VUECODE/smart-property-manage/src/views/social/activity/index.vue 파일 보기

@@ -0,0 +1,13 @@
1
+
2
+<template>
3
+  <div>活动</div>
4
+</template>
5
+<script>
6
+export default {
7
+  name: 'Index'
8
+}
9
+</script>
10
+
11
+<style scoped>
12
+
13
+</style>

+ 13
- 0
VUECODE/smart-property-manage/src/views/social/announcement/index.vue 파일 보기

@@ -0,0 +1,13 @@
1
+
2
+<template>
3
+  <div>公告</div>
4
+</template>
5
+<script>
6
+export default {
7
+  name: 'Index'
8
+}
9
+</script>
10
+
11
+<style scoped>
12
+
13
+</style>

+ 13
- 0
VUECODE/smart-property-manage/src/views/social/transaction/index.vue 파일 보기

@@ -0,0 +1,13 @@
1
+
2
+<template>
3
+  <div>二手求购租赁</div>
4
+</template>
5
+<script>
6
+export default {
7
+  name: 'Index'
8
+}
9
+</script>
10
+
11
+<style scoped>
12
+
13
+</style>