Commit 32b59cf8 authored by 王奇's avatar 王奇

修改BUG

parent 4f5c841e
......@@ -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:{
......
......@@ -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({
......
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