ytj 6 yıl önce
ebeveyn
işleme
f2da1bf478

+ 0
- 128
src/pages/system/customer/customerInfo/index.vue Dosyayı Görüntüle

@@ -1,128 +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"></div>
6
-        <tableSearch value="请输用户手机号" @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="150">
19
-        </el-table-column>
20
-        <el-table-column
21
-          prop="mobile"
22
-          label="手机号"
23
-          width="120">
24
-        </el-table-column>
25
-        <el-table-column
26
-          prop="nickName"
27
-          label="微信昵称"
28
-          width="150">
29
-        </el-table-column>
30
-        <el-table-column
31
-          prop="userType"
32
-          label="用户类型"
33
-          width="100">
34
-        </el-table-column>
35
-        <el-table-column
36
-          prop="recommend"
37
-          label="推荐人"
38
-          width="100">
39
-        </el-table-column>
40
-        <el-table-column
41
-          prop="customerPoint"
42
-          label="会员积分"
43
-          width="100">
44
-        </el-table-column>
45
-        <el-table-column
46
-          prop="openId"
47
-          label="openId">
48
-        </el-table-column>
49
-        <el-table-column label="创建时间" width="200" prop='cTime'>
50
-
51
-        </el-table-column>
52
-      </el-table>
53
-    </div>
54
-    <el-pagination
55
-      @size-change="handleSizeChange"
56
-      @current-change="handleCurrentChange"
57
-      :current-page.sync="currentPage"
58
-      :page-size="10"
59
-      layout="prev, pager, next, jumper"
60
-      :total="100">
61
-    </el-pagination>
62
-  </div>
63
-</template>
64
-
65
-<script>
66
-import tableSearch from '@/components/tableSearch/index'
67
-
68
-export default {
69
-  name: '',
70
-  data () {
71
-    return {
72
-      currentPage: 0, // 当前页码
73
-      tableSearch: { // 表格搜索条件
74
-        key: '111', // 搜索关键字
75
-      },
76
-      tableData: [{
77
-        customerName: '赵日天',
78
-        mobile: '13446666666',
79
-        nickName: '赵日地',
80
-        userType: '1',
81
-        recommend: '赵爸爸',
82
-        customerPoint: '200',
83
-        openId: 'jhfjkdshkdfgs22123',
84
-        cTime: '2018-08-08 12:00:00'
85
-      }]
86
-    }
87
-  },
88
-  components: {
89
-    tableSearch,
90
-  },
91
-  methods: {
92
-    handleSizeChange (val) {
93
-      console.log(`每页 ${val} 条`)
94
-    },
95
-    handleCurrentChange (val) {
96
-      console.log(`当前页: ${val}`)
97
-    },
98
-    handleEdit (index, row) { // 编辑
99
-      console.log(index, row)
100
-    },
101
-    handleDelete (index, row) { // 删除
102
-      console.log(index, row)
103
-      this.$confirm('确认删除此用户?', '提示', {
104
-        confirmButtonText: '确定',
105
-        cancelButtonText: '取消',
106
-        type: 'warning'
107
-      }).then(() => {
108
-        this.$message({
109
-          type: 'success',
110
-          message: '删除成功!'
111
-        })
112
-      }).catch(() => {
113
-        this.$message({
114
-          type: 'info',
115
-          message: '已取消删除'
116
-        })
117
-      })
118
-    },
119
-    searchList (key) { // 搜索列表
120
-      console.log(key)
121
-    }
122
-  }
123
-}
124
-</script>
125
-
126
-<!-- Add "scoped" attribute to limit CSS to this component only -->
127
-<style lang="scss" scoped>
128
-</style>

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

@@ -1,19 +0,0 @@
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
- 7
src/pages/system/index.vue Dosyayı Görüntüle

@@ -136,13 +136,6 @@ export default {
136 136
           children: [],
137 137
         }],
138 138
       }, {
139
-        title: '前台用户',
140
-        pathName: '',
141
-        children: [{
142
-          title: '前台用户信息',
143
-          pathName: 'customerInfo',
144
-          }],
145
-      },{
146 139
         title: '数据统计',
147 140
         pathName: '',
148 141
         children: [{

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

@@ -28,8 +28,6 @@ import courseManger from './courseManger/index' // 课程管理
28 28
 import fiveA from './courseManger/fiveA/index' // 全龄生活5A
29 29
 import courseTag from './courseManger/courseTag/index' // 课程标签
30 30
 
31
-import customer from './customer/index' // 前台用户
32
-import customerInfo from './customer/customerInfo/index' // 前台用户信息
33 31
 import dataStatistics from './dataStatistics/index' // 数据统计
34 32
 import frontEndUserList from './dataStatistics/frontEndUserList/index' // 课程管理
35 33
 
@@ -144,14 +142,6 @@ export default {
144 142
           component: courseTag,
145 143
           children: []
146 144
         }],
147
-      }, { // 前台用户
148
-        path: 'customer',
149
-        name: 'customer',
150
-        component: customer,
151
-        children: [{ // 前台用户信息
152
-          path: 'customerInfo',
153
-          name: 'customerInfo',
154
-          component: customerInfo,
155 145
       }, { // 数据统计
156 146
         path: 'dataStatistics',
157 147
         name: 'dataStatistics',
@@ -161,8 +151,8 @@ export default {
161 151
           name: 'frontEndUserList',
162 152
           component: frontEndUserList,
163 153
           children: []
164
-        }],
165
-      }],
154
+        }]
155
+      }]
166 156
     },
167 157
   ],
168 158
 }