|
@@ -432,7 +432,6 @@ $(function () {
|
|
|
//新增申诉
|
|
|
function addScore(info) {
|
|
|
let param = {};
|
|
|
- console.log(info);
|
|
|
if (info.type === '1') {
|
|
|
param = {
|
|
|
"appealExplain": info.appealExec,
|
|
@@ -444,7 +443,7 @@ $(function () {
|
|
|
"casesEntryName": info.entryName,
|
|
|
"checkId": info.userId,
|
|
|
"modeId": $("#subMenu [code=" + global_activeTab + "]").attr("mode"),
|
|
|
- "modeName": info.casesName,
|
|
|
+ "modeName": global_activeTab,
|
|
|
"remark": info.explainInfo,
|
|
|
"value": info.score,
|
|
|
"casesScore": info.caseScore,
|
|
@@ -463,19 +462,19 @@ $(function () {
|
|
|
"remark": info.explainInfo,
|
|
|
};
|
|
|
}
|
|
|
- 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": res.data.msg || '申诉失败,请重试~', type: "tip", win: 'default', time: '1000' });
|
|
|
-
|
|
|
- }
|
|
|
- }).catch(() => {
|
|
|
- $.alerModal({ "message": res.data.msg || '申诉失败,请重试~', 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": res.data.msg || '申诉失败,请重试~', type: "tip", win: 'default', time: '1000' });
|
|
|
+
|
|
|
+ // }
|
|
|
+ // }).catch(() => {
|
|
|
+ // $.alerModal({ "message": res.data.msg || '申诉失败,请重试~', type: "tip", win: 'default', time: '1000' });
|
|
|
+
|
|
|
+ // });
|
|
|
}
|
|
|
|
|
|
function getAppealDetail(id, flg, casesEntryId, qcresultDetailId) {
|