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
c5fd20ac
Commit
c5fd20ac
authored
Jul 29, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户列表
parent
94ae4dad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
memberEnter.vue
src/views/userManagement/memberEnter.vue
+1
-1
index.vue
src/views/userManagement/userList/index.vue
+9
-8
No files found.
src/views/userManagement/memberEnter.vue
View file @
c5fd20ac
...
...
@@ -38,7 +38,7 @@
</el-button>
</div>
<el-table
:key=
'tableKey'
:data=
"list"
v-loading
.
body=
"listLoading"
border
fit
highlight-current-row
style=
"width: 1
212px
;"
>
style=
"width: 1
00%
;"
>
<el-table-column
width=
"150"
align=
"center"
label=
"手机号"
>
<template
scope=
"scope"
>
<span>
{{
scope
.
row
.
username
}}
</span>
...
...
src/views/userManagement/userList/index.vue
View file @
c5fd20ac
...
...
@@ -643,8 +643,8 @@
},
sexObj
:{
0
:
'女'
,
1
:
'男'
1
:
'女'
,
2
:
'男'
},
source
:
{
0
:
'自来'
,
...
...
@@ -785,14 +785,14 @@
let
query
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
listQuery
))
query
.
source
=
query
.
source
?
query
.
source
-
1
:
''
console
.
log
(
'handleFilterStatus:this.listQuery='
+
JSON
.
stringify
(
this
.
listQuery
))
//
console.log('handleFilterStatus:this.listQuery=' + JSON.stringify(this.listQuery))
query
.
registrationTimeBegin
=
this
.
listQuery
.
registrationTimeBegin
?(
new
Date
(
query
.
registrationTimeBegin
).
getTime
())
/
1000
:
undefined
query
.
registrationTimeEnd
=
this
.
listQuery
.
registrationTimeEnd
?
(
new
Date
(
query
.
registrationTimeEnd
).
getTime
())
/
1000
:
undefined
console
.
log
(
'handleFilterEnd:this.listQuery='
+
JSON
.
stringify
(
this
.
listQuery
))
console
.
log
(
'query================'
+
JSON
.
stringify
(
query
))
//
//
console.log('handleFilterEnd:this.listQuery=' + JSON.stringify(this.listQuery))
//
console.log('query================' + JSON.stringify(query))
appPage
(
query
)
.
then
(
response
=>
{
for
(
let
listKey
of
response
.
data
.
list
)
{
...
...
@@ -817,7 +817,8 @@
listKey
.
source
=
this
.
source
[
listKey
.
source
];
listKey
.
validTime
=
listKey
.
validTime
?
((
listKey
.
validTime
==
0
)
?
'永久'
:
listKey
.
validTime
)
:
'无'
;
listKey
.
visible2
=
false
listKey
.
sex
=
listKey
.
sex
?
this
.
sexObj
[
listKey
.
sex
]:
''
listKey
.
sex
=
(
listKey
.
sex
+
1
)?
this
.
sexObj
[(
listKey
.
sex
+
1
)]:
''
},
/**
...
...
@@ -907,7 +908,7 @@
}
this
.
userMembershipInformation
.
userId
=
this
.
saveUserId
this
.
userMembershipInformation
.
buyCount
=
undefined
;
console
.
log
(
'userMembershipInformation:'
+
JSON
.
stringify
(
this
.
userMembershipInformation
))
//
console.log('userMembershipInformation:' + JSON.stringify(this.userMembershipInformation))
seveObj
(
this
.
userMembershipInformation
).
then
(
res
=>
{
if
(
res
.
rel
)
{
this
.
$notify
.
success
({
...
...
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