许成详 6 yıl önce
ebeveyn
işleme
8e1eb0f29d

+ 19
- 0
src/pages/system/caseManger/index.vue Dosyayı Görüntüle

@@ -0,0 +1,19 @@
1
+<template>
2
+  <div class="mainPage">
3
+    <router-view></router-view>
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+export default {
9
+  name: '',
10
+  data () {
11
+    return {}
12
+  },
13
+  components: {}
14
+}
15
+</script>
16
+
17
+<!-- Add "scoped" attribute to limit CSS to this component only -->
18
+<style lang="scss" scoped>
19
+</style>

+ 19
- 0
src/pages/system/channelManager/index.vue Dosyayı Görüntüle

@@ -0,0 +1,19 @@
1
+<template>
2
+  <div class="mainPage">
3
+    <router-view></router-view>
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+export default {
9
+  name: '',
10
+  data () {
11
+    return {}
12
+  },
13
+  components: {}
14
+}
15
+</script>
16
+
17
+<!-- Add "scoped" attribute to limit CSS to this component only -->
18
+<style lang="scss" scoped>
19
+</style>

+ 19
- 0
src/pages/system/courseManger/index.vue Dosyayı Görüntüle

@@ -0,0 +1,19 @@
1
+<template>
2
+  <div class="mainPage">
3
+    <router-view></router-view>
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+export default {
9
+  name: '',
10
+  data () {
11
+    return {}
12
+  },
13
+  components: {}
14
+}
15
+</script>
16
+
17
+<!-- Add "scoped" attribute to limit CSS to this component only -->
18
+<style lang="scss" scoped>
19
+</style>

+ 0
- 199
src/pages/system/customerManagement/customerList/index.vue Dosyayı Görüntüle

