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
df998225
Commit
df998225
authored
Jul 18, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账户信息添加标准和占比,交易记录/充提记录位置互换
parent
06d8d283
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
75 deletions
+91
-75
RobotDetails.vue
src/views/RobotDetails.vue
+91
-75
No files found.
src/views/RobotDetails.vue
View file @
df998225
...
@@ -86,6 +86,14 @@
...
@@ -86,6 +86,14 @@
<span
class=
"type-name"
>
总量
</span>
<span
class=
"type-name"
>
总量
</span>
<span>
{{
coinInfo
.
amount
}}
</span>
<span>
{{
coinInfo
.
amount
}}
</span>
</p>
</p>
<p
class=
"item"
>
<span
class=
"type-name"
>
标准
</span>
<span>
{{
robotDetailInfo
.
coin_normal
}}
</span>
</p>
<p
class=
"item"
>
<span
class=
"type-name"
>
比例
</span>
<span>
{{
robotDetailInfo
.
coin_percent
*
100
+
'%'
}}
(总量/标准)
</span>
</p>
</div>
</div>
<div
class=
"handle-content"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"handle-content"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"handle"
>
<div
class=
"handle"
>
...
@@ -105,6 +113,14 @@
...
@@ -105,6 +113,14 @@
<span
class=
"type-name"
>
总量
</span>
<span
class=
"type-name"
>
总量
</span>
<span>
{{
baseInfo
.
amount
}}
</span>
<span>
{{
baseInfo
.
amount
}}
</span>
</p>
</p>
<p
class=
"item"
>
<span
class=
"type-name"
>
标准
</span>
<span>
{{
robotDetailInfo
.
base_normal
}}
</span>
</p>
<p
class=
"item"
>
<span
class=
"type-name"
>
比例
</span>
<span>
{{
robotDetailInfo
.
base_percent
*
100
+
'%'
}}
(总量/标准)
</span>
</p>
</div>
</div>
<!-- 充币弹框 -->
<!-- 充币弹框 -->
<el-dialog
<el-dialog
...
@@ -233,31 +249,31 @@
...
@@ -233,31 +249,31 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<!--
交易
记录-->
<!--
充提
记录-->
<div
class=
"record-box"
>
<div
class=
"record-box"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"title-box clearfix"
>
<div
class=
"title-box clearfix"
>
<span
class=
"title"
>
交易
记录
</span>
<span
class=
"title"
>
充提
记录
</span>
<div
class=
"select-bar fr clearfix"
>
<div
class=
"select-bar fr clearfix"
>
<div
class=
"select-bar-content fl"
>
<div
class=
"select-bar-content fl"
>
<span
class=
"title"
>
类型
</span>
<span
class=
"title"
>
类型
</span>
<el-checkbox-button
:indeterminate=
"isIndeterminate
"
v-model=
"checkAll"
@
change=
"handleCheckAllChange
"
>
全部
</el-checkbox-button>
<el-checkbox-button
:indeterminate=
"isIndeterminate
2"
v-model=
"checkAll2"
@
change=
"handleCheckAllChange2
"
>
全部
</el-checkbox-button>
<el-checkbox-group
v-model=
"checkedOptions
"
@
change=
"handleCheckedChange
"
>
<el-checkbox-group
v-model=
"checkedOptions
1"
@
change=
"handleCheckedChange2
"
>
<el-checkbox-button
v-for=
"(option,
index) in options
"
:label=
"index+''"
:key=
"option"
>
{{
option
}}
</el-checkbox-button>
<el-checkbox-button
v-for=
"(option,
index) in options1
"
:label=
"index+''"
:key=
"option"
>
{{
option
}}
</el-checkbox-button>
</el-checkbox-group>
</el-checkbox-group>
</div>
</div>
<!--
<div
class=
"select-bar-content status-select f
l"
>
<div
class=
"select-bar-content status-select fl smal
l"
>
<span
class=
"title"
>
状态
</span>
<span
class=
"title"
>
状态
</span>
<el-checkbox-button
:indeterminate=
"isIndeterminate
1"
v-model=
"checkAll1"
@
change=
"handleCheckAllChange1
"
>
全部
</el-checkbox-button>
<el-checkbox-button
:indeterminate=
"isIndeterminate
3"
v-model=
"checkAll3"
@
change=
"handleCheckAllChange3
"
>
全部
</el-checkbox-button>
<el-checkbox-group
v-model=
"checkedStates
"
@
change=
"handleCheckedChange1
"
>
<el-checkbox-group
v-model=
"checkedStates
1"
@
change=
"handleCheckedChange3
"
>
<el-checkbox-button
v-for=
"(state,index) in states"
:label=
"index+''"
:key=
"state"
>
{{
state
}}
</el-checkbox-button>
<el-checkbox-button
v-for=
"(state,index) in states
1
"
:label=
"index+''"
:key=
"state"
>
{{
state
}}
</el-checkbox-button>
</el-checkbox-group>
</el-checkbox-group>
</div>
-->
</div>
</div>
</div>
<el-date-picker
<el-date-picker
class=
"fr"
class=
"fr"
v-model=
"transactionTime"
:default-time=
"['00:00:00', '23:59:59']"
:clearable=
"false"
:clearable=
"false"
v-model=
"transactionTime1"
:default-time=
"['00:00:00', '23:59:59']"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"至"
range-separator=
"至"
...
@@ -266,39 +282,45 @@
...
@@ -266,39 +282,45 @@
</el-date-picker>
</el-date-picker>
</div>
</div>
<el-table
<el-table
v-loading=
"
transaction
Loading"
v-loading=
"
records
Loading"
:data=
"list"
:data=
"list
1
"
stripe
stripe
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
<el-table-column
label=
"
时间
"
label=
"
日期
"
width=
"180"
>
width=
"180"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
time
}}
</span>
<span>
{{
scope
.
row
.
time
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"币种"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
coin
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"类型"
>
label=
"类型"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
opt
}}
</span>
<span>
{{
scope
.
row
.
opt
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
成交价
"
>
label=
"
充提前数量
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
pric
e
}}
</span>
<span>
{{
scope
.
row
.
beforeRecharg
e
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
成交
数量"
>
label=
"
充提
数量"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
amount
}}
</span>
<span>
{{
scope
.
row
.
transfer_
amount
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
成交金额
"
>
label=
"
充提后后数量
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
sum
}}
</span>
<span>
{{
scope
.
row
.
afterRecharge
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -308,49 +330,55 @@
...
@@ -308,49 +330,55 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"操作用户"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
user
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
<el-tag
type=
"success
"
:type=
"scope.row.status === '成功' ? 'success' : 'danger'
"
disable-transitions
>
成功
</el-tag>
disable-transitions
>
{{
scope
.
row
.
status
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange
1
"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange
1
"
:current-page=
"currentPage"
:current-page=
"currentPage
1
"
:page-sizes=
"[10, 20, 30]"
:page-sizes=
"[10, 20, 30]"
:page-size=
"
10
"
:page-size=
"
pageSize1
"
layout=
"total, prev, pager, next, sizes"
layout=
"total, prev, pager, next, sizes"
:total=
"total"
>
:total=
"total
1
"
>
</el-pagination>
</el-pagination>
</div>
</div>
<!--
充提
记录-->
<!--
交易
记录-->
<div
class=
"record-box"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"record-box"
>
<div
class=
"title-box clearfix"
>
<div
class=
"title-box clearfix"
>
<span
class=
"title"
>
充提
记录
</span>
<span
class=
"title"
>
交易
记录
</span>
<div
class=
"select-bar fr clearfix"
>
<div
class=
"select-bar fr clearfix"
>
<div
class=
"select-bar-content fl"
>
<div
class=
"select-bar-content fl"
>
<span
class=
"title"
>
类型
</span>
<span
class=
"title"
>
类型
</span>
<el-checkbox-button
:indeterminate=
"isIndeterminate
2"
v-model=
"checkAll2"
@
change=
"handleCheckAllChange2
"
>
全部
</el-checkbox-button>
<el-checkbox-button
:indeterminate=
"isIndeterminate
"
v-model=
"checkAll"
@
change=
"handleCheckAllChange
"
>
全部
</el-checkbox-button>
<el-checkbox-group
v-model=
"checkedOptions
1"
@
change=
"handleCheckedChange2
"
>
<el-checkbox-group
v-model=
"checkedOptions
"
@
change=
"handleCheckedChange
"
>
<el-checkbox-button
v-for=
"(option,
index) in options1
"
:label=
"index+''"
:key=
"option"
>
{{option}}
</el-checkbox-button>
<el-checkbox-button
v-for=
"(option,
index) in options
"
:label=
"index+''"
:key=
"option"
>
{{option}}
</el-checkbox-button>
</el-checkbox-group>
</el-checkbox-group>
</div>
</div>
<
div
class=
"select-bar-content status-select fl smal
l"
>
<
!-- <div class="select-bar-content status-select f
l">
<span class="title">状态</span>
<span class="title">状态</span>
<el-checkbox-button
:indeterminate=
"isIndeterminate3"
v-model=
"checkAll3"
@
change=
"handleCheckAllChange3
"
>
全部
</el-checkbox-button>
<el-checkbox-button :indeterminate="isIndeterminate1" v-model="checkAll1" @change="handleCheckAllChange1
">全部</el-checkbox-button>
<el-checkbox-group
v-model=
"checkedStates1"
@
change=
"handleCheckedChange3
"
>
<el-checkbox-group v-model="checkedStates" @change="handleCheckedChange1
">
<el-checkbox-button
v-for=
"(state,index) in states1
"
:label=
"index+''"
:key=
"state"
>
{{state}}
</el-checkbox-button>
<el-checkbox-button v-for="(state,index) in states
" :label="index+''" :key="state">{{state}}</el-checkbox-button>
</el-checkbox-group>
</el-checkbox-group>
</div
>
</div>--
>
</div>
</div>
<el-date-picker
<el-date-picker
class=
"fr"
class=
"fr"
:clearable=
"false"
v-model=
"transactionTime"
v-model=
"transactionTime1"
:default-time=
"['00:00:00', '23:59:59']"
:default-time=
"['00:00:00', '23:59:59']"
:clearable=
"false"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"至"
range-separator=
"至"
...
@@ -359,45 +387,39 @@
...
@@ -359,45 +387,39 @@
</el-date-picker>
</el-date-picker>
</div>
</div>
<el-table
<el-table
v-loading=
"
records
Loading"
v-loading=
"
transaction
Loading"
:data=
"list
1
"
:data=
"list"
stripe
stripe
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
<el-table-column
label=
"
日期
"
label=
"
时间
"
width=
"180"
>
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
time
}}
</span>
<span>
{{
scope
.
row
.
time
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"币种"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
coin
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"类型"
>
label=
"类型"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
opt
}}
</span>
<span>
{{
scope
.
row
.
opt
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
充提前数量
"
>
label=
"
成交价
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
beforeRecharg
e
}}
</span>
<span>
{{
scope
.
row
.
pric
e
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
充提
数量"
>
label=
"
成交
数量"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
transfer_
amount
}}
</span>
<span>
{{
scope
.
row
.
amount
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"
充提后后数量
"
>
label=
"
成交金额
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
afterRecharge
}}
</span>
<span>
{{
scope
.
row
.
sum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -407,28 +429,22 @@
...
@@ -407,28 +429,22 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"操作用户"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
user
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
<el-tag
:type=
"scope.row.status === '成功' ? 'success' : 'danger'
"
type=
"success
"
disable-transitions
>
{{
scope
.
row
.
status
}}
</el-tag>
disable-transitions
>
成功
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChange
1
"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange
1
"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage
1
"
:current-page=
"currentPage"
:page-sizes=
"[10, 20, 30]"
:page-sizes=
"[10, 20, 30]"
:page-size=
"
pageSize1
"
:page-size=
"
10
"
layout=
"total, prev, pager, next, sizes"
layout=
"total, prev, pager, next, sizes"
:total=
"total
1
"
>
:total=
"total"
>
</el-pagination>
</el-pagination>
</div>
</div>
</div>
</div>
...
@@ -906,11 +922,11 @@
...
@@ -906,11 +922,11 @@
height
:
140px
;
height
:
140px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
rgba
(
119
,
146
,
167
,
1
);
border
:
1px
solid
rgba
(
119
,
146
,
167
,
1
);
padding
:
1
9
px
0
0
20px
;
padding
:
1
0
px
0
0
20px
;
.handle
{
.handle
{
height
:
25px
;
height
:
25px
;
position
:
relative
;
position
:
relative
;
margin-bottom
:
1
4px
;
margin-bottom
:
4px
;
}
}
.coin-name
{
.coin-name
{
font-size
:
18px
;
font-size
:
18px
;
...
@@ -939,10 +955,10 @@
...
@@ -939,10 +955,10 @@
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.item
{
.item
{
line-height
:
20
px
;
line-height
:
18
px
;
font-size
:
1
4
px
;
font-size
:
1
3
px
;
color
:
rgba
(
51
,
51
,
51
,
1
);
color
:
rgba
(
51
,
51
,
51
,
1
);
margin-bottom
:
4px
;
/*margin-bottom: 4px;*/
.type-name
{
.type-name
{
display
:
inline-block
;
display
:
inline-block
;
width
:
35px
;
width
:
35px
;
...
...
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