|
@@ -2,8 +2,10 @@
|
2
|
2
|
<div class="subPage">
|
3
|
3
|
<div class="system-table-search">
|
4
|
4
|
<div class="flex-h">
|
5
|
|
- <div class="flex-item flex-h"></div>
|
6
|
|
- <tableSearch @exportSearchKey="searchList"></tableSearch>
|
|
5
|
+ <div class="flex-item flex-h">
|
|
6
|
+ <el-button size="mini" type="success">新增用户</el-button>
|
|
7
|
+ </div>
|
|
8
|
+ <tableSearch value='请输入用户名' @exportSearchKey="searchList"></tableSearch>
|
7
|
9
|
</div>
|
8
|
10
|
<div class="moreFilter"></div>
|
9
|
11
|
</div>
|
|
@@ -13,40 +15,47 @@
|
13
|
15
|
stripe
|
14
|
16
|
style="width: 100%">
|
15
|
17
|
<el-table-column
|
16
|
|
- prop="customerName"
|
17
|
|
- label="姓名"
|
|
18
|
+ fixed
|
|
19
|
+ prop="userName"
|
|
20
|
+ label="用户名"
|
18
|
21
|
width="150">
|
19
|
22
|
</el-table-column>
|
20
|
23
|
<el-table-column
|
21
|
|
- prop="mobile"
|
22
|
|
- label="手机号"
|
|
24
|
+ prop="realName"
|
|
25
|
+ label="真实姓名"
|
23
|
26
|
width="120">
|
24
|
27
|
</el-table-column>
|
25
|
28
|
<el-table-column
|
26
|
|
- prop="nickName"
|
27
|
|
- label="微信昵称"
|
|
29
|
+ prop="email"
|
|
30
|
+ label="邮箱"
|
28
|
31
|
width="150">
|
29
|
32
|
</el-table-column>
|
30
|
33
|
<el-table-column
|
31
|
|
- prop="userType"
|
32
|
|
- label="用户类型"
|
|
34
|
+ prop="workNum"
|
|
35
|
+ label="工号"
|
|
36
|
+ width="200">
|
|
37
|
+ </el-table-column>
|
|
38
|
+ <el-table-column
|
|
39
|
+ prop="mobile"
|
|
40
|
+ label="手机号"
|
33
|
41
|
width="100">
|
34
|
42
|
</el-table-column>
|
35
|
43
|
<el-table-column
|
36
|
|
- prop="recommend"
|
37
|
|
- label="推荐人"
|
|
44
|
+ prop="userType"
|
|
45
|
+ label="用户类型"
|
38
|
46
|
width="100">
|
39
|
47
|
</el-table-column>
|
40
|
48
|
<el-table-column
|
41
|
|
- prop="customerPoint"
|
42
|
|
- label="会员积分"
|
|
49
|
+ prop="lock"
|
|
50
|
+ label="是否锁定"
|
43
|
51
|
width="100">
|
44
|
52
|
</el-table-column>
|
45
|
53
|
<el-table-column
|
46
|
|
- prop="openId"
|
47
|
|
- label="openId">
|
|
54
|
+ prop="creatTime"
|
|
55
|
+ label="创建时间"
|
|
56
|
+ width="200">
|
48
|
57
|
</el-table-column>
|
49
|
|
- <el-table-column label="操作" width="200">
|
|
58
|
+ <el-table-column label="操作" fixed='right' width="300">
|
50
|
59
|
<template slot-scope="scope">
|
51
|
60
|
<el-button
|
52
|
61
|
size="mini"
|
|
@@ -56,6 +65,10 @@
|
56
|
65
|
size="mini"
|
57
|
66
|
type="danger"
|
58
|
67
|
@click="handleDelete(scope.$index, scope.row)">删除</el-button>
|
|
68
|
+ <el-button
|
|
69
|
+ size="mini"
|
|
70
|
+ type="success"
|
|
71
|
+ @click="handleDelete(scope.$index, scope.row)">绑定角色</el-button>
|
59
|
72
|
</template>
|
60
|
73
|
</el-table-column>
|
61
|
74
|
</el-table>
|
|
@@ -83,71 +96,14 @@ export default {
|
83
|
96
|
key: '111', // 搜索关键字
|
84
|
97
|
},
|
85
|
98
|
tableData: [{
|
86
|
|
- customerName: '赵日天',
|
87
|
|
- mobile: '13446666666',
|
88
|
|
- nickName: '赵日地',
|
89
|
|
- userType: '1',
|
90
|
|
- recommend: '赵爸爸',
|
91
|
|
- customerLevel: '10000',
|
92
|
|
- customerPoint: '200',
|
93
|
|
- openId: 'jhfjkdshkdfgs22123',
|
94
|
|
- gold: '2333',
|
95
|
|
- silver: '3332'
|
96
|
|
- }, {
|
97
|
|
- customerName: '赵日天',
|
98
|
|
- mobile: '13446666666',
|
99
|
|
- nickName: '赵日地',
|
100
|
|
- userType: '1',
|
101
|
|
- recommend: '赵爸爸',
|
102
|
|
- customerLevel: '10000',
|
103
|
|
- customerPoint: '200',
|
104
|
|
- openId: 'jhfjkdshkdfgs22123',
|
105
|
|
- gold: '2333',
|
106
|
|
- silver: '3332'
|
107
|
|
- }, {
|
108
|
|
- customerName: '赵日天',
|
109
|
|
- mobile: '13446666666',
|
110
|
|
- nickName: '赵日地',
|
111
|
|
- userType: '1',
|
112
|
|
- recommend: '赵爸爸',
|
113
|
|
- customerLevel: '10000',
|
114
|
|
- customerPoint: '200',
|
115
|
|
- openId: 'jhfjkdshkdfgs22123',
|
116
|
|
- gold: '2333',
|
117
|
|
- silver: '3332'
|
118
|
|
- }, {
|
119
|
|
- customerName: '赵日天',
|
120
|
|
- mobile: '13446666666',
|
121
|
|
- nickName: '赵日地',
|
122
|
|
- userType: '1',
|
123
|
|
- recommend: '赵爸爸',
|
124
|
|
- customerLevel: '10000',
|
125
|
|
- customerPoint: '200',
|
126
|
|
- openId: 'jhfjkdshkdfgs22123',
|
127
|
|
- gold: '2333',
|
128
|
|
- silver: '3332'
|
129
|
|
- }, {
|
130
|
|
- customerName: '赵日天',
|
131
|
|
- mobile: '13446666666',
|
132
|
|
- nickName: '赵日地',
|
133
|
|
- userType: '1',
|
134
|
|
- recommend: '赵爸爸',
|
135
|
|
- customerLevel: '10000',
|
136
|
|
- customerPoint: '200',
|
137
|
|
- openId: 'jhfjkdshkdfgs22123',
|
138
|
|
- gold: '2333',
|
139
|
|
- silver: '3332'
|
140
|
|
- }, {
|
141
|
|
- customerName: '赵日天',
|
142
|
|
- mobile: '13446666666',
|
143
|
|
- nickName: '赵日地',
|
|
99
|
+ userName: '赵日天',
|
|
100
|
+ realName: '13446666666',
|
|
101
|
+ email: '赵日地',
|
|
102
|
+ workNum: '赵爸爸',
|
|
103
|
+ mobile: '1376975175',
|
144
|
104
|
userType: '1',
|
145
|
|
- recommend: '赵爸爸',
|
146
|
|
- customerLevel: '10000',
|
147
|
|
- customerPoint: '200',
|
148
|
|
- openId: 'jhfjkdshkdfgs22123',
|
149
|
|
- gold: '2333',
|
150
|
|
- silver: '3332'
|
|
105
|
+ lock: true,
|
|
106
|
+ creatTime: '2018-08-08 10:00:00'
|
151
|
107
|
}]
|
152
|
108
|
}
|
153
|
109
|
},
|
|
@@ -191,5 +147,5 @@ export default {
|
191
|
147
|
|
192
|
148
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
193
|
149
|
<style lang="scss" scoped>
|
194
|
|
-@import "page.scss"
|
|
150
|
+@import "page.scss";
|
195
|
151
|
</style>
|