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
ecb636e5
Commit
ecb636e5
authored
Jul 26, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充提记录接口改动
parent
59e9a8d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
RobotDetails.vue
src/views/RobotDetails.vue
+4
-6
overview.vue
src/views/overview.vue
+1
-3
No files found.
src/views/RobotDetails.vue
View file @
ecb636e5
...
...
@@ -326,7 +326,7 @@
<el-table-column
label=
"充提前数量"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
beforeRecharge
===
'-1'
?
'--'
:
scope
.
row
.
beforeRecharge
}}
</span>
<span>
{{
scope
.
row
.
beforeRecharge
||
'--'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -338,13 +338,13 @@
<el-table-column
label=
"充提后数量"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
afterRecharge
===
'-1'
?
'--'
:
scope
.
row
.
afterRecharge
}}
</span>
<span>
{{
scope
.
row
.
afterRecharge
||
'--'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"手续费"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
fee
}}
</span>
<span>
{{
scope
.
row
.
fee
||
'--'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -647,8 +647,7 @@
duration
:
'2000'
,
});
this
.
Loading
=
false
;
clearTimeout
(
window
.
Timer1
);
window
.
Timer1
=
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
init
();
},
500
)
}
else
{
...
...
@@ -747,7 +746,6 @@
this
.
recordsCountList
=
result
.
total
;
if
(
result
.
list
)
{
this
.
list1
=
result
.
list
.
map
(
item
=>
{
item
.
fee
=
item
.
fee
===
'-1'
?
'--'
:
item
.
fee
+
item
.
coin
;
item
.
opt
=
item
.
opt
===
"0"
?
"充币"
:
"提币"
;
item
.
status
=
item
.
status
===
"0"
?
"成功"
:
"失败"
;
return
item
;
...
...
src/views/overview.vue
View file @
ecb636e5
...
...
@@ -174,8 +174,7 @@
created
()
{
this
.
init
();
/*Bus.$on('back', ()=> {
clearTimeout(window.Timer);
window.Timer = setTimeout(()=>{
setTimeout(()=>{
const overviewParams = JSON.parse(sessionStorage.getItem('overviewParams'));
this.robotStatus = overviewParams.robotStatus;
this.checkedWebs = overviewParams.checkedWebs;
...
...
@@ -258,7 +257,6 @@
},
//获取符合筛选条件的机器人列表
getRobotList
(
params
)
{
console
.
log
(
this
.
robotStatus
)
axios
.
post
(
ApiConfig
.
GetMatchRobots
,
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
200
)
{
// console.log(res.data.data);
...
...
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