新增统计列表展开明细

gaoming_branch
ALW 3 years ago
parent a81a71118f
commit 764c8bb8d1

@ -160,6 +160,26 @@ public class beHospitaledController {
}
}
@ResponseBody
@RequestMapping(value = "/beHospList1")
public OffsetLimitPage beHospList1(Archive_Master_Vo archiveMasterVo, Integer offset, Integer limit,Integer isSearch,HttpServletRequest request){
//判断是否是初始化查询,是初始化查询把开始结束时间置空
archiveMasterVo.setStartDateTo(null);
archiveMasterVo.setEndDateTo(null);
try {
return archiveMasterService.selectByColumn(archiveMasterVo, offset, limit,request);
} catch (Exception e) {
ExceptionPrintUtil.printException(e);
e.printStackTrace();
return null;
}
}
@ResponseBody
@RequestMapping(value = "/exportExcel")
public void exportExcel(HttpServletResponse response, HttpServletRequest request,Archive_Master_Vo archiveMasterVo,Integer isSearch){

@ -186,17 +186,17 @@ public class ArchiveOtherExtService {
String idsTemp = idsStr;
//存在护理记录则调用护理按需采集功能
//20220909注释按需采集护理的单独处理逻辑护理不在按照之前按需一个护理其它的所有的护理都要从新采集
// if(null != sysFlag && sysFlag == 1) {
// //调用护理按需采集功能
// archiveOtherService.updateArchiveOther(jzh, masterId,null,null);
// //ext表更新非护理记录
// if(StringUtils.isNotBlank(notNursingIds)){
// idsTemp = splitString2String(notNursingIds);
// }
// }
if(null != sysFlag && sysFlag == 1) {
//调用护理按需采集功能
archiveOtherService.updateArchiveOther(jzh, masterId,null,null);
//ext表更新非护理记录
if(StringUtils.isNotBlank(notNursingIds)){
idsTemp = splitString2String(notNursingIds);
}
}
// if (null != sysFlag && sysFlag == 3){
//// archiveOtherService.updateArchiveOtherExt(ids)
//// }
// archiveOtherService.updateArchiveOtherExt(ids)
// }
//ext表更新非护理记录
if(StringUtils.isNotBlank(notNursingIds)){

@ -778,7 +778,7 @@ function initTable() {
' <table id="table1" class="table text-nowrap"></table>\n' +
' </div>';
$detail.html(html);
initTable1();
initTable1(row);
}
});
}
@ -786,9 +786,9 @@ function initTable() {
//第二层,按科室分组查
function initTable1() {
function initTable1(row) {
$("#table1").bootstrapTable({ // 对应table标签的id
url: path + "/statistics/getRecordStatisticsGroupDept", // 获取表格数据的url
url: path + "/beHosp/beHospList1", // 获取表格数据的url
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
striped: true, //表格显示条纹默认为false
pagination: true, // 在表格底部显示分页组件默认false
@ -804,6 +804,9 @@ function initTable1() {
searchTimeOut: 500,// 默认500 设置搜索超时时间。
showHeader: true,//是否显示列头。
//查询条件
queryParams: function (params) {
return queryParams(params,this,row);
},
columns: [
{
title: '序号',
@ -813,44 +816,45 @@ function initTable1() {
}
},
{
title: '出院科室',
field: 'deptNameCn',
title: '住院号',
field: 'inpNo',
align: 'left'
},
{
title: '出院人数',
field: 'allRecordCount',
title: '住院次数',
field: 'visitId',
align: 'center'
},
{
title: '总文件数',
field: 'allFileCount',
title: '姓名',
field: 'name',
align: 'center'
},
{
title: '总页数',
field: 'allPageCount',
title: '性别',
field: 'sex',
align: 'center'
},
{
title: '自动采集总文件数',
field: 'autoCollectionFileCount',
title: '出院科室',
field: 'deptName',
align: 'center'
},
{
title: '自动采集总页数',
field: 'autoCollectionPageCount',
title: '出院日期',
field: 'dischargeDateTime',
align: 'center'
},
{
title: '扫描上传总文件数',
field: 'manualScanFileCount',
title: '主管医生',
field: 'doctorInCharge',
align: 'center'
},
{
title: '扫描上传总页数',
field: 'manualScanPageCount',
align: 'center'
title: '状态',
field: 'status',
align: 'center',
formatter:paramsMatter
},
],
onLoadSuccess: function (result) { //加载成功时执行
@ -870,6 +874,49 @@ function initTable1() {
});
}
//格式化状态
function paramsMatter(value, row) {
var result = '';
if(row.days > 0){
result = '<span style="color:red">(超期)</span></span>';
}
if(value == null){
value = '';
}
if(result != '') {
return '<p title="' + value + '">' + result + row.currentStatus + '</p>';
}
return value;
}
//各表格查询条件
function queryParams(params,_this,row){
var currPageSize = _this.pageSize;
if (currPageSize == 2) {
currPageSize = 10;
}
var limit = null;
var offset = params.offset;
//判断是否导出全部all
if ($("#sel_exportoption").val() == "all") {
offset = 0;
limit = _this.totalRows;
_this.pageSize = limit;
} else {
limit = currPageSize;
_this.pageSize = currPageSize;
}
var deptName = row.deptCode;
var temp = {
offset:offset,
limit:limit,
deptName:deptName
};
return temp;
}
//查询
$('#searchBtn').click(function () {
//查询之后重新从第一页算起

Loading…
Cancel
Save