Browse Source

取值字段修改

1178232204@qq.com 3 năm trước cách đây
mục cha
commit
ec315da189
2 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 1 1
      src/html/appealUserPage.html
  2. 2 3
      src/js/appealUserPage.js

+ 1 - 1
src/html/appealUserPage.html

@@ -185,7 +185,7 @@
             <p><span>评分: </span> -${score}</p>
             {{/if}}
             <p><span>操作类型: </span>${appealOperationType == 3 ? '恢复条目' : appealOperationType == 1 ? '新增已有条目' : appealOperationType == 2 ? '新增缺失条目' : '删改条目'}</p>
-            <p><span>缺陷详情: </span>${standardMsg}</p>
+            <p><span>缺陷详情: </span>${msg}</p>
             <div class="drop-box checker-drop-box">
             <span><i class="required">*</i>审核人: </span>
                 <span type="text" class="checker-drop-input ellipsis"></span>

+ 2 - 3
src/js/appealUserPage.js

@@ -432,6 +432,7 @@ $(function () {
   //新增申诉
   function addScore(info) {
     let param = {};
+    console.log(info);
     if (info.type === '1') {
       param = {
         "appealExplain": info.appealExec,
@@ -507,7 +508,6 @@ $(function () {
     $("#delModal .confirm").off("click");
     $("#addQcScore,#addQcMsg,#addQcInfo").off("input");
     $("#delModal .confirm").show();
-    console.log(123);
     if (flag === '0') {   //申诉
       const flawsList = formatFlawKeys(global_flawData);
       const info = JSON.parse(JSON.stringify(flawsList[global_activeTab])) && JSON.parse(JSON.stringify(flawsList[global_activeTab][i]))
@@ -523,7 +523,6 @@ $(function () {
       } else if (info.isDeleted == 'Y') {
         info.appealOperationType = 3
       }
-      console.log(info);
       if(info.pageKeyList[0]){
         defectContent = $("#anchor" + info.pageKeyList[0] + " p").html()
       }
@@ -586,7 +585,7 @@ $(function () {
           casesEntryId: info.casesEntryId,
           isReject: info.isReject,
           qcresultDetaiValue: info.score,
-          qcresultDetailMsg: info.standardMsg,
+          qcresultDetailMsg: info.msg,
           defectContent:defectContent
         };
         appealItem(obj);