Bladeren bron

lrl - 修改后台接口

lirl 3 jaren geleden
bovenliggende
commit
49d391127a
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      src/views/energyPlan/components/supplyAndDemand/weightAdjustment.vue

+ 6 - 6
src/views/energyPlan/components/supplyAndDemand/weightAdjustment.vue

@@ -570,7 +570,7 @@ export default {
                             color: 'rgb(28, 111, 217)'
                         },
                         '2': {
-                            name: '部门领导已批准',
+                            name: '国贸已批准',
                             color: 'rgb(28, 111, 217)'
                         },
                         '3': {
@@ -1600,6 +1600,7 @@ export default {
                                 auditStatus: '1',
                                 planWeightOld: that.tableFormDataObj[key].planWeightOld
                             });
+                        }
                            that.loading = true;
                            that.axios.put('pass/ems/v1/emsprodplanweightadjustments/submitaudit', SubmitData)
                             .then(function (res) {
@@ -1617,7 +1618,6 @@ export default {
                             }).catch(function () {
                                 that.loading = false;
                             });
-                        }
                     }
                 });
             } else {
@@ -1635,6 +1635,7 @@ export default {
                         SubmitData.push({
                             id: that.tableFormDataObj[key].id
                         });
+                    }
                         that.loading = true;
                         that.axios.put('pass/ems/v1/emsprodplanweightadjustments/approval/', SubmitData)
                           .then(function (res) {
@@ -1652,7 +1653,6 @@ export default {
                           }).catch(function () {
                               that.loading = false;
                           })
-                    }
                 }
             });
         } else {
@@ -1684,6 +1684,7 @@ export default {
                         SubmitData.push({
                             id: that.tableFormDataObj[key].id
                         });
+                    }
                         that.loading = true;
                         that.axios.put('pass/ems/v1/emsprodplanweightadjustments/nopass/', SubmitData)
                           .then(function (res) {
@@ -1701,7 +1702,6 @@ export default {
                           }).catch(function () {
                               that.loading = false;
                           })
-                    }
                 }
             });
         } else {
@@ -1718,6 +1718,7 @@ export default {
                         SubmitData.push({
                             id: that.tableFormDataObj[key].id
                         });
+                    }
                         that.loading = true;
                         that.axios.put('pass/ems/v1/emsprodplanweightadjustments/rejected/', SubmitData)
                           .then(function (res) {
@@ -1735,7 +1736,6 @@ export default {
                           }).catch(function () {
                               that.loading = false;
                           })
-                    }
                 }
             });
         } else {
@@ -1752,6 +1752,7 @@ export default {
                         SubmitData.push({
                             id: that.tableFormDataObj[key].id
                         });
+                    }
                         that.loading = true;
                         that.axios.put('pass/ems/v1/emsprodplanweightadjustments/agreement/', SubmitData)
                           .then(function (res) {
@@ -1769,7 +1770,6 @@ export default {
                           }).catch(function () {
                               that.loading = false;
                           })
-                    }
                 }
             });
         } else {