Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
汪晓凯
robot-monitor
Commits
e20a4a98
Commit
e20a4a98
authored
Jul 24, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账户设置页
parent
d0c365e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
account.vue
src/views/account.vue
+11
-5
No files found.
src/views/account.vue
View file @
e20a4a98
...
...
@@ -7,7 +7,7 @@
<el-col
:span=
"21"
>
<el-select
v-model=
"bankId"
placeholder=
"请选择"
>
<el-option
@
change =
'
changeBank
'
@
change =
'
init
'
v-for=
"item in robotBankList"
:key=
"item.account"
:value=
"item.account"
>
...
...
@@ -295,12 +295,9 @@
this
.
coinList
=
[...
new
Set
(
this
.
coinList
)];
})
},
/*更换银行账户*/
changeBank
(
val
)
{
this
.
getWalletInfo
(
val
);
},
/*查询操作记录*/
getRecords
(
page
)
{
this
.
transactionLoading
=
true
;
let
recordParams
=
{
account
:
this
.
bankId
,
page
:
page
||
'1'
,
...
...
@@ -311,9 +308,18 @@
}
axios
.
post
(
ApiConfig
.
Records
,
recordParams
).
then
(
res
=>
{
// console.log(res.data.data)
this
.
transactionLoading
=
false
;
this
.
recordsList
=
res
.
data
.
data
.
list
;
this
.
recordsCount
=
res
.
data
.
data
.
count
;
this
.
recordsCountList
=
res
.
data
.
data
.
total
;
}).
catch
(
error
=>
{
this
.
transactionLoading
=
false
;
this
.
$notify
({
title
:
'错误'
,
message
:
"服务器崩溃啦,请稍后再试"
,
type
:
'error'
,
duration
:
'2000'
,
});
})
},
//点击充币
...
...
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