提现中心新增危险用户提示

This commit is contained in:
gyq 2025-01-08 15:18:01 +08:00
parent 2dc98838c7
commit 2cd5bb75dd
1 changed files with 39 additions and 5 deletions

View File

@ -42,8 +42,23 @@
<el-table v-loading="tableData.loading" :data="tableData.list" border stripe>
<el-table-column label="ID" prop="id" width="80"></el-table-column>
<el-table-column label="用户ID" prop="userId" width="100"></el-table-column>
<el-table-column label="用户名" prop="userName" width="150"></el-table-column>
<el-table-column label="提现信息">
<el-table-column label="用户名" prop="userName" width="200">
<template slot-scope="scope">
<template v-if="scope.row.relationId">
<div class="danger_user">
<div class="user_info">
<i class="icon el-icon-warning"></i>
危险用户{{ scope.row.userName }}
</div>
<el-tag type="danger" disable-transitions>{{ scope.row.relationId }}</el-tag>
</div>
</template>
<template v-else>
{{ scope.row.userName }}
</template>
</template>
</el-table-column>
<el-table-column label="提现信息" width="200">
<template slot-scope="scope">
<div>提现金额{{ scope.row.money }}</div>
<div>手续费{{ scope.row.rate }}</div>
@ -81,10 +96,9 @@
<div style="display: flex;flex-direction: column;" v-if="scope.row.state == 2">
<div>
<el-tag type="danger" disable-transitions>
失败
失败{{ scope.row.refund }}
</el-tag>
</div>
<div>原因{{ scope.row.refund }}</div>
</div>
<el-tag type="warning" v-if="scope.row.state == 3" disable-transitions>
待审核
@ -159,7 +173,7 @@ export default {
id: "",
isAgree: "1",
refund: "",
userId:''
userId: ''
},
rules: {
isAgree: [],
@ -256,3 +270,23 @@ export default {
}
};
</script>
<style scoped lang="scss">
.danger_user {
display: flex;
flex-direction: column;
gap: 4px;
.user_info {
display: flex;
align-items: center;
$color: #F56C6C;
color: $color;
gap: 4px;
.icon {
color: $color;
}
}
}
</style>