Ver código fonte

匹配承诺书

y595705120 3 dias atrás
pai
commit
5bebc2d966

+ 2 - 2
src/containers/center/market/index.vue

@@ -449,8 +449,8 @@
         }
         this.width = width + "px";
       },
-      matchPromise(item) {
-        let {type,name} = item;
+      matchPromise(row) {
+        let {type,name} = row;
         let isMatch = false
         for (let i in this.promiseList) {
           let item = this.promiseList[i];

+ 3 - 3
src/containers/center/market/trainIndex.vue

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