Commit db83fe91 authored by wxk's avatar wxk

预警状态筛选ok

parent 27cf62e8
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
//获取符合筛选条件的机器人列表 //获取符合筛选条件的机器人列表
getRobotList(params) { getRobotList(params) {
axios.post(ApiConfig.GetMatchRobots,params).then( res => { axios.post(ApiConfig.GetMatchRobots,params).then( res => {
console.log(res.data.data); // console.log(res.data.data);
this.robotList = res.data.data; this.robotList = res.data.data;
}) })
}, },
...@@ -330,6 +330,21 @@ ...@@ -330,6 +330,21 @@
(status === 'profit' ? '盈利异常机器人' : (status === 'profit' ? '盈利异常机器人' :
(status === 'coin' ? '目标币异常机器人' : (status === 'coin' ? '目标币异常机器人' :
(status === 'base' ? '基础币异常机器人':'所有机器人')))); (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) { clickFoldExchange(type) {
switch (type) { switch (type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment