Commit 3854da04 authored by wxk's avatar wxk

银行账户增加单号

parent 8b10c4bf
File deleted
......@@ -38,8 +38,6 @@
},
methods: {
navClick(index) {
this.active = index;
Bus.$emit('refresh');
if(this.active != 'account'){
this.$router.push(`/monitor/${index}`)
}else{
......@@ -49,6 +47,7 @@
},
watch: {
$route() {
Bus.$emit('refresh');
this.active = this.$route.params.name || 'account';
}
}
......
<template>
<div class="header">
<span class="title">机器人监控</span>
<router-link :to="{path: '/monitor/home'}">
<span class="title">机器人监控</span>
</router-link>
<div class="contain">
<span class="username">{{username}}</span>
<span class="loginout" @click="exitLogin">退出</span>
......@@ -9,6 +11,7 @@
</template>
<script>
import Bus from '../assets/js/bus'
export default {
data(){
return{
......@@ -46,6 +49,7 @@
box-shadow:0px 2px 10px 6px rgba(237,237,237,0.5);
color:rgba(255,255,255,1);
.title{
color: #fff;
font-size:24px;
}
.contain{
......
......@@ -28,6 +28,13 @@
stripe
style="width: 100%">
<el-table-column
width="100"
label="币种代号">
<template slot-scope="scope">
<span>{{ scope.row.coin_id }}</span>
</template>
</el-table-column>
<el-table-column
label="币种"
width="180">
<template slot-scope="scope">
......@@ -42,12 +49,6 @@
</template>
</el-table-column>
<el-table-column
label="冻结资产">
<template slot-scope="scope">
<span>{{ scope.row.frozen }}</span>
</template>
</el-table-column>
<el-table-column
label="总资产">
<template slot-scope="scope">
<span>{{ scope.row.amount }}</span>
......@@ -295,6 +296,9 @@
axios.post(ApiConfig.GetWalletInfo,{account: params}).then( res => {
// console.log(res.data.data);
this.walletInfo = res.data.data;
this.walletInfo.sort((a,b)=>{
return a.coin_id - b.coin_id
})
this.walletInfo.forEach(item => {
this.coinList.push(item.coin);
})
......
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