Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
999cdedd
Commit
999cdedd
authored
Nov 15, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表详情
parent
19e012f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
+23
-9
index.vue
src/views/userManagement/userList/index.vue
+23
-9
No files found.
src/views/userManagement/userList/index.vue
View file @
999cdedd
...
...
@@ -226,17 +226,17 @@
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"注册终端:"
>
<span>
{{userDetails.channel}}
</span>
<span>
{{userDetails.channel
== 1 ? 'app' : '小程序'
}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"注册时间:"
>
<span>
{{
userDetails.createTime
}}
</span>
<span>
{{
!!userDetails.createTime ? timestamp(new Date(userDetails.createTime*1000)) : ''
}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"9"
>
<el-form-item
label=
"最近登录时间:"
>
<span>
{{
userDetails.lastTime
}}
</span>
<span>
{{
!!userDetails.lastTime ? timestamp(new Date(userDetails.lastTime)): ''
}}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -261,7 +261,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"性别: "
>
<span>
{{userDetails.sex}}
</span>
<span>
{{userDetails.sex
== 1 ? '女' : '男'
}}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -276,17 +276,17 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"有效期:"
>
<span>
{{userDetails.validTime}}
</span>
<span>
{{userDetails.validTime
== '0' ? '永久' : '无'
}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"充值次数:"
>
<span>
{{
userDetails.buyCount}}次
</span>
<span>
{{
!!userDetails.buyCount ? userDetails.buyCount+'次' : ''}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"加入时间:"
>
<span>
{{userDetails.timeOfMembership
}}
</span>
<span>
{{!!userDetails.timeOfMembership ? timestamp(new Date(userDetails.timeOfMembership)) :''
}}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -314,7 +314,7 @@
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"来源:"
>
<span>
{{userDetails.source}}
</span>
<span>
{{userDetails.source
== 0 ? '自来' : '用户邀请'
}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -905,6 +905,21 @@
this
.
setPop
=
true
;
this
.
activeId
=
val
.
userId
;
},
//时间戳转换
timestamp
(
now
)
{
var
year
=
now
.
getFullYear
();
var
month
=
now
.
getMonth
()
+
1
;
var
date
=
now
.
getDate
();
var
Hours
=
now
.
getHours
();
var
Minutes
=
now
.
getMinutes
();
var
Seconds
=
now
.
getSeconds
();
month
=
month
.
toString
().
length
==
1
?
'0'
+
month
:
month
;
date
=
date
.
toString
().
length
==
1
?
'0'
+
date
:
date
;
Hours
=
Hours
.
toString
().
length
==
1
?
'0'
+
Hours
:
Hours
;
Minutes
=
Minutes
.
toString
().
length
==
1
?
'0'
+
Minutes
:
Minutes
;
Seconds
=
Seconds
.
toString
().
length
==
1
?
'0'
+
Seconds
:
Seconds
;
return
year
+
"-"
+
month
+
"-"
+
date
+
' '
+
Hours
+
':'
+
Minutes
+
":"
+
Seconds
},
//设置上级
setHeighterBtn
(){
if
(
!!
this
.
phone
)
{
...
...
@@ -1152,7 +1167,6 @@
this
.
detailsDialogFormVisible
=
true
this
.
getBoolean
(
this
.
userDetails
.
certificationStatus
)
})
}
,
/**
...
...
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