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
03cc210b
Commit
03cc210b
authored
Aug 02, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增币种充提统计页
parent
1c4a69e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
33 deletions
+46
-33
navLeft.vue
src/components/navLeft.vue
+9
-6
api-config.js
src/config/api-config.js
+2
-0
index.js
src/router/index.js
+29
-26
RobotDetails.vue
src/views/RobotDetails.vue
+3
-0
account.vue
src/views/account.vue
+2
-0
coinRecharge.vue
src/views/coinRecharge.vue
+0
-0
overview.vue
src/views/overview.vue
+1
-1
No files found.
src/components/navLeft.vue
View file @
03cc210b
...
...
@@ -17,9 +17,12 @@
<el-menu-item
index=
"BTY"
>
BTY
</el-menu-item>
<el-menu-item
index=
"YCC"
>
YCC
</el-menu-item>
</el-submenu>
<el-menu-item
index=
"account"
>
<el-menu-item
index=
"
/monitor/
account"
>
<span
slot=
"title"
>
银行账户
</span>
</el-menu-item>
<el-menu-item
index=
"/monitor/coinRecharge"
>
<span
slot=
"title"
>
币种充提统计
</span>
</el-menu-item>
</el-menu>
</div>
</template>
...
...
@@ -34,22 +37,22 @@
}
},
created
()
{
this
.
active
=
this
.
$route
.
params
.
name
||
'account'
;
this
.
active
=
this
.
$route
.
params
.
name
||
this
.
$route
.
path
;
},
methods
:
{
navClick
(
index
)
{
this
.
active
=
index
;
if
(
index
!=
'
account
'
){
if
(
index
!=
'
/monitor/account'
&&
index
!=
'/monitor/coinRecharge
'
){
this
.
$router
.
push
(
`/monitor/
${
index
}
`
);
Bus
.
$emit
(
'refresh'
);
}
else
{
this
.
$router
.
push
(
'/monitor/account'
);
}
else
{
this
.
$router
.
push
(
index
);
}
}
},
watch
:
{
$route
()
{
this
.
active
=
this
.
$route
.
params
.
name
||
'account'
;
this
.
active
=
this
.
$route
.
params
.
name
||
this
.
$route
.
path
;
},
},
}
...
...
src/config/api-config.js
View file @
03cc210b
...
...
@@ -15,6 +15,8 @@ const Api = {
Records
:
originUrl
+
"/records"
,
//充提记录
Ticket
:
originUrl
+
'/ticket'
,
//查询交易对行情
Excle
:
originUrl
+
'/recordsExcle'
,
//导出充提记录
GetCountCoin
:
originUrl
+
'/countCoin'
,
//币种充提统计查询
countCoinExcle
:
originUrl
+
'/countCoinExcle'
,
//币种充提统计导出
}
export
default
Api
;
src/router/index.js
View file @
03cc210b
...
...
@@ -24,37 +24,40 @@ export default new Router({
children
:
[
{
path
:
'/monitor/account'
,
component
:
function
(
resolve
){
require
([
'../views/account.vue'
],
resolve
);
},
path
:
'/monitor/account'
,
component
:
function
(
resolve
){
require
([
'../views/account.vue'
],
resolve
);
},
{
path
:
"/monitor/:name"
,
component
:
function
(
resolve
){
require
([
'../views/RobotContainer.vue'
],
resolve
);
},
children
:
[
{
path
:
'/'
,
component
:
function
(
resolve
){
require
([
'../views/overview.vue'
],
resolve
);
},
},{
path
:
'/monitor/coinRecharge'
,
component
:
function
(
resolve
){
require
([
'../views/coinRecharge.vue'
],
resolve
);
},
},{
path
:
"/monitor/:name"
,
component
:
function
(
resolve
){
require
([
'../views/RobotContainer.vue'
],
resolve
);
},
children
:
[
{
path
:
'/'
,
component
:
function
(
resolve
){
require
([
'../views/overview.vue'
],
resolve
);
},
{
path
:
'RobotDetail'
,
component
:
function
(
resolve
){
require
([
'../views/RobotDetails.vue'
],
resolve
);
},
},
{
path
:
'RobotDetail'
,
component
:
function
(
resolve
){
require
([
'../views/RobotDetails.vue'
],
resolve
);
},
]
},
{
path
:
'account'
,
redirect
:
'/monitor/account'
,
}
]
}
]
},
{
path
:
'*'
,
redirect
:
'/monitor/account'
,
}
]
})
src/views/RobotDetails.vue
View file @
03cc210b
...
...
@@ -793,9 +793,11 @@
//交易记录分页
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
;
this
.
currentPage
=
1
;
this
.
getTransaction
();
},
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
getTransaction
({
page
:
val
+
''
});
},
/*充提记录筛选*/
...
...
@@ -839,6 +841,7 @@
//分页
handleSizeChange1
(
val
)
{
this
.
pageSize1
=
val
;
this
.
currentPage1
=
1
;
this
.
getRecords
();
},
handleCurrentChange1
(
val
)
{
...
...
src/views/account.vue
View file @
03cc210b
...
...
@@ -431,9 +431,11 @@
//分页
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
;
this
.
currentPage
=
1
;
this
.
getRecords
();
},
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
getRecords
(
val
+
''
);
},
},
...
...
src/views/coinRecharge.vue
0 → 100644
View file @
03cc210b
This diff is collapsed.
Click to expand it.
src/views/overview.vue
View file @
03cc210b
...
...
@@ -742,7 +742,7 @@
/*select组件样式覆盖*/
.overview
{
.select-bar-content
{
padding
:
2px
0
0
65px
;
/*padding: 2px 0 0 65px;*/
.
el-checkbox-button
:
last-child
.
el-checkbox-button__inner
,
.
el-checkbox-button
:
first-child
.
el-checkbox-button__inner
{
border-radius
:
3px
;
}
...
...
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