@@ -1,199 +0,0 @@
1
-<template>
2
-  <div class="subPage">
3
-    <div class="system-table-search">
4
-      <div class="flex-item flex-h"></div>
5
-      <div class="flex-h">
6
-        <tableSearch @exportSearchKey="searchList"></tableSearch>
7
-      </div>
8
-      <div class="moreFilter"></div>
9
-    </div>
10
-    <div class="system-table-box">
11
-      <el-table
12
-        :data="tableData"
13
-        stripe
14
-        style="width: 100%">
15
-        <el-table-column
16
-          fixed='left'
17
-          prop="customerName"
18
-          label="姓名"
19
-          width="200">
20
-        </el-table-column>
21
-        <el-table-column
22
-          prop="mobile"
23
-          label="手机号"
24
-          width="150">
25
-        </el-table-column>
26
-        <el-table-column
27
-          prop="nickName"
28
-          label="微信昵称"
29
-          width="200">
30
-        </el-table-column>
31
-        <el-table-column
32
-          prop="userType"
33
-          label="用户类型"
34
-          width="150">
35
-        </el-table-column>
36
-        <el-table-column
37
-          prop="recommend"
38
-          label="推荐人"
39
-          width="150">
40
-        </el-table-column>
41
-        <el-table-column
42
-          prop="customerLevel"
43
-          label="会员等级"
44
-          width="150">
45
-        </el-table-column>
46
-        <el-table-column
47
-          prop="customerPoint"
48
-          label="会员积分"
49
-          width="150">
50
-        </el-table-column>
51
-        <el-table-column
52
-          prop="openId"
53
-          label="openId"
54
-          width="300">
55
-        </el-table-column>
56
-        <el-table-column
57
-          prop="gold"
58
-          label="金币"
59
-          width="150">
60
-        </el-table-column>
61
-        <el-table-column
62
-          prop="silver"
63
-          label="银币"
64
-          width="150">
65
-        </el-table-column>
66
-        <el-table-column label="操作" fixed='right' width='200'>
67
-          <template slot-scope="scope">
68
-            <el-button
69
-              size="mini"
70
-              @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
71
-            <el-button
72
-              size="mini"
73
-              type="danger"
74
-              @click="handleDelete(scope.$index, scope.row)">删除</el-button>
75
-          </template>
76
-        </el-table-column>
77
-      </el-table>
78
-    </div>
79
-    <el-pagination
80
-      @size-change="handleSizeChange"
81
-      @current-change="handleCurrentChange"
82
-      :current-page.sync="currentPage"
83
-      :page-size="10"
84
-      layout="prev, pager, next, jumper"
85
-      :total="100">
86
-    </el-pagination>
87
-  </div>
88
-</template>
89
-
90
-<script>
91
-import tableSearch from '@/components/tableSearch/index'
92
-
93
-export default {
94
-  name: '',
95
-  data () {
96
-    return {
97
-      currentPage: 0, // 当前页码
98
-      tableSearch: { // 表格搜索条件
99
-        key: '111', // 搜索关键字
100
-      },
101
-      tableData: [{
102
-        customerName: '赵日天',
103
-        mobile: '13446666666',
104
-        nickName: '赵日地',
105
-        userType: '1',
106
-        recommend: '赵爸爸',
107
-        customerLevel: '10000',
108
-        customerPoint: '200',
109
-        openId: 'jhfjkdshkdfgs22123',
110
-        gold: '2333',
111
-        silver: '3332'
112
-      }, {
113
-        customerName: '赵日天',
114
-        mobile: '13446666666',
115
-        nickName: '赵日地',
116
-        userType: '1',
117
-        recommend: '赵爸爸',
118
-        customerLevel: '10000',
119
-        customerPoint: '200',
120
-        openId: 'jhfjkdshkdfgs22123',
121
-        gold: '2333',
122
-        silver: '3332'
123
-      }, {
124
-        customerName: '赵日天',
125
-        mobile: '13446666666',
126
-        nickName: '赵日地',
127
-        userType: '1',
128
-        recommend: '赵爸爸',
129
-        customerLevel: '10000',
130
-        customerPoint: '200',
131
-        openId: 'jhfjkdshkdfgs22123',
132
-        gold: '2333',
133
-        silver: '3332'
134
-      }, {
135
-        customerName: '赵日天',
136
-        mobile: '13446666666',
137
-        nickName: '赵日地',
138
-        userType: '1',
139
-        recommend: '赵爸爸',
140
-        customerLevel: '10000',
141
-        customerPoint: '200',
142
-        openId: 'jhfjkdshkdfgs22123',
143
-        gold: '2333',
144
-        silver: '3332'
145
-      }, {
146
-        customerName: '赵日天',
147
-        mobile: '13446666666',
148
-        nickName: '赵日地',
149
-        userType: '1',
150
-        recommend: '赵爸爸',
151
-        customerLevel: '10000',
152
-        customerPoint: '200',
153
-        openId: 'jhfjkdshkdfgs22123',
154
-        gold: '2333',
155
-        silver: '3332'
156
-      }]
157
-    }
158
-  },
159
-  components: {
160
-    tableSearch,
161
-  },
162
-  methods: {
163
-    handleSizeChange (val) {
164
-      console.log(`每页 ${val} 条`)
165
-    },
166
-    handleCurrentChange (val) {
167
-      console.log(`当前页: ${val}`)
168
-    },
169
-    handleEdit (index, row) { // 编辑
170
-      console.log(index, row)
171
-    },
172
-    handleDelete (index, row) { // 删除
173
-      console.log(index, row)
174
-      this.$confirm('确认删除此用户?', '提示', {
175
-        confirmButtonText: '确定',
176
-        cancelButtonText: '取消',
177
-        type: 'warning'
178
-      }).then(() => {
179
-        this.$message({
180
-          type: 'success',
181
-          message: '删除成功!'
182
-        })
183
-      }).catch(() => {
184
-        this.$message({
185
-          type: 'info',
186
-          message: '已取消删除'
187
-        })
188
-      })
189
-    },
190
-    searchList (key) { // 搜索列表
191
-      console.log(key)
192
-    }
193
-  }
194
-}
195
-</script>
196
-
197
-<!-- Add "scoped" attribute to limit CSS to this component only -->
198
-<style lang="scss" scoped>
199
-</style>

