82 lines
2.0 KiB
Vue
82 lines
2.0 KiB
Vue
<template>
|
|
<a-card style="width: 100%;height: 100%;text-align: left;">
|
|
<div class="register-result-content">
|
|
<result
|
|
:isSuccess="true"
|
|
:content="false"
|
|
:title="email">
|
|
|
|
<template slot="action">
|
|
<a-button size="large" style="margin-left: 8px" @click="goHomeHandle">返回登录页</a-button>
|
|
</template>
|
|
|
|
</result>
|
|
</div>
|
|
</a-card>
|
|
</template>
|
|
|
|
<script>
|
|
import Result from '@/views/result/Result'
|
|
|
|
export default {
|
|
name: 'MemberRegisterResult',
|
|
components: {
|
|
Result
|
|
},
|
|
data() {
|
|
return {
|
|
form: {}
|
|
}
|
|
},
|
|
computed: {
|
|
email() {
|
|
const v = this.form ? this.form.username || this.form.mobile : ' XXX '
|
|
// const title = `申请表提交成功,等待标协管理员审核,审核结果将24小时内发送至邮箱。`
|
|
const title = `感谢您的关注!您的申请已收到,请耐心等待系统审核,24小时内您将收到我们发至预留联系人电子邮箱的邮件,请注意查收!`
|
|
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
this.username = v
|
|
return title
|
|
}
|
|
},
|
|
created() {
|
|
this.form = this.$route.params
|
|
},
|
|
methods: {
|
|
goHomeHandle() {
|
|
const params = {}
|
|
params.username = this.form.username
|
|
params.password = this.form.password
|
|
this.$router.push({path: '/user/login'})
|
|
// console.log(params)
|
|
// this.$router.push({ name: 'login', params })
|
|
// window.open(`${window._CONFIG['IncomePaymentsLoginUrl']}/user/login`, '_self')
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
/deep/ .ant-card {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
/deep/ .ant-card-body {
|
|
padding: 0 !important;
|
|
height: 100%;
|
|
background: #F0F2F5;
|
|
}
|
|
.register-result-content{
|
|
background: #fff;
|
|
width: calc(100% - 40px);
|
|
height: calc(100% - 40px);
|
|
margin: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
/deep/.result{
|
|
margin-bottom: 20px;
|
|
width: 60%;
|
|
}
|
|
}
|
|
|
|
</style>
|