Browse Source

初级认证需要新增审核页面

master
liaoxinyu 5 months ago
parent
commit
ac16c22c78
  1. 6
      src/App.vue
  2. 2
      src/i18n/en.json
  3. 2
      src/i18n/tw.json
  4. 67
      src/views/profile/certification.vue
  5. 22
      src/views/signUp/index.vue

6
src/App.vue

@ -58,9 +58,9 @@ export default {
getLogo() {
Member.getLogo().then(res => {
// console.info(res)
if(res!=undefined){
// this.setAppConfig(res);
// this.setConfig();
if(res!==undefined){
this.setAppConfig(res);
this.setConfig();
}
});
},

2
src/i18n/en.json

@ -707,6 +707,8 @@
"advancedCertification1": "Advanced Certification Application",
"advancedCertification2": "Submit advanced certification application",
"toExamine": "audit",
"toExamine1": "Primary Review",
"toExamine2": "Advanced Audit",
"fullName": "Name",
"legal": "Legal",
"pleaseEnterName": "Please enter your name",

2
src/i18n/tw.json

@ -650,6 +650,8 @@
"advancedCertification1": "高級認證申請",
"advancedCertification2": "高級認證申請已提交",
"toExamine": "稽核",
"toExamine1": "初級審核",
"toExamine2": "高級審核",
"fullName": "姓名",
"legal": "法定",
"pleaseEnterName": "請輸入姓名",

67
src/views/profile/certification.vue

@ -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,51 @@
>{{$t('profile.nextStep')}}</button>
</div>
</div>
<!-- 第二步 -->
<div class="tab-content" v-if="setp==1">
<!-- 第二步 -->
<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==2">
<p>{{$t('profile.clickUpload1')}}</p>
<p>
{{$t('profile.pelaseDownload')}}
@ -215,8 +259,8 @@
<button type="button" class="btn w-25 btn-primary rounded-pill" @click="topAuth">{{$t('profile.nextStep')}}</button>
</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>
@ -244,7 +288,7 @@
<p class="mt-3 mb-4">{{detail.status_text_lang}}{{$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: #fff;">{{$t('common.c12')}}</div>
<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">
@ -252,7 +296,7 @@
<button
type="button"
class="btn w-25 btn-outline-danger"
@click="setp=1"
@click="setp=2"
>{{$t('profile.recertification')}}</button>
</div>
</div>
@ -337,7 +381,7 @@ export default {
} else if (res.status == 0) {
this.setp = 1;
} else {
this.setp = 2;
this.setp = 3;
}
})
.catch(res => {});
@ -367,9 +411,11 @@ export default {
}
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 => {});
}
@ -393,6 +439,7 @@ export default {
}
Profile.topAuth(data)
.then(res => {
this.setp=3
this.$message.success(this.$t("profile.advancedCertification2"));
this.getAuthInfo();
})

22
src/views/signUp/index.vue

@ -291,17 +291,17 @@ export default {
);
return;
}
if (this.user.parentCode=="") {
// /
this.$message(
{
type: "warning",
message: this.$t("login.c7") + "!"
},
1000
);
return;
}
// if (this.user.parentCode=="") {
// // /
// this.$message(
// {
// type: "warning",
// message: this.$t("login.c7") + ""
// },
// 1000
// );
// return;
// }
if(this.withdrawal_psw==""){
this.$message(
{

Loading…
Cancel
Save