+ 81
- 53
src/pages/system/page.js Dosyayı Görüntüle

@@ -1,15 +1,20 @@
1 1
 
2 2
 import system from './index' // 系统首页
3 3
 
4
-import channelList from './channelManager/channelList/index' // 渠道管理
4
+import channelManger from './channelManager/index' // 渠道管理
5
+import channelList from './channelManager/channelList/index' // 渠道列表
6
+
7
+import caseManger from './caseManger/index' // 案场管理
5 8
 import caseInfo from './caseManger/caseInfo/index' // 案场信息
6 9
 import keyManger from './caseManger/keyManger/index' // 钥匙管理
7 10
 import caseAreaManger from './caseManger/caseAreaManger/index' // 案场区域管理
8 11
 import caseTableManger from './caseManger/caseTableManger/index' // 案场桌位管理
9 12
 
13
+import courseManger from './courseManger/index' // 课程管理
10 14
 import fiveA from './courseManger/fiveA/index' // 全龄生活5A
11 15
 import courseTag from './courseManger/courseTag/index' // 课程标签
12 16
 
17
+import systemSet from './systemSet/index' // 系统设置
13 18
 import userManger from './systemSet/userManger/index' // 用户管理
14 19
 import characterManger from './systemSet/characterManger/index' // 角色管理
15 20
 import permissionManger from './systemSet/permissionManger/index' // 权限管理
