|
@@ -480,8 +480,8 @@
|
|
uploadBuyImg(url) {
|
|
uploadBuyImg(url) {
|
|
this.buyForm.buyImg = url;
|
|
this.buyForm.buyImg = url;
|
|
},
|
|
},
|
|
- matchPromise( name ){
|
|
|
|
- let type = this.type;
|
|
|
|
|
|
+ matchPromise( row ){
|
|
|
|
+ let {name,type} = row;
|
|
let isMatch = false
|
|
let isMatch = false
|
|
for( let i in this.promiseList){
|
|
for( let i in this.promiseList){
|
|
let item = this.promiseList[i];
|
|
let item = this.promiseList[i];
|
|
@@ -500,7 +500,7 @@
|
|
this.buyForm.temp = item;
|
|
this.buyForm.temp = item;
|
|
this.buyForm.courseName = item.name;
|
|
this.buyForm.courseName = item.name;
|
|
let isEdu = this.type == '施工现场专业人员';
|
|
let isEdu = this.type == '施工现场专业人员';
|
|
- this.matchPromise(item.name);
|
|
|
|
|
|
+ this.matchPromise(item);
|
|
// 绕开检查
|
|
// 绕开检查
|
|
// this.stage = 2;
|
|
// this.stage = 2;
|
|
// this.isCompanyPay = 1;
|
|
// this.isCompanyPay = 1;
|