|
|
@@ -455,7 +455,14 @@ export default {
|
|
|
}, 1000);
|
|
|
});
|
|
|
}
|
|
|
- } else {
|
|
|
+ } else if (this.userInfo.authStatus === 'PENDING' || this.userInfo.authStatus === 'FAIL') {
|
|
|
+ Dialog.confirm({
|
|
|
+ title: '认证信息',
|
|
|
+ message: '用户认证中,是否查看认证'
|
|
|
+ }).then(() => {
|
|
|
+ this.$router.push('/waiting');
|
|
|
+ });
|
|
|
+ } else if (this.userInfo.authStatus === 'NOT_AUTH') {
|
|
|
Dialog.confirm({
|
|
|
title: '认证信息',
|
|
|
message: '用户未认证,是否立即认证'
|
|
|
@@ -467,7 +474,14 @@ export default {
|
|
|
Add() {
|
|
|
if (this.userInfo.authStatus === 'SUCCESS') {
|
|
|
this.$router.push('/giveSearch?id=' + this.info.id);
|
|
|
- } else {
|
|
|
+ } else if (this.userInfo.authStatus === 'PENDING' || this.userInfo.authStatus === 'FAIL') {
|
|
|
+ Dialog.confirm({
|
|
|
+ title: '认证信息',
|
|
|
+ message: '用户认证中,是否查看认证'
|
|
|
+ }).then(() => {
|
|
|
+ this.$router.push('/waiting');
|
|
|
+ });
|
|
|
+ } else if (this.userInfo.authStatus === 'NOT_AUTH') {
|
|
|
Dialog.confirm({
|
|
|
title: '认证信息',
|
|
|
message: '用户未认证,是否立即认证'
|