| | |
| | | <a-descriptions-item label="所属代理"> |
| | | {{ currentDetails.agentName ? currentDetails.agentName : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="真实姓名"> |
| | | {{ currentDetails.realName ? currentDetails.realName : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="身份证号码"> |
| | | {{ currentDetails.idCard ? currentDetails.idCard : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="注册ip"> |
| | | {{ currentDetails.regIp ? currentDetails.regIp : '--' }} |
| | | <a-descriptions-item label="银行名称"> |
| | | {{ currentDetails.bankName ? currentDetails.bankName : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="总资产"> |
| | | {{ moneyData.totalMoney ? moneyData.totalMoney : '--' }} |
| | | <a-descriptions-item label="支行名称"> |
| | | {{ currentDetails.bankAddress ? currentDetails.bankAddress : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="可用余额"> |
| | | {{ moneyData.availableBalance ? moneyData.availableBalance : '--' }} |
| | | <a-descriptions-item label="银行卡号"> |
| | | {{ currentDetails.bankNo ? currentDetails.bankNo : '--' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="冻结金额"> |
| | | {{ moneyData.freezeMoney ? moneyData.freezeMoney : '--' }} |
| | | <a-descriptions-item label="账户总资金"> |
| | | {{ currentDetails.ALL }}{{ currentDetails.ALLsybol }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="注册地址"> |
| | | {{ currentDetails.regAddress ? currentDetails.regAddress : '--' }} |
| | | <a-descriptions-item label="马股总资金"> |
| | | {{ currentDetails.MAS }}{{ currentDetails.MASsybol }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="注册时间"> |
| | | {{ currentDetails.regTime | moment }} |
| | | <a-descriptions-item label="美股总资金"> |
| | | {{ currentDetails.US }}{{ currentDetails.USsybol }} |
| | | </a-descriptions-item> |
| | | <!-- <a-descriptions-item label="总资金(¥)"> |
| | | {{ Number(currentDetails.userAmt + currentDetails.userIndexAmt).toFixed(2) }} |
| | | </a-descriptions-item> --> |
| | | <!-- <a-descriptions-item label="印股总资金(¥)"> |
| | | {{ currentDetails.userAmt ? currentDetails.userAmt : '0' }} |
| | | <a-descriptions-item label="港股总资金"> |
| | | {{ currentDetails.HK || 0 }}{{ currentDetails.HKsybol || 'HK$' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="美股总资金(¥)"> |
| | | <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.userFutAmt ? currentDetails.userFutAmt : '0' }} |
| | | </a-descriptions-item> --> |
| | | <!-- <a-descriptions-item label="印股可用资金(¥)"> |
| | | {{ currentDetails.enableAmt ? currentDetails.enableAmt : '0' }} |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="美股可用资金(¥)"> |
| | | <a-descriptions-item label="指数可用资金"> |
| | | {{ currentDetails.enableIndexAmt ? currentDetails.enableIndexAmt : '0' }} |
| | | </a-descriptions-item> --> |
| | | <!-- <a-descriptions-item label="期货可用资金(¥)"> |
| | | {{ currentDetails.enableFutAmt ? currentDetails.enableFutAmt : '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-item label="身份证正面"> |
| | | <el-image |
| | | style="width: 140px; height: 70px" |
| | | :src="currentDetails.img1Key" |
| | | :preview-src-list="[currentDetails.img1Key]" |
| | | > |
| | | </el-image> |
| | | </a-descriptions-item> |
| | | <a-descriptions-item label="身份证背面"> |
| | | <el-image |
| | | style="width: 140px; height: 70px" |
| | | :src="currentDetails.img2Key" |
| | | :preview-src-list="[currentDetails.img2Key]" |
| | | > |
| | | </el-image> |
| | | </a-descriptions-item> |
| | | <!-- <a-descriptions-item label="手持身份证"> |
| | | <img :src="currentDetails.img3Key" alt="" style="width: 140px; height: 70px" /> |
| | | </a-descriptions-item> --> |
| | | </a-descriptions> |
| | | </a-modal> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { getMoney } from '@/api/home' |
| | | |
| | | export default { |
| | | components: {}, |
| | | props: { |
| | | currentDetails: { |
| | | type: Object, |
| | | }, |
| | | type: Object |
| | | } |
| | | }, |
| | | data() { |
| | | data () { |
| | | return { |
| | | userDialog: false, |
| | | moneyData: {}, |
| | | userDialog: false |
| | | } |
| | | }, |
| | | watch: { |
| | | userDialog(v) { |
| | | if (v) { |
| | | this.getMoneys() |
| | | } |
| | | }, |
| | | currentDetails (v) { |
| | | console.log(v) |
| | | } |
| | | }, |
| | | mounted() { |
| | | // this.getMoneys() |
| | | mounted () { |
| | | console.log(this.currentDetails) |
| | | }, |
| | | activated() { |
| | | // this.getMoneys() |
| | | }, |
| | | methods: { |
| | | getMoneys() { |
| | | getMoney({ userId: this.currentDetails.id }).then((res) => { |
| | | if (res.status == 0) { |
| | | console.log(res) |
| | | let arr = res.data.filter((item) => item.accectType === 'IN') |
| | | this.moneyData = arr[0] || {} |
| | | } |
| | | }) |
| | | }, |
| | | }, |
| | | methods: {} |
| | | } |
| | | </script> |