| | |
| | | <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 |
| | | 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> |
| | |
| | | {{ currentDetails.bankNo ? currentDetails.bankNo : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="账户总资金"> |
| | | {{ (currentDetails.userAmt + currentDetails.userIndexAmt + currentDetails.userFuturesAmt).toFixed(2) }} |
| | | {{ currentDetails.ALL }}{{ currentDetails.ALLsybol }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="融资总资金"> |
| | | {{ currentDetails.userAmt ? currentDetails.userAmt : '0' }} |
| | | <a-descriptions-item label="马股总资金"> |
| | | {{ currentDetails.MAS }}{{ currentDetails.MASsybol }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="融资可用资金"> |
| | | {{ currentDetails.enableAmt ? currentDetails.enableAmt : '0' }} |
| | | <a-descriptions-item label="美股总资金"> |
| | | {{ currentDetails.US }}{{ currentDetails.USsybol }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="融资冻结保证金"> |
| | | {{ currentDetails.allFreezAmt ? currentDetails.allFreezAmt : '0' }} |
| | | <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 label="期货平仓线"> |
| | | {{ currentDetails.futuresForceLine ? currentDetails.futuresForceLine : '0' }} |
| | | </a-descriptions-item> --> |
| | | |
| | | </a-descriptions> |
| | | </a-modal> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | components: {}, |
| | | props: { |
| | | currentDetails: { |
| | | type: Object |
| | | } |
| | | components: {}, |
| | | props: { |
| | | currentDetails: { |
| | | type: Object, |
| | | }, |
| | | data () { |
| | | return { |
| | | userDialog: false |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | }, |
| | | data() { |
| | | return { |
| | | userDialog: false, |
| | | } |
| | | }, |
| | | watch: { |
| | | currentDetails(v) { |
| | | console.log(v) |
| | | }, |
| | | }, |
| | | mounted() { |
| | | console.log(this.currentDetails) |
| | | }, |
| | | methods: {}, |
| | | } |
| | | </script> |