许成详 6 лет назад
Родитель
Сommit
c4202bcaed

+ 0
- 8
src/pages/system/index.vue Просмотреть файл

@@ -62,14 +62,6 @@ export default {
62 62
           title: '角色管理',
63 63
           pathName: 'characterManger',
64 64
           children: [],
65
-        }, {
66
-          title: '权限管理',
67
-          pathName: 'permissionManger',
68
-          children: [],
69
-        }, {
70
-          title: '字典管理',
71
-          pathName: 'dictManger',
72
-          children: [],
73 65
         }],
74 66
       }, {
75 67
         title: '案场管理',

+ 0
- 12
src/pages/system/page.js Просмотреть файл

@@ -17,8 +17,6 @@ import courseTag from './courseManger/courseTag/index' // 课程标签
17 17
 import systemSet from './systemSet/index' // 系统设置
18 18
 import userManger from './systemSet/userManger/index' // 用户管理
19 19
 import characterManger from './systemSet/characterManger/index' // 角色管理
20
-import permissionManger from './systemSet/permissionManger/index' // 权限管理
21
-import dictManger from './systemSet/dictManger/index' // 字典管理
22 20
 
23 21
 export default {
24 22
   router: [
@@ -40,16 +38,6 @@ export default {
40 38
           name: 'characterManger',
41 39
           component: characterManger,
42 40
           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 41
         }],
54 42
       }, { // 案场管理
55 43
         path: 'caseManger',

+ 0
- 138
src/pages/system/systemSet/dictManger/index.vue Просмотреть файл

@@ -1,138 +0,0 @@
1
-<template>
2
-  <div class="subPage">
3
-    <div class="system-table-search">
4
-      <div class="flex-h">
5
-        <div class="flex-item flex-h">
6
-          <el-button size="mini" type="success">新增渠道</el-button>
7
-        </div>
8
-        <ul>
9
-          <li>
10
-            <span>选择案场:</span>
11
-            <el-select v-model="tableSearch.caseId" placeholder="请选择">
12
-              <el-option
13
-                v-for="item in caseList"
14
-                :key="item.value"
15
-                :label="item.label"
16
-                :value="item.value">
17
-              </el-option>
18
-            </el-select>
19
-          </li>
20
-        </ul>
21
-        <tableSearch @exportSearchKey="searchList"></tableSearch>
22
-      </div>
23
-      <div class="moreFilter"></div>
24
-    </div>
25
-    <div class="system-table-box">
26
-      <el-table
27
-        :data="tableData"
28
-        stripe
29
-        style="width: 100%">
30
-        <el-table-column
31
-          prop="channelName"
32
-          label="渠道名">
33
-        </el-table-column>
34
-        <el-table-column
35
-          prop="channelCode"
36
-          label="渠道code">
37
-        </el-table-column>
38
-        <el-table-column label="操作">
39
-          <template slot-scope="scope">
40
-            <el-button
41
-              size="mini"
42
-              @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
43
-            <el-button
44
-              size="mini"
45
-              type="danger"
46
-              @click="handleDelete(scope.$index, scope.row)">删除</el-button>
47
-          </template>
48
-        </el-table-column>
49
-      </el-table>
50
-    </div>
51
-    <el-pagination
52
-      @size-change="handleSizeChange"
53
-      @current-change="handleCurrentChange"
54
-      :current-page.sync="currentPage"
55
-      :page-size="10"
56
-      layout="prev, pager, next, jumper"
57
-      :total="100">
58
-    </el-pagination>
59
-  </div>
60
-</template>
61
-
62
-<script>
63
-import tableSearch from '@/components/tableSearch/index'
64
-import { createNamespacedHelpers } from 'vuex'
65
-
66
-const { mapState: mapCaseState } = createNamespacedHelpers('case')
67
-
68
-export default {
69
-  name: '',
70
-  data () {
71
-    return {
72
-      currentPage: 0, // 当前页码
73
-      tableSearch: { // 表格搜索条件
74
-        key: '', // 搜索关键字
75
-        caseId: '', // 案场id
76
-      },
77
-      tableData: [{
78
-        channelName: 'xxx',
79
-        channelCode: 'xxx'
80
-      }, {
81
-        channelName: 'xxx',
82
-        channelCode: 'xxx'
83
-      }, {
84
-        channelName: 'xxx',
85
-        channelCode: 'xxx'
86
-      }, {
87
-        channelName: 'xxx',
88
-        channelCode: 'xxx'
89
-      }]
90
-    }
91
-  },
92
-  computed: {
93
-    ...mapCaseState({
94
-      caseList: x => x.caseList,
95
-    })
96
-  },
97
-  components: {
98
-    tableSearch,
99
-  },
100
-  methods: {
101
-    handleSizeChange (val) {
102
-      console.log(`每页 ${val} 条`)
103
-    },
104
-    handleCurrentChange (val) {
105
-      console.log(`当前页: ${val}`)
106
-    },
107
-    handleEdit (index, row) { // 编辑
108
-      console.log(index, row)
109
-    },
110
-    handleDelete (index, row) { // 删除
111
-      console.log(index, row)
112
-      this.$confirm('确认删除此渠道?', '提示', {
113
-        confirmButtonText: '确定',
114
-        cancelButtonText: '取消',
115
-        type: 'warning'
116
-      }).then(() => {
117
-        this.$message({
118
-          type: 'success',
119
-          message: '删除成功!'
120
-        })
121
-      }).catch(() => {
122
-        this.$message({
123
-          type: 'info',
124
-          message: '已取消删除'
125
-        })
126
-      })
127
-    },
128
-    searchList (key) { // 搜索列表
129
-      console.log(key)
130
-    }
131
-  }
132
-}
133
-</script>
134
-
135
-<!-- Add "scoped" attribute to limit CSS to this component only -->
136
-<style lang="scss" scoped>
137
-@import "page.scss";
138
-</style>

+ 0
- 36
src/pages/system/systemSet/dictManger/page.scss Просмотреть файл

@@ -1,36 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-

+ 0
- 138
src/pages/system/systemSet/permissionManger/index.vue Просмотреть файл

@@ -1,138 +0,0 @@
1
-<template>
2
-  <div class="subPage">
3
-    <div class="system-table-search">
4
-      <div class="flex-h">
5
-        <div class="flex-item flex-h">
6
-          <el-button size="mini" type="success">新增渠道</el-button>
7
-        </div>
8
-        <ul>
9
-          <li>
10
-            <span>选择案场:</span>
11
-            <el-select v-model="tableSearch.caseId" placeholder="请选择">
12
-              <el-option
13
-                v-for="item in caseList"
14
-                :key="item.value"
15
-                :label="item.label"
16
-                :value="item.value">
17
-              </el-option>
18
-            </el-select>
19
-          </li>
20
-        </ul>
21
-        <tableSearch @exportSearchKey="searchList"></tableSearch>
22
-      </div>
23
-      <div class="moreFilter"></div>
24
-    </div>
25
-    <div class="system-table-box">
26
-      <el-table
27
-        :data="tableData"
28
-        stripe
29
-        style="width: 100%">
30
-        <el-table-column
31
-          prop="channelName"
32
-          label="渠道名">
33
-        </el-table-column>
34
-        <el-table-column
35
-          prop="channelCode"
36
-          label="渠道code">
37
-        </el-table-column>
38
-        <el-table-column label="操作">
39
-          <template slot-scope="scope">
40
-            <el-button
41
-              size="mini"
42
-              @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
43
-            <el-button
44
-              size="mini"
45
-              type="danger"
46
-              @click="handleDelete(scope.$index, scope.row)">删除</el-button>
47
-          </template>
48
-        </el-table-column>
49
-      </el-table>
50
-    </div>
51
-    <el-pagination
52
-      @size-change="handleSizeChange"
53
-      @current-change="handleCurrentChange"
54
-      :current-page.sync="currentPage"
55
-      :page-size="10"
56
-      layout="prev, pager, next, jumper"
57
-      :total="100">
58
-    </el-pagination>
59
-  </div>
60
-</template>
61
-
62
-<script>
63
-import tableSearch from '@/components/tableSearch/index'
64
-import { createNamespacedHelpers } from 'vuex'
65
-
66
-const { mapState: mapCaseState } = createNamespacedHelpers('case')
67
-
68
-export default {
69
-  name: '',
70
-  data () {
71
-    return {
72
-      currentPage: 0, // 当前页码
73
-      tableSearch: { // 表格搜索条件
74
-        key: '', // 搜索关键字
75
-        caseId: '', // 案场id
76
-      },
77
-      tableData: [{
78
-        channelName: 'xxx',
79
-        channelCode: 'xxx'
80
-      }, {
81
-        channelName: 'xxx',
82
-        channelCode: 'xxx'
83
-      }, {
84
-        channelName: 'xxx',
85
-        channelCode: 'xxx'
86
-      }, {
87
-        channelName: 'xxx',
88
-        channelCode: 'xxx'
89
-      }]
90
-    }
91
-  },
92
-  computed: {
93
-    ...mapCaseState({
94
-      caseList: x => x.caseList,
95
-    })
96
-  },
97
-  components: {
98
-    tableSearch,
99
-  },
100
-  methods: {
101
-    handleSizeChange (val) {
102
-      console.log(`每页 ${val} 条`)
103
-    },
104
-    handleCurrentChange (val) {
105
-      console.log(`当前页: ${val}`)
106
-    },
107
-    handleEdit (index, row) { // 编辑
108
-      console.log(index, row)
109
-    },
110
-    handleDelete (index, row) { // 删除
111
-      console.log(index, row)
112
-      this.$confirm('确认删除此渠道?', '提示', {
113
-        confirmButtonText: '确定',
114
-        cancelButtonText: '取消',
115
-        type: 'warning'
116
-      }).then(() => {
117
-        this.$message({
118
-          type: 'success',
119
-          message: '删除成功!'
120
-        })
121
-      }).catch(() => {
122
-        this.$message({
123
-          type: 'info',
124
-          message: '已取消删除'
125
-        })
126
-      })
127
-    },
128
-    searchList (key) { // 搜索列表
129
-      console.log(key)
130
-    }
131
-  }
132
-}
133
-</script>
134
-
135
-<!-- Add "scoped" attribute to limit CSS to this component only -->
136
-<style lang="scss" scoped>
137
-@import "page.scss";
138
-</style>

+ 0
- 36
src/pages/system/systemSet/permissionManger/page.scss Просмотреть файл

@@ -1,36 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-