Przeglądaj źródła

更新骑手申诉

zhuxiuping 2 lat temu
rodzic
commit
853c754b0e
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      src/views/business/business.vue

+ 6 - 6
src/views/business/business.vue

@@ -450,9 +450,9 @@
         }
         if (this.status == 6) {
           this.$http({
-            url: this.$http.adornUrl('admin/errandComplaint/updateComplaintState'),
-            method: 'post',
-            data: this.$http.adornData({
+            url: this.$http.adornUrl('admin/errandComplaint/updateCustomerComplaint'),
+            method: 'get',
+            params: this.$http.adornParams({
               'complaintState': this.status,
               'auditMessage': this.content,
               'complaintId': this.complaintId
@@ -537,9 +537,9 @@
         this.status = 1
         this.content = '同意'
         this.$http({
-          url: this.$http.adornUrl('admin/errandComplaint/updateComplaintState'),
-          method: 'post',
-          data: this.$http.adornData({
+          url: this.$http.adornUrl('admin/errandComplaint/updateCustomerComplaint'),
+          method: 'get',
+          params: this.$http.adornParams({
             'complaintState': this.status,
             'auditMessage': '审核通过',
             'complaintId': row.complaintId