Explorar o código

Merge branch 'appeal0121' into test

1178232204@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
0a5a3f98f9
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 0 2
      src/html/appealUserPage.html
  2. 4 2
      src/js/appealUserPage.js

+ 0 - 2
src/html/appealUserPage.html

@@ -159,9 +159,7 @@
                 {{/if}}
                 {{if exampleStatus!=="0"}}
                 <div class="oper fr">
-                    {{if onAppeal<"0"}}
                     <a class="edit-flaw blue" code="${id}" href="javascript:void(0);" style="margin-right: 18px;">申诉</a>
-                    {{/if}}
                 </div>
                 {{/if}}
             </div>

+ 4 - 2
src/js/appealUserPage.js

@@ -376,10 +376,11 @@ $(function () {
     }
     showFlawList();
     $(".flaw-item .oper a").unbind("click").click(function () {
+      console.log(123);
       const i = $(".flaw-item[code=" + global_activeTab + "]").index($(this).parents(".flaw-item"));
       const code = $(this).attr("code");
       showModal('0', code, i);  //申诉
-
+      
       //审核人下拉渲染
       $("#delModal .checker-drop-box ul").html("");
       $("#flawDropTmpl").tmpl({ info: global_checkers }).appendTo("#delModal .checker-drop-box ul");
@@ -506,7 +507,7 @@ $(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]))
@@ -522,6 +523,7 @@ $(function () {
       } else if (info.isDeleted == 'Y') {
         info.appealOperationType = 3
       }
+      console.log(info);
       if(info.pageKeyList[0]){
         defectContent = $("#anchor" + info.pageKeyList[0] + " p").html()
       }