1178232204@qq.com 3 rokov pred
rodič
commit
08b61541f0
2 zmenil súbory, kde vykonal 12 pridanie a 4 odobranie
  1. 1 1
      src/js/appealExamine.js
  2. 11 3
      src/js/appealUserPage.js

+ 1 - 1
src/js/appealExamine.js

@@ -63,9 +63,9 @@ function getApprovedView() {
                 casesEntryMsg: data.casesEntryMsg,
                 remark: data.remark,
                 behospitalCode: data.behospitalCode,
+                modeId: data.modeId,
                 qcResultAlgVO: {
                     casesEntryId: casesEntryId,
-                    modeId: data.modeId,
                     id: data.qcresultDetailId,
                     casesScore: data.appealExamineRecordDTOList[0].casesScore,
                     msg: data.appealExamineRecordDTOList[0].msg,

+ 11 - 3
src/js/appealUserPage.js

@@ -164,9 +164,10 @@ $(function () {
           mItems.parents(".list-1").addClass("slide-up");
           mItems.parents("ul").show()
           //  //显示对应内容
-          getQcCasesEntry();
+         
           //initModuleData();
           global_activeTab = $(".sub-menu .page.active").attr("code");
+          getQcCasesEntry();
           showFlawList();
           $("#contentInfo").scrollTop(0)
         } else {
@@ -219,7 +220,6 @@ $(function () {
   //填充患者信息
   function initPatientInfo(data) {
     const obj = Object.assign({}, data, { checkState: global_check, checkStateHome: global_check_home });
-
     $("#infoTmpl").tmpl(obj).appendTo("#patientInfo");
     /*$(".check").on("click", function(){
       checkQc()
@@ -506,6 +506,7 @@ $(function () {
     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]))
+      let defectContent
       if (info.appealOperationType == 1) {
         if (info.exampleStatus == 2) {
           info.appealOperationType = 0
@@ -517,11 +518,16 @@ $(function () {
       } else if (info.isDeleted == 'Y') {
         info.appealOperationType = 3
       }
+      if(info.pageKeyList[0]){
+        defectContent = $("#anchor" + info.pageKeyList[0] + " p").html()
+      }
       $("#delModal .title").text("申诉");
       $("#delModal .modal-box").css("margin-top", "-215px");
       $("#editTmpl").tmpl(info).appendTo("#delModal .modal-body");
       $("#flawDropTmpl").tmpl({ info: global_checkers }).appendTo("#delModal .modal-body ul");
       $("#qcInfo").off("input");
+      
+      
       //申诉说明输入验证
       const num = 500;
       $("#qcInfo").on("input", function () {
@@ -560,6 +566,7 @@ $(function () {
           $(".edit-box .warning").show();
           return;
         }
+        
         const obj = {
           appealExplain: $("#delModal #qcInfo").val(),
           appealOperationType: info.appealOperationType ? info.appealOperationType : 0,
@@ -573,7 +580,8 @@ $(function () {
           casesEntryId: info.casesEntryId,
           isReject: info.isReject,
           qcresultDetaiValue: info.score,
-          qcresultDetailMsg: info.standardMsg
+          qcresultDetailMsg: info.standardMsg,
+          defectContent:defectContent
         };
         appealItem(obj);
       });