ソースを参照

Merge branch 'appeal0121' into test

1178232204@qq.com 3 年 前
コミット
503196cb2f
3 ファイル変更6 行追加7 行削除
  1. 2 2
      src/js/appealCheck.js
  2. 2 2
      src/js/appealHistory.js
  3. 2 3
      src/js/appealUserPage.js

+ 2 - 2
src/js/appealCheck.js

@@ -59,8 +59,8 @@ function getTabData(activePage) {
         state: state,
         size: 15,
         name: nameTemp,
-        complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
-        complaintDateStart: behosDateStart.replaceAll("/", "-"),
+        complaintDateEnd: behosDateEnd.replace(/\//g, '-'),
+        complaintDateStart: behosDateStart.replace(/\//g, '-'),
     }
     $('.pagination').html("")
     $('.tbody').html(emptyBox('努力加载中...', '',))

+ 2 - 2
src/js/appealHistory.js

@@ -63,8 +63,8 @@ function getTabData(activePage) {
         state: state,
         size: 15,
         name: $('.patientNameInp').val(),
-        complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
-        complaintDateStart: behosDateStart.replaceAll("/", "-"),
+        complaintDateEnd: behosDateEnd.replace(/\//g, '-'),
+        complaintDateStart: behosDateStart.replace(/\//g, '-'),
     }
     $('.pagination').html("")
     $('.tbody').html(emptyBox('努力加载中...', '',))

+ 2 - 3
src/js/appealUserPage.js

@@ -419,6 +419,7 @@ $(function () {
   //新增申诉
   function addScore(info) {
     let param = {};
+    console.log(info);
     if (info.type === '1') {
       param = {
         "appealExplain": info.appealExec,
@@ -445,7 +446,6 @@ $(function () {
         "appealType": 1,
         "behospitalCode": global_id,
         "checkId": info.userId,
-        "casesId": info.casesId,
         "modeName": info.modelName,
         "remark": info.explainInfo
       };
@@ -536,7 +536,6 @@ $(function () {
         if ($(".edit-box .warning").is(":visible")) {
           return;
         }
-        console.log(info);
         const obj = {
           appealExplain: $("#delModal #qcInfo").val(),
           appealOperationType: info.appealOperationType ? info.appealOperationType : 0,
@@ -553,7 +552,7 @@ $(function () {
           qcresultDetaiValue: info.score,
           qcresultDetailMsg:info.standardMsg
         };
-        // appealItem(obj);
+        appealItem(obj);
       });
     } else if (flag === '1') {   //查看
       $("#delModal .title").text("查看");