|
|
@@ -553,31 +553,33 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
send() {
|
|
|
- this.$confirm('未认证不能转增,是否认证', '认证', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- customClass: 'myClass',
|
|
|
- center: true
|
|
|
- }).then(() => {
|
|
|
- this.add();
|
|
|
- this.$nextTick(() => {
|
|
|
- console.log(this.lists);
|
|
|
- setTimeout(() => {
|
|
|
- if (this.userInfo.authStatus !== 'NOT_AUTH' && this.lists == false) {
|
|
|
- this.add();
|
|
|
- this.$router.push('/userauthentication');
|
|
|
- this.$refs.send.show = true;
|
|
|
- }
|
|
|
- }, 1000);
|
|
|
- setTimeout(() => {
|
|
|
- if (this.userInfo.authStatus !== 'NOT_AUTH' && this.lists == true) {
|
|
|
- this.add();
|
|
|
- this.$router.push('/enterpriseauthentication');
|
|
|
- this.$refs.send.show = true;
|
|
|
- }
|
|
|
- }, 1000);
|
|
|
+ if (this.userInfo.authStatus === 'SUCCESS') {
|
|
|
+ this.$refs.send.show = true;
|
|
|
+ } else {
|
|
|
+ this.$confirm('未认证不能转增,是否认证', '认证', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ customClass: 'myClass',
|
|
|
+ center: true
|
|
|
+ }).then(() => {
|
|
|
+ this.add();
|
|
|
+ this.$nextTick(() => {
|
|
|
+ console.log(this.lists);
|
|
|
+ setTimeout(() => {
|
|
|
+ if (this.userInfo.authStatus !== 'NOT_AUTH' && this.lists == false) {
|
|
|
+ this.add();
|
|
|
+ this.$router.push('/userauthentication');
|
|
|
+ }
|
|
|
+ }, 1000);
|
|
|
+ setTimeout(() => {
|
|
|
+ if (this.userInfo.authStatus !== 'NOT_AUTH' && this.lists == true) {
|
|
|
+ this.add();
|
|
|
+ this.$router.push('/enterpriseauthentication');
|
|
|
+ }
|
|
|
+ }, 1000);
|
|
|
+ });
|
|
|
});
|
|
|
- });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|