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
32b59cf8
Commit
32b59cf8
authored
Dec 23, 2019
by
王奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
4f5c841e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
currency.vue
src/views/currency.vue
+11
-1
overview.vue
src/views/overview.vue
+2
-2
No files found.
src/views/currency.vue
View file @
32b59cf8
...
...
@@ -626,6 +626,14 @@
},
//波动统计弹窗通过机器人账户搜索
searchByAccount
()
{
if
(
this
.
robotAccount
==
''
){
this
.
$notify
({
title
:
'错误'
,
message
:
"请输入账号"
,
type
:
'error'
,
duration
:
'2000'
,
});
}
else
{
let
params
=
{
class
:
"robot"
,
account
:
this
.
robotAccount
,
...
...
@@ -640,11 +648,13 @@
}).
catch
(
error
=>
{
this
.
$notify
({
title
:
'错误'
,
message
:
"
服务器崩溃啦,请稍后再试
"
,
message
:
"
账号输入错误
"
,
type
:
'error'
,
duration
:
'2000'
,
});
})
}
},
},
watch
:{
...
...
src/views/overview.vue
View file @
32b59cf8
...
...
@@ -86,7 +86,7 @@
</div>
<ul
class=
"robots-box"
>
<li
v-for=
"(item,index) in robotList"
:key=
"item.tag"
:class=
"[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.
profit
_status === 'abnormal') ? 'abnormal' : item.status || 'normal']"
>
:class=
"[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.
coin_wave_status === 'abnormal'|| item.base_wave
_status === 'abnormal') ? 'abnormal' : item.status || 'normal']"
>
<div
class=
"operations"
>
<div
class=
"detail"
@
click=
"showDetails(index)"
>
<span>
查看详情
</span>
...
...
@@ -342,7 +342,7 @@
if
(
res
.
data
.
code
===
200
)
{
// console.log(res.data.data);
this
.
robotList
=
res
.
data
.
data
;
//
console.log("机器人数据",res.data.data)
console
.
log
(
"机器人数据"
,
res
.
data
.
data
)
}
}).
catch
(
error
=>
{
this
.
$notify
({
...
...
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