浏览代码

问题修改

1178232204@qq.com 3 年之前
父节点
当前提交
03e1c99d0c
共有 4 个文件被更改,包括 155 次插入107 次删除
  1. 63 42
      src/js/appealCheck.js
  2. 14 18
      src/js/appealExamine.js
  3. 74 46
      src/js/appealHistory.js
  4. 4 1
      src/js/index.js

文件差异内容过多而无法显示
+ 63 - 42
src/js/appealCheck.js


+ 14 - 18
src/js/appealExamine.js

@@ -3,22 +3,9 @@ require("../css/appealExamine.less");
 require('./modal.js');
 require('jquery-templates');
 const { api } = require('./api.js')
-const { post, getCookie, getLocal, getUrlArgObjectNew, emptyBox, downloadExportedData, expJson, getLogoParam, listenScroll, getPickerDate, exportTimeLimit } = require('./utils.js')
+const { post, getCookie, getUrlArgObjectNew, getLogoParam, listenScroll, exportTimeLimit } = require('./utils.js')
 require('./../resource/jquery-ui/jquery-ui.min.js');
 require('./../resource/jquery-ui/jquery-ui.min.css');
-const iconCheck = require("./../images/icon_check.png")
-const iconUnCheck = require("./../images/icon_unchecked.png")
-const iconCalenBlue = require("./../images/icon_calen_blue.png")
-const iconCalenGrey = require("./../images/icon_calen_grey.png")
-const iconDown = require("./../images/arrow_down.png")
-const iconUp = require("./../images/arrow_up.png")
-const loadingImg = require("./../images/loading.gif")
-const arrowLeft = require("./../images/arrow_left.png")
-const arrowRight = require("./../images/arrow_right.png")
-const goUpG = require("./../images/arrow_up_grey.png")
-const goUpB = require("./../images/arrow_up_blue.png")
-const goDownG = require("./../images/arrow_down_grey.png")
-const goDownB = require("./../images/arrow_down_blue.png")
 listenScroll()
 let srcUrl = $("#contentIframe", parent.document).attr("src")
 const id = getUrlArgObjectNew("id", srcUrl) || "";
@@ -29,6 +16,15 @@ const qcresultDetailId = getUrlArgObjectNew("qcresultDetailId", srcUrl) || "";
 const appealOperationType = getUrlArgObjectNew("appealOperationType", srcUrl) || "";
 const form = getUrlArgObjectNew("form", srcUrl) || "";
 const page = getUrlArgObjectNew("page", srcUrl) || "";
+let behosDateStart = getUrlArgObjectNew("behosDateStart", srcUrl) || ""
+let behosDateEnd = getUrlArgObjectNew("behosDateEnd", srcUrl) || ""
+let deptId = getUrlArgObjectNew("deptId", srcUrl) || ""
+let deptName = getUrlArgObjectNew("deptName", srcUrl) || ""
+let moduleName = getUrlArgObjectNew("moduleName", srcUrl) || ""
+let name = getUrlArgObjectNew("name", srcUrl) || ""
+let operationType = getUrlArgObjectNew("operationType", srcUrl) || ""
+let state = getUrlArgObjectNew("state", srcUrl) || ""
+let patientName = getUrlArgObjectNew("patientName", srcUrl) || ""
 let appealInfo, appealExamineRecordDTOList, auditNumber;
 (function () {
     getApprovedView()
@@ -55,7 +51,7 @@ function getApprovedView() {
             console.log();
             appealExamineRecordDTOList = {
                 casesEntryName: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].casesEntryName,
-                value: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].value ,
+                value: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].value,
                 msg: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].casesEntryMsg,
                 explainInfo: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].appealRemark,
             };
@@ -70,7 +66,7 @@ function getApprovedView() {
                     casesEntryId: casesEntryId,
                     id: data.qcresultDetailId,
                     casesScore: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].casesScore,
-                    msg: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].msg,
+                    msg: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].casesEntryMsg,
                     score: data.qcresultDetaiValue,
                     isReject: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].isReject,
                     explainInfo: data.appealExamineRecordDTOList[data.appealExamineRecordDTOList.length - 1].appealRemark,
@@ -222,10 +218,10 @@ $(document).on("click", ".btn-sure", (e) => {
 $(document).on("click", ".goback", (e) => {
     console.log(form);
     if (form == 1 || form == 2) {
-        $(parent.document).find("#contentIframe").attr("src", './appealCheck.html?page=' + page);
+        $(parent.document).find("#contentIframe").attr("src", './appealCheck.html?page=' + page + "&name=" + name + "&operationType=" + operationType + "&state=" + state + "&behosDateStart=" + behosDateStart + "&behosDateEnd=" + behosDateEnd + "&deptId=" + deptId + "&deptName=" + deptName + "&moduleName=" + moduleName);
     } else {
         console.log(123);
-        $(parent.document).find("#contentIframe").attr("src", './appealHistory.html?page=' + page);
+        $(parent.document).find("#contentIframe").attr("src", './appealHistory.html?page=' + page+ "&patientName=" + patientName + "&name=" + name + "&operationType=" + operationType + "&state=" + state + "&behosDateStart=" + behosDateStart + "&behosDateEnd=" + behosDateEnd + "&deptId=" + deptId + "&deptName=" + deptName + "&moduleName=" + moduleName);
     }
 
 });

文件差异内容过多而无法显示
+ 74 - 46
src/js/appealHistory.js


+ 4 - 1
src/js/index.js

@@ -334,7 +334,10 @@ function userActionHide(e) {
 window.userActionHide = userActionHide
 //获取待审核数量
 function getAuditNumber() {
-  return post(api.getAuditNumber, {}).then(res => {
+  isPlacefile = getCookie('isPlacefile') || 1
+  return post(api.getAuditNumber, {
+    analyzeType:isPlacefile
+  }).then(res => {
     if (res.data.code == '0') {
       auditNumber = res.data.data > 99 ? '99+' : res.data.data
     } else {