<template>
|
<div>
|
<a-modal title="用户详情" :width="1000" :visible="userDialog" :footer="false" @cancel="userDialog = false">
|
<a-descriptions
|
bordered
|
:title="currentDetails.realName ? currentDetails.realName : '未认证'"
|
:column="{ xxl: 3, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }"
|
>
|
<a-descriptions-item label="用户ID">
|
{{ currentDetails.id ? currentDetails.id : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="手机号码">
|
{{ currentDetails.phone ? currentDetails.phone : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="登录状态">
|
<a-tag :color="currentDetails.positionType == 1 ? 'red' : 'green'">
|
{{ currentDetails.isLogin == 1 ? '不可登录' : '正常' }}
|
</a-tag>
|
</a-descriptions-item>
|
<a-descriptions-item label="账号类型">
|
<a-tag :color="currentDetails.accountType == 1 ? 'blue' : 'green'">
|
{{ currentDetails.accountType == 1 ? '模拟用户' : '实盘用户' }}
|
</a-tag>
|
</a-descriptions-item>
|
<a-descriptions-item label="交易状态">
|
<a-tag :color="currentDetails.isLock == 1 ? 'red' : 'green'">
|
{{ currentDetails.isLock == 1 ? '不可交易' : '正常' }}
|
</a-tag>
|
</a-descriptions-item>
|
<a-descriptions-item label="所属代理">
|
{{ currentDetails.agentName ? currentDetails.agentName : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="身份证号码">
|
{{ currentDetails.idCard ? currentDetails.idCard : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="银行名称">
|
{{ currentDetails.bankName ? currentDetails.bankName : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="支行名称">
|
{{ currentDetails.bankAddress ? currentDetails.bankAddress : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="银行卡号">
|
{{ currentDetails.bankNo ? currentDetails.bankNo : '--' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="账户总资金">
|
{{ currentDetails.ALL }}{{ currentDetails.ALLsybol }}
|
</a-descriptions-item>
|
<a-descriptions-item label="马股总资金">
|
{{ currentDetails.MAS }}{{ currentDetails.MASsybol }}
|
</a-descriptions-item>
|
<a-descriptions-item label="美股总资金">
|
{{ currentDetails.US }}{{ currentDetails.USsybol }}
|
</a-descriptions-item>
|
<a-descriptions-item label="港股总资金">
|
{{ currentDetails.HK || 0 }}{{ currentDetails.HKsybol || 'HK$' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="融资平仓线">
|
{{ currentDetails.forceLine ? currentDetails.forceLine : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="指数总资金">
|
{{ currentDetails.userIndexAmt ? currentDetails.userIndexAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="指数可用资金">
|
{{ currentDetails.enableIndexAmt ? currentDetails.enableIndexAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="指数冻结保证金">
|
{{ currentDetails.allIndexFreezAmt ? currentDetails.allIndexFreezAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="指数平仓线">
|
{{ currentDetails.indexForceLine ? currentDetails.indexForceLine : '0' }}
|
</a-descriptions-item>
|
<!-- <a-descriptions-item label="期货总资金">
|
{{ currentDetails.userFuturesAmt ? currentDetails.userFuturesAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="期货可用资金">
|
{{ currentDetails.enableFuturesAmt ? currentDetails.enableFuturesAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="期货冻结保证金">
|
{{ currentDetails.allFuturesFreezAmt ? currentDetails.allFuturesFreezAmt : '0' }}
|
</a-descriptions-item>
|
<a-descriptions-item label="期货平仓线">
|
{{ currentDetails.futuresForceLine ? currentDetails.futuresForceLine : '0' }}
|
</a-descriptions-item> -->
|
</a-descriptions>
|
</a-modal>
|
</div>
|
</template>
|
<script>
|
export default {
|
components: {},
|
props: {
|
currentDetails: {
|
type: Object
|
}
|
},
|
data () {
|
return {
|
userDialog: false
|
}
|
},
|
watch: {
|
currentDetails (v) {
|
console.log(v)
|
}
|
},
|
mounted () {
|
console.log(this.currentDetails)
|
},
|
methods: {}
|
}
|
</script>
|