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
db83fe91
Commit
db83fe91
authored
Jul 03, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警状态筛选ok
parent
27cf62e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
overview.vue
src/views/overview.vue
+16
-1
No files found.
src/views/overview.vue
View file @
db83fe91
...
...
@@ -247,7 +247,7 @@
//获取符合筛选条件的机器人列表
getRobotList
(
params
)
{
axios
.
post
(
ApiConfig
.
GetMatchRobots
,
params
).
then
(
res
=>
{
console
.
log
(
res
.
data
.
data
);
//
console.log(res.data.data);
this
.
robotList
=
res
.
data
.
data
;
})
},
...
...
@@ -330,6 +330,21 @@
(
status
===
'profit'
?
'盈利异常机器人'
:
(
status
===
'coin'
?
'目标币异常机器人'
:
(
status
===
'base'
?
'基础币异常机器人'
:
'所有机器人'
))));
//筛选机器人参数
var
ListParams
=
{
class
:
"robot"
,
//账户级别
coin
:
""
,
//目标币种,用于首页里的筛选和币种监控 可选参数
symbol
:
[],
//币种对,用于网站监控里的筛选 可选参数
status
:
""
,
//机器人运行状态 可选参数
abnormal
:
""
,
//有profit,coin,base这三种异常类别 可选参数
platform
:
[]
//交易所种类 可选参数
};
if
(
status
===
'normal'
||
status
===
'stop'
)
{
ListParams
.
status
=
status
;
}
else
{
ListParams
.
abnormal
=
status
;
}
this
.
getRobotList
(
ListParams
);
},
clickFoldExchange
(
type
)
{
switch
(
type
)
{
...
...
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