Commit ecb636e5 authored by wxk's avatar wxk

充提记录接口改动

parent 59e9a8d6
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
<el-table-column <el-table-column
label="充提前数量"> label="充提前数量">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.beforeRecharge==='-1' ? '--' : scope.row.beforeRecharge }}</span> <span>{{ scope.row.beforeRecharge || '--' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -338,13 +338,13 @@ ...@@ -338,13 +338,13 @@
<el-table-column <el-table-column
label="充提后数量"> label="充提后数量">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.afterRecharge==='-1' ? '--' : scope.row.afterRecharge }}</span> <span>{{ scope.row.afterRecharge || '--' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="手续费"> label="手续费">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.fee }}</span> <span>{{ scope.row.fee || '--' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -647,8 +647,7 @@ ...@@ -647,8 +647,7 @@
duration:'2000', duration:'2000',
}); });
this.Loading = false; this.Loading = false;
clearTimeout(window.Timer1); setTimeout(()=>{
window.Timer1 = setTimeout(()=>{
this.init(); this.init();
},500) },500)
}else{ }else{
...@@ -747,7 +746,6 @@ ...@@ -747,7 +746,6 @@
this.recordsCountList = result.total; this.recordsCountList = result.total;
if (result.list) { if (result.list) {
this.list1 = result.list.map(item => { this.list1 = result.list.map(item => {
item.fee = item.fee==='-1' ? '--' : item.fee + item.coin;
item.opt = item.opt==="0" ? "充币" : "提币"; item.opt = item.opt==="0" ? "充币" : "提币";
item.status = item.status==="0" ? "成功" : "失败"; item.status = item.status==="0" ? "成功" : "失败";
return item; return item;
......
...@@ -174,8 +174,7 @@ ...@@ -174,8 +174,7 @@
created() { created() {
this.init(); this.init();
/*Bus.$on('back', ()=> { /*Bus.$on('back', ()=> {
clearTimeout(window.Timer); setTimeout(()=>{
window.Timer = setTimeout(()=>{
const overviewParams = JSON.parse(sessionStorage.getItem('overviewParams')); const overviewParams = JSON.parse(sessionStorage.getItem('overviewParams'));
this.robotStatus = overviewParams.robotStatus; this.robotStatus = overviewParams.robotStatus;
this.checkedWebs = overviewParams.checkedWebs; this.checkedWebs = overviewParams.checkedWebs;
...@@ -258,7 +257,6 @@ ...@@ -258,7 +257,6 @@
}, },
//获取符合筛选条件的机器人列表 //获取符合筛选条件的机器人列表
getRobotList(params) { getRobotList(params) {
console.log(this.robotStatus)
axios.post(ApiConfig.GetMatchRobots,params).then( res => { axios.post(ApiConfig.GetMatchRobots,params).then( res => {
if (res.data.code === 200) { if (res.data.code === 200) {
// console.log(res.data.data); // console.log(res.data.data);
......
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