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
3854da04
Commit
3854da04
authored
Jul 26, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
银行账户增加单号
parent
8b10c4bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
dist.zip
dist.zip
+0
-0
navLeft.vue
src/components/navLeft.vue
+1
-2
preHeader.vue
src/components/preHeader.vue
+5
-1
account.vue
src/views/account.vue
+10
-6
No files found.
dist.zip
deleted
100644 → 0
View file @
8b10c4bf
File deleted
src/components/navLeft.vue
View file @
3854da04
...
...
@@ -38,8 +38,6 @@
},
methods
:
{
navClick
(
index
)
{
this
.
active
=
index
;
Bus
.
$emit
(
'refresh'
);
if
(
this
.
active
!=
'account'
){
this
.
$router
.
push
(
`/monitor/
${
index
}
`
)
}
else
{
...
...
@@ -49,6 +47,7 @@
},
watch
:
{
$route
()
{
Bus
.
$emit
(
'refresh'
);
this
.
active
=
this
.
$route
.
params
.
name
||
'account'
;
}
}
...
...
src/components/preHeader.vue
View file @
3854da04
<
template
>
<div
class=
"header"
>
<span
class=
"title"
>
机器人监控
</span>
<router-link
:to=
"
{path: '/monitor/home'}">
<span
class=
"title"
>
机器人监控
</span>
</router-link>
<div
class=
"contain"
>
<span
class=
"username"
>
{{
username
}}
</span>
<span
class=
"loginout"
@
click=
"exitLogin"
>
退出
</span>
...
...
@@ -9,6 +11,7 @@
</
template
>
<
script
>
import
Bus
from
'../assets/js/bus'
export
default
{
data
(){
return
{
...
...
@@ -46,6 +49,7 @@
box-shadow
:
0px
2px
10px
6px
rgba
(
237
,
237
,
237
,
0.5
);
color
:
rgba
(
255
,
255
,
255
,
1
);
.title{
color
:
#fff
;
font-size
:
24px
;
}
.contain
{
...
...
src/views/account.vue
View file @
3854da04
...
...
@@ -28,6 +28,13 @@
stripe
style=
"width: 100%"
>
<el-table-column
width=
"100"
label=
"币种代号"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
coin_id
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"币种"
width=
"180"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -42,12 +49,6 @@
</
template
>
</el-table-column>
<el-table-column
label=
"冻结资产"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
frozen
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"总资产"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
amount
}}
</span>
...
...
@@ -295,6 +296,9 @@
axios
.
post
(
ApiConfig
.
GetWalletInfo
,{
account
:
params
}).
then
(
res
=>
{
// console.log(res.data.data);
this
.
walletInfo
=
res
.
data
.
data
;
this
.
walletInfo
.
sort
((
a
,
b
)
=>
{
return
a
.
coin_id
-
b
.
coin_id
})
this
.
walletInfo
.
forEach
(
item
=>
{
this
.
coinList
.
push
(
item
.
coin
);
})
...
...
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