@@ -21,58 +26,81 @@ export default {
21 26
       path: '/system',
22 27
       name: 'system',
23 28
       component: system,
24
-      children: [{ // 渠道管理
25
-        path: 'channelList',
26
-        name: 'channelList',
27
-        component: channelList,
28
-        children: [],
29
-      }, { // 案场信息
30
-        path: 'caseInfo',
31
-        name: 'caseInfo',
32
-        component: caseInfo,
33
-        children: [],
34
-      }, { // 钥匙管理
35
-        path: 'keyManger',
36
-        name: 'keyManger',
37
-        component: keyManger,
38
-        children: [],
39
-      }, { // 案场区域管理
40
-        path: 'caseAreaManger',
41
-        name: 'caseAreaManger',
42
-        component: caseAreaManger,
43
-        children: [],
44
-      }, { // 案场桌位管理
45
-        path: 'caseTableManger',
46
-        name: 'caseTableManger',
47
-        component: caseTableManger,
48
-        children: [],
49
-      }, { // 全龄生活5A
50
-        path: 'fiveA',
51
-        name: 'fiveA',
52
-        component: fiveA,
53
-        children: [],
54
-      }, { // 课程标签
55
-        path: 'courseTag',
56
-        name: 'courseTag',
57
-        component: courseTag,
58
-        children: [],
59
-      }, { // 用户管理
60
-        path: 'userManger',
61
-        name: 'userManger',
62
-        component: userManger,
63
-        children: [],
64
-      }, { // 角色管理
65
-        path: 'characterManger',
66
-        name: 'characterManger',
67
-        component: characterManger
68
-      }, { // 权限管理
69
-        path: 'permissionManger',
70
-        name: 'permissionManger',
71
-        component: permissionManger
72
-      }, { // 字典管理
73
-        path: 'dictManger',
74
-        name: 'dictManger',
75
-        component: dictManger
29
+      children: [{ // 系统设置
30
+        path: 'systemSet',
31
+        name: 'systemSet',
32
+        component: systemSet,
33
+        children: [{ // 用户管理
34
+          path: 'userManger',
35
+          name: 'userManger',
36
+          component: userManger,
37
+          children: []
38
+        }, { // 角色管理
39
+          path: 'characterManger',
40
+          name: 'characterManger',
41
+          component: characterManger,
42
+          children: []
43
+        }, { // 权限管理
44
+          path: 'permissionManger',
45
+          name: 'permissionManger',
46
+          component: permissionManger,
47
+          children: []
48
+        }, { // 字典管理
49
+          path: 'dictManger',
50
+          name: 'dictManger',
51
+          component: dictManger,
52
+          children: []
53
+        }],
54
+      }, { // 案场管理
55
+        path: 'caseManger',
56
+        name: 'caseManger',
57
+        component: caseManger,
58
+        children: [{ // 案场信息
59
+          path: 'caseInfo',
60
+          name: 'caseInfo',
61
+          component: caseInfo,
62
+          children: []
63
+        }, { // 钥匙管理
64
+          path: 'keyManger',
65
+          name: 'keyManger',
66
+          component: keyManger,
67
+          children: []
68
+        }, { // 案场区域管理
69
+          path: 'caseAreaManger',
70
+          name: 'caseAreaManger',
71
+          component: caseAreaManger,
72
+          children: []
73
+        }, { // 案场桌位管理
74
+          path: 'caseTableManger',
75
+          name: 'caseTableManger',
76
+          component: caseTableManger,
77
+          children: []
78
+        }],
79
+      }, { // 渠道管理
80
+        path: 'channelManger',
81
+        name: 'channelManger',
82
+        component: channelManger,
83
+        children: [{ // 渠道列表
84
+          path: 'channelList',
85
+          name: 'channelList',
86
+          component: channelList,
87
+          children: []
88
+        }],
89
+      }, { // 课程管理
90
+        path: 'courseManger',
91
+        name: 'courseManger',
92
+        component: courseManger,
93
+        children: [{ // 全龄生活5A
94
+          path: 'fiveA',
95
+          name: 'fiveA',
96
+          component: fiveA,
97
+          children: []
98
+        }, { // 课程标签
99
+          path: 'courseTag',
100
+          name: 'courseTag',
101
+          component: courseTag,
102
+          children: []
103
+        }],
76 104
       }],
77 105
     },
78 106
   ],

+ 0
- 179
src/pages/system/roleManagement/roleList/index.vue Dosyayı Görüntüle

@@ -1,179 +0,0 @@
1
-<template>
2
-  <div class="subPage">
3
-    <div class="system-table-search">
4
-      <div class="flex-item flex-h"></div>
5
-      <div class="flex-h">
6
-        <tableSearch @exportSearchKey="searchList"></tableSearch>
7
-      </div>
8
-      <div class="moreFilter"></div>
9
-    </div>
10
-    <div class="system-table-box">
11
-      <el-table
12
-        :data="tableData"
13
-        stripe
14
-        style="width: 100%">
15
-        <el-table-column
16
-          prop="customerName"
17
-          label="角色标识"
18
-          width="200">
19
-        </el-table-column>
20
-        <el-table-column
21
-          prop="mobile"
22
-          label="角色名"
23
-          width="300">
24
-        </el-table-column>
25
-        <el-table-column
26
-          prop="nickName"
27
-          label="是否禁用角色"
28
-          width="200">
29
-        </el-table-column>
30
-        <el-table-column
31
-          prop="userType"
32
-          label="数据权限">
33
-        </el-table-column>
34
-        <el-table-column
35
-          prop="recommend"
36
-          label="创建时间"
37
-          width="300">
38
-        </el-table-column>
39
-        <el-table-column label="操作" width='300'>
40
-          <template slot-scope="scope">
41
-            <el-button
42
-              size="mini"
43
-              @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
44
-            <el-button
45
-              size="mini"
46
-              type="danger"
47
-              @click="handleDelete(scope.$index, scope.row)">删除</el-button>
48
-            <el-button
49
-              size="mini"
50
-              type="warning"
51
-              @click="handleAllot(scope.$index, scope.row)">分配权限</el-button>
52
-          </template>
53
-        </el-table-column>
54
-      </el-table>
55
-    </div>
56
-    <el-pagination
57
-      @size-change="handleSizeChange"
58
-      @current-change="handleCurrentChange"
59
-      :current-page.sync="currentPage"
60
-      :page-size="10"
61
-      layout="prev, pager, next, jumper"
62
-      :total="100">
63
-    </el-pagination>
64
-  </div>
65
-</template>
66
-
67
-<script>
68
-import tableSearch from '@/components/tableSearch/index'
69
-
70
-export default {
71
-  name: '',
72
-  data () {
73
-    return {
74
-      currentPage: 0, // 当前页码
75
-      tableSearch: { // 表格搜索条件
76
-        key: '111', // 搜索关键字
77
-      },
78
-      tableData: [{
79
-        customerName: '赵日天222',
80
-        mobile: '13446666666',
81
-        nickName: '赵日地',
82
-        userType: '1',
83
-        recommend: '赵爸爸',
84
-        customerLevel: '10000',
85
-        customerPoint: '200',
86
-        openId: 'jhfjkdshkdfgs22123',
87
-        gold: '2333',
88
-        silver: '3332'
89
-      }, {
90
-        customerName: '赵日天',
91
-        mobile: '13446666666',
92
-        nickName: '赵日地',
93
-        userType: '1',
94
-        recommend: '赵爸爸',
95
-        customerLevel: '10000',
96
-        customerPoint: '200',
97
-        openId: 'jhfjkdshkdfgs22123',
98
-        gold: '2333',
99
-        silver: '3332'
100
-      }, {
101
-        customerName: '赵日天',
102
-        mobile: '13446666666',
103
-        nickName: '赵日地',
104
-        userType: '1',
105
-        recommend: '赵爸爸',
106
-        customerLevel: '10000',
107
-        customerPoint: '200',
108
-        openId: 'jhfjkdshkdfgs22123',
109
-        gold: '2333',
110
-        silver: '3332'
111
-      }, {
112
-        customerName: '赵日天',
113
-        mobile: '13446666666',
114
-        nickName: '赵日地',
115
-        userType: '1',
116
-        recommend: '赵爸爸',
117
-        customerLevel: '10000',
118
-        customerPoint: '200',
119
-        openId: 'jhfjkdshkdfgs22123',
120
-        gold: '2333',
121
-        silver: '3332'
122
-      }, {
123
-        customerName: '赵日天',
124
-        mobile: '13446666666',
125
-        nickName: '赵日地',
126
-        userType: '1',
127
-        recommend: '赵爸爸',
128
-        customerLevel: '10000',
129
-        customerPoint: '200',
130
-        openId: 'jhfjkdshkdfgs22123',
131
-        gold: '2333',
132
-        silver: '3332'
133
-      }]
134
-    }
135
-  },
136
-  components: {
137
-    tableSearch,
138
-  },
139
-  methods: {
140
-    handleSizeChange (val) {
141
-      console.log(`每页 ${val} 条`)
142
-    },
143
-    handleCurrentChange (val) {
144
-      console.log(`当前页: ${val}`)
145
-    },
146
-    handleEdit (index, row) { // 编辑
147
-      console.log(index, row)
148
-    },
149
-    handleAllot (index, row) {
150
-      console.log(index, row) // 分配权限
151
-    },
152
-    handleDelete (index, row) { // 删除
153
-      console.log(index, row)
154
-      this.$confirm('确认删除此用户?', '提示', {
155
-        confirmButtonText: '确定',
156
-        cancelButtonText: '取消',
157
-        type: 'warning'
158
-      }).then(() => {
159
-        this.$message({
160
-          type: 'success',
161
-          message: '删除成功!'
162
-        })
163
-      }).catch(() => {
164
-        this.$message({
165
-          type: 'info',
166
-          message: '已取消删除'
167
-        })
168
-      })
169
-    },
170
-    searchList (key) { // 搜索列表
171
-      console.log(key)
172
-    }
173
-  }
174
-}
175
-</script>
176
-
177
-<!-- Add "scoped" attribute to limit CSS to this component only -->
178
-<style lang="scss" scoped>
179
-</style>

+ 19
- 0
src/pages/system/systemSet/index.vue Dosyayı Görüntüle

@@ -0,0 +1,19 @@
1
+<template>
2
+  <div class="mainPage">
3
+    <router-view></router-view>
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+export default {
9
+  name: '',
10
+  data () {
11
+    return {}
12
+  },
13
+  components: {}
14
+}
15
+</script>
16
+
17
+<!-- Add "scoped" attribute to limit CSS to this component only -->
18
+<style lang="scss" scoped>
19
+</style>