1178232204@qq.com 3 лет назад
Родитель
Сommit
9be98f7a5d
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      src/js/appealUserPage.js

+ 13 - 13
src/js/appealUserPage.js

@@ -454,19 +454,19 @@ $(function () {
       };
     }
 
-    // post(api.addAppealInfo, param).then(function (res) {
-    //   if (res.data.code === '0') {
-    //     $("#delModal").hide();
-    //     //updateFlaws(res.data.data);
-    //     $.alerModal({ "message": "申诉成功", type: "tip", win: true, time: '1000' });
-    //   } else {
-    //     $.alerModal({ "message": "申诉失败,请重试~", type: "tip", win: 'default', time: '1000' });
-
-    //   }
-    // }).catch(() => {
-    //   $.alerModal({ "message": "申诉失败,请重试~", type: "tip", win: 'default', time: '1000' });
-
-    // });
+    post(api.addAppealInfo, param).then(function (res) {
+      if (res.data.code === '0') {
+        $("#delModal").hide();
+        //updateFlaws(res.data.data);
+        $.alerModal({ "message": "申诉成功", type: "tip", win: true, time: '1000' });
+      } else {
+        $.alerModal({ "message": "申诉失败,请重试~", type: "tip", win: 'default', time: '1000' });
+
+      }
+    }).catch(() => {
+      $.alerModal({ "message": "申诉失败,请重试~", type: "tip", win: 'default', time: '1000' });
+
+    });
   }
 
   function getAppealDetail(id, flg, casesEntryId, qcresultDetailId) {