|
@@ -74,10 +74,10 @@ export default {
|
|
this.$set(this, `sch`, sch);
|
|
this.$set(this, `sch`, sch);
|
|
this.$set(this, `verifyForm`, verifyForm);
|
|
this.$set(this, `verifyForm`, verifyForm);
|
|
this.$set(this, `form`, data);
|
|
this.$set(this, `form`, data);
|
|
- if (!(await this.checkVerify())) {
|
|
|
|
- this.$set(this, `active`, 1);
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!(await this.checkVerify())) {
|
|
|
|
+ // this.$set(this, `active`, 1);
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
if (this.active++ > 2) this.active = 0;
|
|
if (this.active++ > 2) this.active = 0;
|
|
},
|
|
},
|
|
async checkVerify() {
|
|
async checkVerify() {
|
|
@@ -101,7 +101,7 @@ export default {
|
|
async onSubmit(data) {
|
|
async onSubmit(data) {
|
|
let form = JSON.parse(JSON.stringify(this.form));
|
|
let form = JSON.parse(JSON.stringify(this.form));
|
|
form['identity'] = data.identity;
|
|
form['identity'] = data.identity;
|
|
- //连接后台接口
|
|
|
|
|
|
+ // 连接后台接口
|
|
let result = await this.corpReg({ data: form, schname: this.sch.name, schid: this.sch.code * 1 });
|
|
let result = await this.corpReg({ data: form, schname: this.sch.name, schid: this.sch.code * 1 });
|
|
this.$message({
|
|
this.$message({
|
|
type: `${result.errcode}` === '0' ? 'success' : 'error',
|
|
type: `${result.errcode}` === '0' ? 'success' : 'error',
|