|
@@ -110,6 +110,19 @@
|
|
|
>
|
|
|
<userAgreement class="userAgree-login" :changeAgreement="changeAgreement" />
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="registerFlag"
|
|
|
+ width="500px"
|
|
|
+ append-to-body
|
|
|
+ :show-close="false"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ >
|
|
|
+ <el-result icon="success" title="注册申请已提交" subTitle="等待系统审核,通知将以邮件形式发送,请注意查收。">
|
|
|
+ <template slot="extra">
|
|
|
+ <el-button type="primary" size="medium" @click="goLogin">回到登录</el-button>
|
|
|
+ </template>
|
|
|
+ </el-result>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -188,6 +201,7 @@ export default {
|
|
|
passwordError: false,
|
|
|
passwordErrorTwo: false,
|
|
|
isLogin: false,
|
|
|
+ registerFlag: false,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -233,8 +247,8 @@ export default {
|
|
|
registerUser(this.form)
|
|
|
.then((res) => {
|
|
|
if (res.status === 1) {
|
|
|
- this.$message.success('success');
|
|
|
this.isLogin = false;
|
|
|
+ this.registerFlag = true;
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|