|
@@ -2,7 +2,7 @@ const $ = require('jquery');
|
|
|
require("../css/qcListDeptYw.less");
|
|
|
require('./modal.js');
|
|
|
const {api} = require('./api.js')
|
|
|
-const {post,getCookie,getLocal,getUrlArgObjectNew,emptyBox,downloadExportedData,expJson,getLogoParam,listenScroll,exportTimeLimit} = require('./utils.js')
|
|
|
+const {post,getCookie,setCookie,getLocal,getUrlArgObjectNew,emptyBox,downloadExportedData,expJson,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")
|
|
@@ -1188,6 +1188,7 @@ $((function($){
|
|
|
$.alerModal({"message":`最多只能导出${time}天`,type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
|
return
|
|
|
}
|
|
|
+ setCookie('excelName', behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况");
|
|
|
expJson(api.qualityControlExportByDept,param).then(res =>{
|
|
|
$(".divModal", parent.document).remove()
|
|
|
downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
|
|
@@ -1219,6 +1220,7 @@ function bindSaveColPort(param){
|
|
|
return
|
|
|
}
|
|
|
param.radioCheck = radioCheck||1
|
|
|
+ setCookie('excelName', behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况");
|
|
|
expJson(api.qualityControlExportByDept,param).then(res =>{
|
|
|
$(".divModal", parent.document).remove()
|
|
|
downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
|