1178232204@qq.com 3 rokov pred
rodič
commit
118020e074
2 zmenil súbory, kde vykonal 6 pridanie a 3 odobranie
  1. 1 0
      src/js/appealHistory.js
  2. 5 3
      src/js/appealUserPage.js

+ 1 - 0
src/js/appealHistory.js

@@ -544,6 +544,7 @@ function addAppealInfo(data) {
         casesEntryId: data.casesEntryId,
         qcresultDetaiValue: data.qcresultDetaiValue,
         qcresultDetailMsg: data.qcresultDetailMsg,
+        casesEntryMsg: data.qcresultDetailMsg,
         msg: data.msg,
         value: data.value,
         remark: data.remark,

+ 5 - 3
src/js/appealUserPage.js

@@ -510,6 +510,7 @@ $(function () {
     $("#delModal .confirm").show();
     if (flag === '0') {   //申诉
       getCheckUser(); //获取审核人列表
+      getQcCasesEntry()
       const flawsList = formatFlawKeys(global_flawData);
       const info = JSON.parse(JSON.stringify(flawsList[global_activeTab])) && JSON.parse(JSON.stringify(flawsList[global_activeTab][i]))
       let defectContent
@@ -602,6 +603,7 @@ $(function () {
       getAppealDetail(code, i, id, qcresultDetailId);
     } else if (flag === '2') {   //新增
       getCheckUser(); //获取审核人列表
+      getQcCasesEntry()
       $("#delModal .title").text("申诉新增");
       $("#delModal .modal-box").css("margin-top", "-281px");
       //新增项模板
@@ -669,9 +671,9 @@ $(function () {
         const explainInfo = $("#delModal #addQcInfo").val();
         const appealExec = $("#delModal #addQcEx").val();   //申诉说明
         const userId = $(".checker-drop-input").attr("code");
-        if ($(".edit-box .warning").is(":visible")) {
-          return;
-        }
+        // if ($(".edit-box .warning").is(":visible")) {
+        //   return;
+        // }
         if (!userId) {
           $(".add-box .warning .red").text("请选择审核人~");
           $(".add-box .warning").show();