|
|
@ -9,11 +9,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="merchant-contant" v-html="rule"></div> |
|
|
|
<div class="merchant-contant" v-html="rule"></div> |
|
|
|
<div class="merchant-che"> |
|
|
|
<div class="merchant-che"> |
|
|
|
<el-checkbox v-model="checked">{{$t('exchangeotc.merchant.look')}}</el-checkbox> |
|
|
|
<el-checkbox v-model="checked">{{ |
|
|
|
|
|
|
|
$t('exchangeotc.merchant.look') |
|
|
|
|
|
|
|
}}</el-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 立即申请 --> |
|
|
|
<!-- 立即申请 --> |
|
|
|
<div class="merchant-btn"> |
|
|
|
<div class="merchant-btn"> |
|
|
|
<el-button @click="handleVis()">{{$t('exchangeotc.merchant.promptly')}}</el-button> |
|
|
|
<el-button @click="handleVis()">{{ |
|
|
|
|
|
|
|
$t('exchangeotc.merchant.promptly') |
|
|
|
|
|
|
|
}}</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -27,15 +31,19 @@ |
|
|
|
{{ $t('exchangeotc.merchant.wallet') }} |
|
|
|
{{ $t('exchangeotc.merchant.wallet') }} |
|
|
|
{{ $t('exchangeotc.merchant.fou') }} |
|
|
|
{{ $t('exchangeotc.merchant.fou') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div class="vis-contant" style="margin-top:20px;"> |
|
|
|
class="vis-contant" |
|
|
|
{{ $t('exchangeotc.merchant.deposit') }}:{{ merchantCAmount }} |
|
|
|
style="margin-top:20px;" |
|
|
|
{{ merchantCion }} |
|
|
|
>{{$t('exchangeotc.merchant.deposit')}}:{{merchantCAmount}} {{merchantCion}}</div> |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<!-- 取 消 --> |
|
|
|
<!-- 取 消 --> |
|
|
|
<el-button @click="dialogVisible = false">{{$t('exchangeotc.merchant.delete')}}</el-button> |
|
|
|
<el-button @click="dialogVisible = false">{{ |
|
|
|
|
|
|
|
$t('exchangeotc.merchant.delete') |
|
|
|
|
|
|
|
}}</el-button> |
|
|
|
<!-- 确 定 --> |
|
|
|
<!-- 确 定 --> |
|
|
|
<el-button type="primary" @click="handleSure()">{{$t('exchangeotc.merchant.sure')}}</el-button> |
|
|
|
<el-button type="primary" @click="handleSure()">{{ |
|
|
|
|
|
|
|
$t('exchangeotc.merchant.sure') |
|
|
|
|
|
|
|
}}</el-button> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
@ -58,7 +66,7 @@ import NavHeader from '@/components/common/header'; |
|
|
|
import Footer from '@/components/common/footer'; |
|
|
|
import Footer from '@/components/common/footer'; |
|
|
|
|
|
|
|
|
|
|
|
import {getMerchant} from '@/api/priceSysconf'; |
|
|
|
import {getMerchant} from '@/api/priceSysconf'; |
|
|
|
import {getDeposit, getTotal, getMarketApplyl} from '@/api/coin'; |
|
|
|
import {getDeposit, getTotal, getMarketApply} from '@/api/coin'; |
|
|
|
// 获取请求 |
|
|
|
// 获取请求 |
|
|
|
import {getOTCBtc} from '@/api/btc.js'; |
|
|
|
import {getOTCBtc} from '@/api/btc.js'; |
|
|
|
|
|
|
|
|
|
|
@ -124,10 +132,15 @@ export default { |
|
|
|
// 确认申请为商家 |
|
|
|
// 确认申请为商家 |
|
|
|
handleSure() { |
|
|
|
handleSure() { |
|
|
|
this.checked = false; |
|
|
|
this.checked = false; |
|
|
|
getMarketApplyl().then(res => { |
|
|
|
getMarketApply().then(res => { |
|
|
|
if (res.data.code === 200) { |
|
|
|
if (res.data.code === 200) { |
|
|
|
this.dialogVisible = false; |
|
|
|
this.dialogVisible = false; |
|
|
|
this.dialogSure = true; |
|
|
|
// this.dialogSure = true; |
|
|
|
|
|
|
|
// 申請商家成功! |
|
|
|
|
|
|
|
this.$message.success(this.$t('exchangeotc.merchant.bemarket')); |
|
|
|
|
|
|
|
setInterval(() => { |
|
|
|
|
|
|
|
window.location.href = '../exchange'; |
|
|
|
|
|
|
|
}, 1000); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
} |
|
|
|
} |
|
|
@ -288,4 +301,3 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
|
|