|
|
|
@ -9,8 +9,9 @@ |
|
|
|
<div class="col-12 mt-4"> |
|
|
|
<el-steps :active="setp+1" align-center> |
|
|
|
<el-step :title="$t('profile.primaryCertification')"></el-step> |
|
|
|
<el-step :title="$t('profile.toExamine1')"></el-step> |
|
|
|
<el-step :title="$t('profile.advancedCertification1')"></el-step> |
|
|
|
<el-step :title="$t('profile.toExamine')"></el-step> |
|
|
|
<el-step :title="$t('profile.toExamine2')"></el-step> |
|
|
|
</el-steps> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -151,8 +152,50 @@ |
|
|
|
>{{$t('profile.nextStep')}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 第二步 --> |
|
|
|
<div class="tab-content" style="text-align: center;" v-if="setp==1"> |
|
|
|
<!-- 待审核 --> |
|
|
|
<div v-if="detail.primary_status==2"> |
|
|
|
<p class="mt-3 mb-4">{{$t('profile.inSubmit')}}</p> |
|
|
|
<i class="el-icon-s-order my-4 text-warning" style="font-size:70px"></i> |
|
|
|
<div class="text-center"> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
class="btn w-25 btn-primary rounded-pill" |
|
|
|
@click="$router.go(-1)" |
|
|
|
>{{$t('profile.gotIt')}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else-if="detail.primary_status==1"> |
|
|
|
<p class="mt-3 mb-4" style="font-size:18px">{{detail.primary_status_text}}!</p> |
|
|
|
<i class="el-icon-circle-check my-4 increace" style="font-size:60px"></i> |
|
|
|
<div class="text-center"> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
class="btn w-25 btn-primary rounded-pill" |
|
|
|
@click="setp=2" |
|
|
|
>{{$t('profile.nextStep')}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else-if="detail.primary_status==3"> |
|
|
|
<p class="mt-3 mb-4">{{detail.primary_status_text}}!{{$t('profile.resetApply')}}</p> |
|
|
|
<!-- <i class="el-icon-s-release my-4 decreace" style="font-size:60px"></i> --> |
|
|
|
<div style="margin-bottom: 40px;color: #409EFF;display: flex;justify-content: center;"> |
|
|
|
<div style="width: 100px;color: #000;">{{$t('common.c12')}}:</div> |
|
|
|
<div style="width: 350px;text-align: left;word-wrap: break-word;">{{detail.remark}}</div> |
|
|
|
</div> |
|
|
|
<div class="text-center"> |
|
|
|
<!-- @click="setp=1" --> |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
class="btn w-25 btn-outline-danger" |
|
|
|
@click="setp=0" |
|
|
|
>{{$t('profile.recertification')}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 第二步 --> |
|
|
|
<div class="tab-content" v-if="setp==1"> |
|
|
|
<div class="tab-content" v-if="setp==2"> |
|
|
|
<p>{{$t('profile.clickUpload1')}}</p> |
|
|
|
<p> |
|
|
|
{{$t('profile.pelaseDownload')}} |
|
|
|
@ -229,7 +272,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 第三步 --> |
|
|
|
<div class="tab-ceontent p-5 text-center" v-if="setp==2"> |
|
|
|
<div class="tab-ceontent p-5 text-center" v-if="setp==3"> |
|
|
|
<!-- 待审核 --> |
|
|
|
<div v-if="detail.status==1"> |
|
|
|
<p class="mt-3 mb-4">{{$t('profile.inSubmit')}}</p> |
|
|
|
@ -264,7 +307,7 @@ |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
class="btn w-25 btn-outline-danger" |
|
|
|
@click="setp=1" |
|
|
|
@click="setp=2" |
|
|
|
>{{$t('profile.recertification')}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -378,7 +421,7 @@ export default { |
|
|
|
} else if (res.status == 0) { |
|
|
|
this.setp = 1; |
|
|
|
} else { |
|
|
|
this.setp = 2; |
|
|
|
this.setp = 3; |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(res => {}); |
|
|
|
@ -404,9 +447,11 @@ export default { |
|
|
|
if (utils.validate("#auth")) { |
|
|
|
Profile.primaryAuth(data) |
|
|
|
.then(res => { |
|
|
|
this.$message.success(this.$t("profile.preliminary")); |
|
|
|
// this.$message.success(this.$t("profile.preliminary")); |
|
|
|
// this.setp++; |
|
|
|
this.$router.push("/wallet/assets/exchange") |
|
|
|
// this.$router.push("/wallet/assets/exchange") |
|
|
|
this.getAuthInfo() |
|
|
|
this.setp=1 |
|
|
|
}) |
|
|
|
.catch(err => {}); |
|
|
|
} |
|
|
|
@ -430,6 +475,7 @@ export default { |
|
|
|
} |
|
|
|
Profile.topAuth(data) |
|
|
|
.then(res => { |
|
|
|
this.setp=3 |
|
|
|
this.$message.success(this.$t("profile.advancedCertification2")); |
|
|
|
this.getAuthInfo(); |
|
|
|
}) |
|
|
|
|