|
@@ -494,6 +494,15 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ matchType(type) {
|
|
|
|
+ for (let i in this.typeList) {
|
|
|
|
+ let item = this.typeList[i];
|
|
|
|
+ if(item.name == type) {
|
|
|
|
+ this.typeInfo = Object.assign(this.typeInfo, item);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
goPay( item ) {
|
|
goPay( item ) {
|
|
this.buyForm = Object.assign(this.buyForm, item)
|
|
this.buyForm = Object.assign(this.buyForm, item)
|
|
this.buyForm.company = this.userInfo.company;
|
|
this.buyForm.company = this.userInfo.company;
|
|
@@ -501,6 +510,7 @@
|
|
this.buyForm.courseName = item.name;
|
|
this.buyForm.courseName = item.name;
|
|
let isEdu = this.type == '施工现场专业人员';
|
|
let isEdu = this.type == '施工现场专业人员';
|
|
this.matchPromise(item);
|
|
this.matchPromise(item);
|
|
|
|
+ this.matchType(item.type)
|
|
// 绕开检查
|
|
// 绕开检查
|
|
// this.stage = 2;
|
|
// this.stage = 2;
|
|
// this.isCompanyPay = 1;
|
|
// this.isCompanyPay = 1;
|