|
@@ -34,6 +34,7 @@ let defectName = getUrlArgObjectNew("defectName",srcUrl)||"";
|
|
|
let casesId = getUrlArgObjectNew("casesEntryId",srcUrl)||"";
|
|
|
let isSingleReject = getUrlArgObjectNew("isSingleReject",srcUrl)||""
|
|
|
let deptListDept = JSON.parse(getCookie("deptList"))||[]
|
|
|
+let isInspection = getUrlArgObjectNew("isInspection", srcUrl) || ""
|
|
|
let currentPage;
|
|
|
listenScroll()
|
|
|
$(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
@@ -1189,7 +1190,7 @@ $(function($){
|
|
|
$.alerModal({"message":`最多只能导出${exportTime}天`,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
|
}
|
|
|
- const param = {
|
|
|
+ let param = {
|
|
|
behospitalCode: behospitalCode,
|
|
|
patName: name, //病人姓名
|
|
|
level:level,//病历等级
|
|
@@ -1215,8 +1216,14 @@ $(function($){
|
|
|
mrTimeStart: fpCheckDateStart.replace(/\//g,'-'), //首页核查起始时间
|
|
|
mrTimeEnd: fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
|
|
|
}
|
|
|
- expJson(api.unModifyMRPageExport,param).then(res =>{
|
|
|
- downloadExportedData(res.data, $(".partTitle").text()+".xls")
|
|
|
+ if (isInspection) {
|
|
|
+ param = { ...param, casesEntryName: ''}
|
|
|
+ }
|
|
|
+ // expJson(api.unModifyMRPageExport,param).then(res =>{
|
|
|
+ // downloadExportedData(res.data, $(".partTitle").text()+".xls")
|
|
|
+ // })
|
|
|
+ expJson(!isInspection ? api.unModifyMRPageExport : api.medicalCheckInnerExport , param).then(res => {
|
|
|
+ downloadExportedData(res.data, $(".partTitle").text() + ".xls")
|
|
|
})
|
|
|
})
|
|
|
});
|