|
@@ -50,7 +50,7 @@ $(".abnormalClear").click(function () {
|
|
|
deptNameTemp = "";
|
|
|
casesEntryId = "";
|
|
|
setDatePicker($("#datepicker"), $("#datepicker2"), "default")
|
|
|
- $(".selectDept").attr({ 'title': "", 'data-id': '' }).val("")
|
|
|
+ $(".selectDept").attr({ 'title': "首次病程未在患者入院8小时内完成(杭州七院标准版)", 'data-id': '' }).val("首次病程未在患者入院8小时内完成(杭州七院标准版)")
|
|
|
$('.patientNumInp').val('')
|
|
|
$("th[code]").removeClass("asc desc")
|
|
|
//behospitalCode =behospitalCodeTemp= ""
|
|
@@ -149,7 +149,7 @@ $(".filter").on("click", function (e) {
|
|
|
deptName = deptNameTemp;
|
|
|
behospitalCode = behospitalCodeTemp;
|
|
|
if (deptName == "") {
|
|
|
- $(".selectDept").attr({ 'title': "入院记录未在患者入院24小时内完成(杭州七院标准版)", 'data-id': '' }).val("入院记录未在患者入院24小时内完成(杭州七院标准版)")
|
|
|
+ $(".selectDept").attr({ 'title': "首次病程未在患者入院8小时内完成(杭州七院标准版)", 'data-id': '' }).val("首次病程未在患者入院8小时内完成(杭州七院标准版)")
|
|
|
}
|
|
|
getTabData(1)
|
|
|
})
|
|
@@ -173,6 +173,11 @@ function renderTab(data, hisId, activePage) {
|
|
|
|
|
|
let str = ``
|
|
|
|
|
|
+ if(data.length===0){
|
|
|
+ $('.key-list tbody').html(emptyBox())
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
const item = data[i];
|
|
|
const pageSize = 15;
|
|
@@ -186,6 +191,7 @@ function renderTab(data, hisId, activePage) {
|
|
|
|
|
|
let str = ``;
|
|
|
|
|
|
+
|
|
|
// 遍历当前页的数据并生成表格行
|
|
|
for (let i = 0; i < currentPageData.length; i++) {
|
|
|
const item = currentPageData[i];
|
|
@@ -225,7 +231,7 @@ function renderTab(data, hisId, activePage) {
|
|
|
}
|
|
|
// console.log(str);
|
|
|
|
|
|
- $('.key-list tbody').html(str ? str : emptyBox())
|
|
|
+ $('.key-list tbody').html(str?str:emptyBox())
|
|
|
/*bindScoreDetail(hisId)*/
|
|
|
// 跳转至详情页
|
|
|
$(".goHomeDetail").click(function () {
|
|
@@ -614,14 +620,22 @@ $(function () {
|
|
|
"endDate": endDateParam.replace(/\//g, '-')
|
|
|
|
|
|
}
|
|
|
- if (start - end > limitTime) {
|
|
|
- $.alerModal({ "message": '最多只能导出90天', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
- return
|
|
|
- } else {
|
|
|
- expJson(api.AdmunModifyMRSExportByDept, param).then(res => {
|
|
|
- downloadExportedData(res.data, "时效性相关统计管理员.xls")
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (start - end > limitTime) {
|
|
|
+ // $.alerModal({ "message": '最多只能导出90天', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
+ // return
|
|
|
+ // } else {
|
|
|
+ // expJson(api.AdmunModifyMRSExportByDept, param).then(res => {
|
|
|
+ // downloadExportedData(res.data, "时效性相关统计管理员.xls")
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // 直接调用导出函数,不设置时间限制
|
|
|
+ expJson(api.AdmunModifyMRSExportByDept, param).then(res => {
|
|
|
+ downloadExportedData(res.data, "时效性相关统计管理员.xls");
|
|
|
+ }).catch(error => {
|
|
|
+ // 添加错误处理,以便于在导出失败时给出提示
|
|
|
+ $.alerModal({ "message": '导出数据失败', type: "error", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
+ });
|
|
|
+
|
|
|
// 初始渲染TableTitle
|
|
|
// getPageSet().then(res =>{
|
|
|
// $(".filter").click(); //初始查询
|