Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
04add61b
Commit
04add61b
authored
Oct 22, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表
parent
60340656
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
userList.vue
src/components/class/userList.vue
+8
-2
index.vue
src/components/userDetail/index.vue
+1
-1
No files found.
src/components/class/userList.vue
View file @
04add61b
...
...
@@ -14,6 +14,12 @@
<img
:src=
"scope.row.avatar"
style=
"margin-right:5px;width: 50px;height: 50px;border-radius: 50px"
>
{{
scope
.
row
.
nickname
}}
(ID:
{{
scope
.
row
.
user_id
}}
)
</
template
>
</el-table-column>
<el-table-column
label=
"手机号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
mobile
}}
</
template
>
</el-table-column>
<el-table-column
label=
"是否购买"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -72,7 +78,7 @@
{{
scope
.
row
.
is_continue_buy
|
isOrNot
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"3
0
0"
>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"3
6
0"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editComment(scope.row.id, scope.row.desc)"
v-if=
"!$store.state.readonly"
>
编辑备注
</el-button>
<el-button
type=
"warning"
size=
"mini"
@
click=
"changeUser(scope.row)"
v-if=
"!$store.state.readonly"
>
看课权限
</el-button>
...
...
@@ -209,7 +215,7 @@
addShow
:
false
,
userList
:
[],
nowPage
:
1
,
limit
:
5
,
limit
:
5
00
,
total
:
0
,
searchFrom
:
{
userId
:
''
,
...
...
src/components/userDetail/index.vue
View file @
04add61b
...
...
@@ -12,7 +12,7 @@
<a
:href=
"detail.qr"
>
<img
class=
"avatar"
:src=
"detail.avatar"
/>
</a>
{{
detail
.
nickname
}}
{{
detail
.
nickname
}}
(ID:
{{
id
}}
)
</el-col>
<el-col
:span=
"6"
>
<label>
手机号:
</label>
{{
detail
.
mobile
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment