调整样式

master
zengwh 5 years ago
parent 65ce926851
commit 45256f2066

4
.gitignore vendored

@ -1,3 +1,3 @@
/target/
target
/.idea/
emr_medical_record.iml
*.iml

@ -73,13 +73,15 @@
* 判断出院时间是否是1801-02-03
* */
function operDisTime(value){
if(value != '' && '1801-02-03' == value.substring(0, 10)){
value = '';
}
if(value.length >= 19){
return value.substring(0, 19);
}else{
return value;
if(value != '' && value != null){
if (value.length >= 10 && '1801-02-03' == value.substring(0, 10)) {
value = '';
}
if(value.length >= 19){
return value.substring(0, 19);
}else{
return value;
}
}
}
//封装改变日期方法

@ -167,14 +167,14 @@
</head>
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<input type="hidden" id="isSearch" value="1">
<!--拥有的审核角色的id-->
<input type="hidden" id="currentRoleIds">
<!--当前roleIndex-->
<input type="hidden" id="currentRole">
<!--当前操作角色-->
<input type="hidden" id="checker">
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -205,11 +205,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
<input type="text" class="input-sm form-control" name="start" id="startDateTo" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDateTo1"/>
<input type="text" class="input-sm form-control" name="end" id="endDateTo" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss">
<label>审核状态:</label>
<select class="input-sm form-control" id="archivestate1">
@ -627,5 +636,5 @@
</body>
<script src="${path}/static/js/beHospList/beHospList.js"></script>
<script src="${path}/static/js/hospitalCommom/hospitalCommom.js"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-02-13"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-07-24"></script>
</html>

@ -39,14 +39,16 @@
.zTreeDemo {
margin-left: 38px;
height: 800px;
height: calc(100vh - 130px);
overflow: auto;
}
.content {
margin-left: 20px;
background-color: #fff;
height: 900px;
min-height:100%;
height: auto;
padding-top: 0;
}
.row {
@ -104,14 +106,14 @@
&nbsp;字典信息
</div>
<form id="form1" style="margin-left: 150px">
<div style="text-align: right;margin-right: 200px;margin-bottom: 30px">
<div style="text-align: right;margin-right: 200px;">
<button type="button" class="btn btn-info btn-sm" id="addBtn" style="display:none">添加叶子</button>
<%--<button type="button" class="btn btn-warning btn-sm" id="addTypeBtn">添加类别</button>--%>
</div>
<div id="allTypeDiv">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类别代码:</label>
<label class="col-sm-3 control-label">类别代码:</label>
<div class="col-sm-4"><input type="text" hidden id="id" name="id" value=""/>
<input type="text" class="input-sm form-control" id="typecode" name="typeFlag"/>
</div>
@ -120,7 +122,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类别名称:</label>
<label class="col-sm-3 control-label">类别名称:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="typename" name="typename"/>
</div>
@ -130,7 +132,7 @@
<div id="subTypeDiv">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">代码:</label>
<label class="col-sm-3 control-label">代码:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="code" name="code"/>
</div>
@ -139,7 +141,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">名称:</label>
<label class="col-sm-3 control-label">名称:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="name" name="name"/>
</div>
@ -148,7 +150,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">拼音码:</label>
<label class="col-sm-3 control-label">拼音码:</label>
<div class="col-sm-4">
<input type="text" readonly class="input-sm form-control" id="pyCode" name="pyCode"/>
</div>
@ -157,7 +159,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">五笔码:</label>
<label class="col-sm-3 control-label">五笔码:</label>
<div class="col-sm-4">
<input type="text" readonly class="input-sm form-control" id="wbCode" name="wbCode"/>
</div>
@ -166,7 +168,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">邮编:</label>
<label class="col-sm-3 control-label">邮编:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="zipCode" name="zipCode"/>
</div>
@ -175,7 +177,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">国标码:</label>
<label class="col-sm-3 control-label">国标码:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="gbCode" name="gbCode"/>
</div>
@ -185,8 +187,8 @@
<%--<div class="row">--%>
<%--<div class="form-group">--%>
<%--<label class="col-sm-2 control-label">父级:</label>--%>
<%--<div class="col-sm-2">--%>
<%--<label class="col-sm-3 control-label">父级:</label>--%>
<%--<div class="col-sm-3">--%>
<%--<select id="parentId" class="input-sm form-control">                --%>
<%--&lt;%&ndash;<option value="1">有效</option>                &ndash;%&gt;--%>
<%--&lt;%&ndash;<option value="0">无效</option>&ndash;%&gt;--%>
@ -197,8 +199,8 @@
<%--</div>--%>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">报表上可见:</label>
<div class="col-sm-2">
<label class="col-sm-3 control-label">报表上可见:</label>
<div class="col-sm-4">
<select id="flag" class="input-sm form-control">
<option value="">不可见</option>
<option value="1">可见</option>
@ -210,7 +212,7 @@
</div>
<div class="row" id="parentDiv">
<div class="form-group">
<label class="col-sm-2 control-label">上级目录</label>
<label class="col-sm-3 control-label">上级目录</label>
<div class="col-sm-4">
<input id="parentId" name="parentId" class="input-sm form-control" style="width: 265px;"/>
</div>
@ -219,8 +221,8 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">是否有效:</label>
<div class="col-sm-2">
<label class="col-sm-3 control-label">是否有效:</label>
<div class="col-sm-4">
<select id="effective" class="input-sm form-control">                
<option value="1">有效</option>
               
@ -232,7 +234,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">说明:</label>
<label class="col-sm-3 control-label">说明:</label>
<div class="col-sm-6">
<textarea class="input-sm form-control" rows="5" id="cComment" name="cComment"></textarea>
</div>
@ -241,7 +243,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">备注:</label>
<label class="col-sm-3 control-label">备注:</label>
<div class="col-sm-6">
<textarea class="input-sm form-control" rows="5" id="remark" name="recallReason"></textarea>
</div>

@ -51,8 +51,8 @@
</head>
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -71,11 +71,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
<input type="text" class="input-sm form-control" name="start" id="startDateTo" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
<input type="text" class="input-sm form-control" name="end" id="endDateTo" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8" id="deptDiv" style="height: 18px;margin-top: -7px;">
<label>出院科室:</label>
<select class="selectpicker bla bla bli" multiple data-live-search="true" name="deptName"
@ -96,25 +105,25 @@
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
</form>
</div>
<!--数据表格-->
<table id="table" class="table text-nowrap table-striped"></table>
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
<div class="columns columns-right btn-group pull-right">
<div class="btn-group btn-info">
<select id="sel_exportoption" class="form-control">                
<option value="">导出当前页面数据</option>
               
<option value="all">导出全部数据</option>
               
<option value="selected">导出选中数据</option>
</select>
<!--数据表格-->
<table id="table" class="table text-nowrap table-striped"></table>
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
<div class="columns columns-right btn-group pull-right">
<div class="btn-group btn-info">
<select id="sel_exportoption" class="form-control">                
<option value="">导出当前页面数据</option>
               
<option value="all">导出全部数据</option>
               
<option value="selected">导出选中数据</option>
</select>
</div>
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
aria-label="Refresh"
title="Refresh">
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
</button>
</div>
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
aria-label="Refresh"
title="Refresh">
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
</button>
</div>
</div>
</div>
@ -155,9 +164,6 @@
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -166,7 +172,7 @@
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(208), //定义表格的高度。
height: getHeight(219), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -344,6 +350,7 @@
],
onLoadSuccess: function (result) { //加载成功时执行
//console.info("加载成功");
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行
@ -418,6 +425,6 @@
});
});
</script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-01-05"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-07-24"></script>
</body>
</html>

@ -25,14 +25,14 @@
.zTreeDemo {
margin-left: 38px;
height: 800px;
height: calc(100vh - 130px);
overflow: auto;
}
.content {
margin-left: 20px;
background-color: #fff;
height: 600px;
height:100%;
padding-top: 0;
}
@ -42,6 +42,7 @@
.control-label {
margin-right: -25px;
margin-top:5px;
}
.left {
@ -79,16 +80,16 @@
<div class="row titleCss">
&nbsp;缺陷类别信息
</div>
<div style="text-align: right;margin-right: 200px;margin-bottom: 30px">
<div style="text-align: right;margin-right: 200px">
<div id="addTypeDiv">
<button type="button" class="btn btn-warning btn-sm" id="addBtn">添加类别</button>
</div>
</div>
<div id="contextDiv" style="display: none;margin-top:74px">
<div id="contextDiv" style="display: none">
<form id="form1" style="margin-left: 150px">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类别代码:</label>
<label class="col-sm-3 control-label">类别代码:</label>
<div class="col-sm-4"><input type="text" hidden id="id" name="id">
<input type="text" class="input-sm form-control" id="typeFlag" name="typeFlag">
</div>
@ -97,7 +98,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类别名称:</label>
<label class="col-sm-3 control-label">类别名称:</label>
<div class="col-sm-4">
<input type="text" class="input-sm form-control" id="typeName" name="typeName">
</div>
@ -106,7 +107,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类别排序:</label>
<label class="col-sm-3 control-label">类别排序:</label>
<div class="col-sm-4">
<input type="number" class="input-sm form-control" id="typeSort" name="typeSort">
</div>
@ -115,8 +116,8 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">是否有效:</label>
<div class="col-sm-2">
<label class="col-sm-3 control-label">是否有效:</label>
<div class="col-sm-3">
<select id="effective" class="input-sm form-control">                
<option value="1">有效</option>
               
@ -128,7 +129,7 @@
</div>
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">备注:</label>
<label class="col-sm-3 control-label">备注:</label>
<div class="col-sm-6">
<textarea class="input-sm form-control" rows="5" id="remark" name="recallReason"></textarea>
</div>

@ -42,17 +42,17 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss8">
<label>审核日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss8">
@ -70,11 +70,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(2,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>患者姓名:</label>
<input type="text" class="form-control input-sm" id="name">
@ -111,6 +120,6 @@
</div>
<script src="${path}/static/js/flowInfo/flowInfoList.js"></script>
<script src="${path}/static/js/statistics/getDeptCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-01-09"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-07-24"></script>
</body>
</html>

@ -42,16 +42,16 @@
</head>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 5px!important;">
<div class="form-inline">
<div class="form-group divCss8">
<label>设置日期:</label>
<div class="input-daterange input-group">
<input type="text" class="input-sm form-control" id="startTime2"/>
<input type="text" class="input-sm form-control" id="startTime2" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime2"/>
<input type="text" class="input-sm form-control" id="endTime2" autocomplete="off"/>
</div>
</div>
</div>
@ -87,9 +87,9 @@
<div class="form-group divCss8">
<label>查询日期:</label>
<div class="input-daterange input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="startTime1" id="startTime1"/>
<input type="text" class="input-sm form-control" name="startTime1" id="startTime1" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="endTime1" id="endTime1"/>
<input type="text" class="input-sm form-control" name="endTime1" id="endTime1" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">

@ -141,10 +141,10 @@
</head>
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<input type="hidden" id="isSearch" value="1">
<!--当前操作角色-->
<input type="hidden" id="checker">
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -175,11 +175,20 @@
<div class="form-group divCss">
<label>入院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
<input type="text" class="input-sm form-control" name="start" id="startDateTo" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
<input type="text" class="input-sm form-control" name="end" id="endDateTo" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>入院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
@ -509,9 +518,6 @@
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -520,7 +526,7 @@
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(208), //定义表格的高度。
height: getHeight(220), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -635,8 +641,8 @@
visible: false
},
{
title: '入院科室',
field: 'deptAdmissionTo',
title: '当前科室',
field: 'deptName',
align: 'left',
valign: 'middle',
},
@ -735,6 +741,7 @@
],
onLoadSuccess: function (result) { //加载成功时执行
// console.info("加载成功");
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行
@ -789,6 +796,6 @@
});
});
</script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-02-14"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-07-24"></script>
<script src="${path}/static/js/hospitalCommom/hospitalCommom.js"></script>
</html>

@ -302,8 +302,7 @@
<div class="page-content-wrapper">
<div class="page-content">
<div class="">
<iframe style="width:100%; overflow-x:hidden;overflow-y:scroll" id="iFrame1"
name="iFrame1" frameborder="0"></iframe>
<iframe style="width:100%; overflow-x:hidden;overflow-y:scroll" id="iFrame1" name="iFrame1" frameborder="0"></iframe>
</div>
</div>
</div>

@ -172,10 +172,10 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<input type="hidden" id="isSearch" value="1">
<!--当前操作角色-->
<input type="hidden" id="checker" value="4">
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -207,14 +207,22 @@
<div class="form-group divCss">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
<input type="text" class="input-sm form-control" name="start" id="startDateTo" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
<input type="text" class="input-sm form-control" name="end" id="endDateTo" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
</form>
<!--数据表格-->
@ -230,7 +238,7 @@
<option value="selected">导出选中数据</option>
</select>
</div>
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
<button class="btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh"
aria-label="Refresh"
title="Refresh">
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
@ -616,5 +624,5 @@
</body>
<script src="${path}/static/js/lastVerifyList/lastVerifyList.js"></script>
<script src="${path}/static/js/hospitalCommom/hospitalCommom.js"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-03-30"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-07-24"></script>
</html>

@ -50,7 +50,7 @@
</style>
</head>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -93,9 +93,9 @@
<div class="form-group divCss">
<label>召回日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDate"/>
<input type="text" class="input-sm form-control" name="start" id="startDate" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDate"/>
<input type="text" class="input-sm form-control" name="end" id="endDate" autocomplete="off"/>
</div>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
@ -167,14 +167,11 @@
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
striped: true, //表格显示条纹默认为false
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
paginationShowPageGo: true,
// sortable: true,
// sortOrder: "asc",
toolbar: '#toolbar',//指定工具栏
@ -182,7 +179,7 @@
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(208), //定义表格的高度。
height: getHeight(220), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -314,6 +311,7 @@
],
onLoadSuccess: function (result) { //加载成功时执行
//console.info("加载成功");
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行

@ -57,7 +57,7 @@
var path = "${path}";
</script>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">

@ -43,8 +43,8 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -52,13 +52,21 @@
<label>终审日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" id="startTime1"
style="text-align: center"/>
style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endTime1"
style="text-align: center"/>
style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>终审时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
@ -85,6 +93,6 @@
</div>
</div>
<script src="${path}/static/js/statistics/finalStatistics.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
</body>
</html>

@ -39,17 +39,17 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss8">
<label>审核日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss8">
@ -67,11 +67,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(2,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>患者姓名:</label>
<input type="text" class="form-control input-sm" id="name">
@ -107,6 +116,6 @@
</div>
<script src="${path}/static/js/statistics/finalStatisticsDetail.js"></script>
<script src="${path}/static/js/statistics/getDeptCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-01-09"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-07-24"></script>
</body>
</html>

@ -30,20 +30,28 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss">
<label>审核日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>审核时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
</div>
@ -68,6 +76,6 @@
</div>
</div>
<script src="${path}/static/js/statistics/firstStatistics.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
</body>
</html>

@ -30,19 +30,28 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss">
<label>起止日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>复印时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>操作人:</label>
<input type="text" class="form-control input-sm" id="name">
@ -71,6 +80,6 @@
</div>
</div>
<script src="${path}/static/js/statistics/printCount.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
</body>
</html>

@ -30,19 +30,28 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss">
<label>复印起止日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>复印时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>操作人:</label>
<input type="text" class="form-control input-sm" id="name">
@ -71,6 +80,6 @@
</div>
</div>
<script src="${path}/static/js/statistics/printInfo.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
</body>
</html>

@ -30,19 +30,28 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss">
<label>起止日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>扫描时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>扫描人:</label>
<input type="text" class="form-control input-sm" id="name">
@ -71,6 +80,6 @@
</div>
</div>
<script src="${path}/static/js/statistics/scanCount.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
</body>
</html>

@ -30,19 +30,28 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss">
<label>扫描起止日期:</label>
<div class="input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="start" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" name="end" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>扫描时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(1,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>扫描人:</label>
<input type="text" class="form-control input-sm" id="name">
@ -70,7 +79,7 @@
</div>
</div>
</div>
<script src="${path}/static/js/statistics/statisticsCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?time=2020-07-24"></script>
<script src="${path}/static/js/statistics/scanInfo.js"></script>
</body>
</html>

@ -39,17 +39,17 @@
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<div style="margin-left:30px;margin-right:10px;height:auto">
<input type="hidden" id="isSearch" value="1">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss8">
<label>审核日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime1" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime1" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss8">
@ -67,11 +67,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group">
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="startTime2" style="text-align: center" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center"/>
<input type="text" class="input-sm form-control" id="endTime2" style="text-align: center" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(2,this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss8">
<label>患者姓名:</label>
<input type="text" class="form-control input-sm" id="name">
@ -107,6 +116,6 @@
</div>
<script src="${path}/static/js/statistics/statisticsDetail.js"></script>
<script src="${path}/static/js/statistics/getDeptCommom.js"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-01-09"></script>
<script src="${path}/static/js/statistics/statisticsCommom.js?t=2020-07-24"></script>
</body>
</html>

@ -161,10 +161,10 @@
<script src="${path}/static/js/comm.js"></script>
<body>
<!--隐藏是否是初始化-->
<input type="hidden" id="isSearch" value="0">
<input type="hidden" id="isSearch" value="1">
<!--当前操作角色-->
<input type="hidden" id="checker">
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -203,9 +203,9 @@
<div class="form-group divCss8">
<label>入院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDate"/>
<input type="text" class="input-sm form-control" name="start" id="startDate" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDate"/>
<input type="text" class="input-sm form-control" name="end" id="endDate" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss8" style="height: 18px;margin-top: -7px;">
@ -218,11 +218,20 @@
<div class="form-group divCss8">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDateTo"/>
<input type="text" class="input-sm form-control" name="start" id="startDateTo" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDateTo"/>
<input type="text" class="input-sm form-control" name="end" id="endDateTo" autocomplete="off"/>
</div>
</div>
<div class="form-group divCss">
<label>出院时段:</label>
<select class="form-control input-sm" onchange="loadTableByTime(this.options[this.options.selectedIndex].value)">
<option value="">不限</option>
<option value="1">3天内</option>
<option value="2">1个月内</option>
<option value="3">6个月内</option>
</select>
</div>
<div class="form-group divCss">
<label>归档状态:</label>
<select class="input-sm form-control" id="archivestate">
@ -656,9 +665,6 @@
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -667,7 +673,7 @@
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(240), //定义表格的高度。
height: getHeight(220), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -897,6 +903,7 @@
],
onLoadSuccess: function (result) { //加载成功时执行
// console.info("加载成功");
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行
@ -962,5 +969,5 @@
});
</script>
<script src="${path}/static/js/hospitalCommom/hospitalCommom.js"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-01-07"></script>
<script src="${path}/static/js/hospitalLoadPdf/loadPdf.js?time=2020-07-24"></script>
</html>

@ -48,7 +48,7 @@
<body>
<!--赋值权限按钮标识-->
<input type="hidden" id="power">
<div style="margin-left:30px;margin-right:10px;height:auto">
<div class="mainDiv">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
@ -67,9 +67,9 @@
<div class="form-group divCss">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDate"/>
<input type="text" class="input-sm form-control" name="start" id="startDate" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDate"/>
<input type="text" class="input-sm form-control" name="end" id="endDate" autocomplete="off"/>
</div>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" onclick="searchBtn()">查询</button>
@ -77,7 +77,7 @@
</form>
<!--数据表格-->
<iframe src="${path}/vCount/getDoctorFileInfoIframe"
style="height:90%;width:100%; overflow-x:hidden;overflow-y:scroll" id="iframe"
style="height:calc(100vh - 44px);width:100%; overflow-x:hidden;overflow-y:scroll" id="iframe"
frameborder="0"></iframe>
</div>

@ -41,53 +41,73 @@
.filter-option-inner-inner {
font-size: 12px;
}
/**
* echartDiv样式
*/
.echartsClass{
margin-top: 10px;
background-color:#ECF0F5;
width:calc(100vw - 60px);
height:calc(100vh - 57px);
}
</style>
</head>
<body>
<div style="margin-left:30px;margin-right:10px;height:auto">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss8" style="height: 18px;margin-top: -7px;">
<label>出院科室:</label>
<select class="selectpicker bla bla bli" multiple data-live-search="true" name="deptName" id="deptName" title="请输入出院科室">
<option value="">全部</option>
</select>
</div>
<div class="form-group divCss">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDate"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDate"/>
<div class="mainDiv">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">统计表格</a></li>
<li role="presentation"><a href="#home1" aria-controls="home1" role="tab" data-toggle="tab">归档率统计图表</a></li>
<li role="presentation"><a href="#home2" aria-controls="home2" role="tab" data-toggle="tab">出院统计图表</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane fade in active" id="home">
<!--搜索-->
<form style="margin-top:5px;margin-bottom: 0!important;">
<div class="form-inline">
<div class="form-group divCss8" style="height: 18px;margin-top: -7px;">
<label>出院科室:</label>
<select class="selectpicker bla bla bli" multiple data-live-search="true" name="deptName" id="deptName" title="请输入出院科室">
<option value="">全部</option>
</select>
</div>
<div class="form-group divCss">
<label>出院日期:</label>
<div class="input-group input-daterange">
<input type="text" class="input-sm form-control" name="start" id="startDate" autocomplete="off"/>
<span class="input-group-addon">-</span>
<input type="text" class="input-sm form-control" name="end" id="endDate" autocomplete="off"/>
</div>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
<button type="button" class="btn btn-danger btn-sm divCss" id="excelBtn2">未归档导出</button>
</div>
</form>
<!--数据表格-->
<table id="table" class="table table-striped"></table>
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
<div class="columns columns-right btn-group pull-right">
<div class="btn-group btn-info">
<select id="sel_exportoption" class="form-control">
<option value="">导出当前页面数据</option>
<option value="all">导出全部数据</option>
<option value="selected">导出选中数据</option>
</select>
</div>
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh" aria-label="Refresh" title="Refresh">
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
</button>
</div>
</div>
<button type="button" class="btn btn-primary btn-sm divCss" id="searchBtn">查询</button>
<button type="button" class="btn btn-info btn-sm divCss" id="excelBtn">条件导出</button>
<button type="button" class="btn btn-danger btn-sm divCss" id="excelBtn2">未归档导出</button>
</div>
</form>
<!--数据表格-->
<table id="table" class="table table-striped"></table>
<div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
<div class="columns columns-right btn-group pull-right">
<div class="btn-group btn-info">
<select id="sel_exportoption" class="form-control">
<option value="">导出当前页面数据</option>
<option value="all">导出全部数据</option>
<option value="selected">导出选中数据</option>
</select>
</div>
<button class=" btn btn-success" style="height: 34px" type="button" id="refreshBtn" name="refresh" aria-label="Refresh" title="Refresh">
<i class="glyphicon glyphicon-refresh icon-refresh"></i>
</button>
<div role="tabpanel" class="tab-pane fade" id="home1">
<div class="echartsClass" id="chartmainTwo"></div>
</div>
<div role="tabpanel" class="tab-pane fade" id="home2">
<div class="echartsClass" id="chartmainOne"></div>
</div>
</div>
</div>
<div class="row" style="margin-top: 20px;margin-left:30px;background-color:#ECF0F5;width:100%;height:600px;"
id="chartmainTwo"></div>
<div class="row" style="margin-top: 20px;margin-left:30px;background-color:#ECF0F5;width:100%;height:600px;"
id="chartmainOne"></div>
</body>
<script>
var path = "${path}";
@ -680,9 +700,6 @@
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5, 10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -691,7 +708,7 @@
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(140), //定义表格的高度。
height: getHeight(197), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -856,11 +873,10 @@
}
],
onLoadSuccess: function (result) { //加载成功时执行
//console.info("加载成功");
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行
//console.info("加载数据失败");
tipLoad = 0;
}
});

@ -1,9 +1,13 @@
body {
height: 90%;
min-height: 90%!important;
padding: 0;
margin: 0;
}
.mainDiv{
margin-left:15px;
margin-right:15px;
}
.table th, .table td {
/*text-align: center;*/
height: 38px;

@ -10,9 +10,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -21,7 +18,7 @@ function initTable() {
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(210), //定义表格的高度。
height: getHeight(220), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -70,7 +67,7 @@ function initTable() {
archivestate: "" + $("#archivestate1").val(),
//deptName: "" + $("#deptName").val(),
startDateTo: $("#startDateTo").val(),
endDateTo: $("#endDateTo1").val(),
endDateTo: $("#endDateTo").val(),
deptName: deptName.toString(),
doctorInCharge:$("#doctorInCharge").val(),
isSearch:$("#isSearch").val(),
@ -236,6 +233,7 @@ function initTable() {
}
],
onLoadSuccess: function () { //加载成功时执行
$(".page-list").show();
tipLoad = 0
},
onLoadError: function () { //加载失败时执行
@ -434,7 +432,7 @@ $("#excelBtn").click(function () {
var name = $("#name").val();
var deptName = $("#deptName").val();
var startDateTo = $("#startDateTo").val();
var endDateTo = $("#endDateTo1").val();
var endDateTo = $("#endDateTo").val();
var isSearch = $("#isSearch").val();
var archivestate = $("#archivestate1").val();
var status = $("#currentRoleIds").val();

@ -95,4 +95,87 @@ function post(url, params) {
document.body.appendChild(temp_form);
// 提交表单
temp_form .submit();
}
//日期操作
//获取当天日期
function getNowDay(){
var myDate = new Date;
var year = myDate.getFullYear(); //获取当前年
var mon = myDate.getMonth() + 1; //获取当前月
if(mon < 10){
mon = '0'+mon;
}
var date = myDate.getDate();
if(date < 10){
date = '0'+date;
}
return year+'-'+mon+'-'+date;
}
//获取前几天的信息
function getHisDay(days){
var time=(new Date).getTime()-24*60*60*1000*days;
var yesterday=new Date(time);
var month=yesterday.getMonth();
var day=yesterday.getDate();
yesterday=yesterday.getFullYear() + "-" + (yesterday.getMonth()> 9 ? (yesterday.getMonth() + 1) : "0" + (yesterday.getMonth() + 1)) + "-" +(yesterday.getDate()> 9 ? (yesterday.getDate()) : "0" + (yesterday.getDate()));
return yesterday;
}
//获取当前日期的前一个月日期
function getPreMonthToday(){
var currentYear = new Date().getFullYear();
var currentMonth = new Date().getMonth();
var day = new Date().getDate();
if(day < 10){
day = '0'+day;
}
if(currentMonth < 10){
currentMonth = '0'+currentMonth;
}
if(currentMonth == '02' && day > 28){
day = 28;
}
if(day == 31){
if(currentMonth == 0 || currentMonth == 7) {
day = 31;
}else{
day = 30;
}
}
var date = currentYear+'-'+currentMonth+'-'+day;
if(currentMonth == 0){
currentYear = currentYear-1;
date =currentYear +'-'+12+'-'+day;
}
return date;
}
//获取前几个月的日期
function getPreMonthDay(date, monthNum) {
var dateArr = date.split('-')
var year = dateArr[0] //获取当前日期的年份
var month = dateArr[1] //获取当前日期的月份
var day = dateArr[2] //获取当前日期的日
var days = new Date(year, month, 0)
days = days.getDate() //获取当前日期中月的天数
var year2 = year
var month2 = parseInt(month) - monthNum
if (month2 <= 0) {
year2 =
parseInt(year2) -
parseInt(month2 / 12 == 0 ? 1 : Math.abs(parseInt(month2 / 12)) + 1)
month2 = 12 - (Math.abs(month2) % 12)
}
var day2 = day
var days2 = new Date(year2, month2, 0)
days2 = days2.getDate()
if (day2 > days2) {
day2 = days2
}
if (month2 < 10) {
month2 = '0' + month2
}
var t2 = year2 + '-' + month2 + '-' + day2
return t2
}

@ -13,9 +13,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -24,7 +21,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(234), //定义表格的高度。
height: getHeight(224), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -151,6 +148,7 @@ function initTable() {
},
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -153,9 +153,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 10, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -166,7 +163,7 @@ function initTable() {
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(254), //定义表格的高度。
height: getHeight(266), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -264,11 +261,10 @@ function initTable() {
},
],
onLoadSuccess: function (result) { //加载成功时执行
// console.info("加载成功");
$(".page-list").show();
tipLoad = 0
},
onLoadError: function () { //加载失败时执行
//console.info("加载数据失败");
tipLoad = 0
}
@ -293,14 +289,8 @@ $('#searchBtn').click(function () {
}
});
//获取table的高度
function getHeight(height) {
return $(window).height() - height;
}
initTable();
//2.初始化select的change事件
$("#sel_exportoption").change(function () {
$('#table').bootstrapTable('refreshOptions', {

@ -1,15 +1,50 @@
$(function(){
//初始化加载出院日期输入框
//开始时间为上月今天
$("#startDateTo").val(getPreMonthToday());
//$("#startDateTo").val(getPreMonthToday());
//结束时间为今天
$("#endDateTo").val(getNowDay());
//$("#endDateTo").val(getNowDay());
//结束时间为前天
$("#endDateTo1").val(getBeforeYesterDay());
//$("#endDateTo1").val(getBeforeYesterDay());
initDateInput('startDate','endDate');
initDateInput('startDateTo','endDateTo');
initDateInput('startDateTo','endDateTo1');
})
//出院时段触发查询
function loadTableByTime(value){
//填空出院日期搜索框并立即查询
switch (value) {
case '':
//不限
$("#startDateTo").val("");
break;
case '1':
//3天内
//开始日期为3天前getHisDay
$("#startDateTo").val(getHisDay(3));
break;
case '2':
//1个月内
//开始日期为1个月前
$("#startDateTo").val(getPreMonthToday());
break;
case '3':
//6个月内
//开始日期为6个月前
$("#startDateTo").val(getPreMonthDay(getNowDay(),6));
break;
}
if(value != ''){
//非不限结束日期均为今天
//结束时间为今天
$("#endDateTo").val(getNowDay());
}else{
//结束时间为今天
$("#endDateTo").val("");
}
$("#table").bootstrapTable("refreshOptions", {pageNumber: 1});
}
//未终审页面、在院浏览、出院浏览查看病历时按审核角色查询分类主要查询checker=2护士的只查看护理记录单和体温表
function getChecker(){
$.get(path+'/beHosp/getChecker',function(data){
@ -50,59 +85,6 @@ function getZdAssort(){
}
}
//获取当天日期
function getNowDay(){
var myDate = new Date;
var year = myDate.getFullYear(); //获取当前年
var mon = myDate.getMonth() + 1; //获取当前月
if(mon < 10){
mon = '0'+mon;
}
var date = myDate.getDate();
if(date < 10){
date = '0'+date;
}
return year+'-'+mon+'-'+date;
}
//获取当前前两天的信息
function getBeforeYesterDay(){
var time=(new Date).getTime()-24*60*60*1000*2;
var yesterday=new Date(time);
var month=yesterday.getMonth();
var day=yesterday.getDate();
yesterday=yesterday.getFullYear() + "-" + (yesterday.getMonth()> 9 ? (yesterday.getMonth() + 1) : "0" + (yesterday.getMonth() + 1)) + "-" +(yesterday.getDate()> 9 ? (yesterday.getDate()) : "0" + (yesterday.getDate()));
return yesterday;
}
//获取当前日期的前一个月日期
function getPreMonthToday(){
var currentYear = new Date().getFullYear();
var currentMonth = new Date().getMonth();
var day = new Date().getDate();
if(day < 10){
day = '0'+day;
}
if(currentMonth < 10){
currentMonth = '0'+currentMonth;
}
if(currentMonth == '02' && day > 28){
day = 28;
}
if(day == 31){
if(currentMonth == 0 || currentMonth == 7) {
day = 31;
}else{
day = 30;
}
}
var date = currentYear+'-'+currentMonth+'-'+day;
if(currentMonth == 0){
currentYear = currentYear-1;
date =currentYear +'-'+12+'-'+day;
}
return date;
}
//查询按钮
$('#searchBtn').click(function () {
//标识为按条件查询

@ -15,20 +15,15 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
// sortable: true,
// sortOrder: "asc",
toolbar: '#toolbar',//指定工具栏
searchOnEnterKey: true, //设置为 true时按回车触发搜索方法否则自动触发搜索方法
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(208), //定义表格的高度。
height: getHeight(220), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -43,6 +38,10 @@ function initTable() {
exportOptions: {
fileName: document.title
},
//按钮样式
//buttonsClass: 'btn',
//分页器class
iconSize: 'Page',
queryParams: function (params) {
var currPageSize = this.pageSize;
if (currPageSize == 2) {
@ -282,6 +281,7 @@ function initTable() {
}
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行

@ -18,10 +18,6 @@ $(function () {
$('#deptDiv').hide();
}
});
//获取table的高度
function getHeight(height) {
return $(window).height() - height;
}
function initTable() {
if(tipLoad == 1){
$("#table").bootstrapTable({ // 对应table标签的id
@ -32,20 +28,17 @@ function initTable() {
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
striped: true, //表格显示条纹默认为false
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
paginationShowPageGo: true,
toolbar: '#toolbar',//指定工具栏
searchOnEnterKey: true, //设置为 true时按回车触发搜索方法否则自动触发搜索方法
undefinedText: '---', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(176), //定义表格的高度。
height: getHeight(185), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -231,6 +224,7 @@ function initTable() {
}
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad = 0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -102,6 +99,7 @@ function initTable() {
}
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -12,9 +12,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -23,7 +20,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(234), //定义表格的高度。
height: getHeight(224), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -162,6 +159,7 @@ function initTable() {
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -102,6 +99,7 @@ function initTable() {
}
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -113,6 +110,7 @@ function initTable() {
},
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -149,6 +146,7 @@ function initTable() {
},
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -95,6 +92,7 @@ function initTable() {
},
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -9,9 +9,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -20,7 +17,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(164), //定义表格的高度。
height: getStaticTableHeight(), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -137,6 +134,7 @@ function initTable() {
}
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

@ -3,14 +3,52 @@ $(function () {
initDateInput(1);
initDateInput(2);
//开始时间为上月今天
$("#startTime1").val(getPreMonthToday());
$("#startTime2").val(getPreMonthToday());
//$("#startTime1").val(getPreMonthToday());
//$("#startTime2").val(getPreMonthToday());
//结束时间为今天
$("#endTime1").val(getNowDay());
$("#endTime2").val(getNowDay());
//$("#endTime1").val(getNowDay());
//$("#endTime2").val(getNowDay());
initTable();
})
//出院时段触发查询
function loadTableByTime(no,value){
//填空出院日期搜索框并立即查询
switch (value) {
case '':
//不限
$("#startTime"+no).val("");
break;
case '1':
//3天内
//开始日期为3天前getHisDay
$("#startTime"+no).val(getHisDay(3));
break;
case '2':
//1个月内
//开始日期为1个月前
$("#startTime"+no).val(getPreMonthToday());
break;
case '3':
//6个月内
//开始日期为6个月前
$("#startTime"+no).val(getPreMonthDay(getNowDay(),6));
break;
}
if(value != ''){
//非不限结束日期均为今天
//结束时间为今天
$("#endTime"+no).val(getNowDay());
}else{
//结束时间为今天
$("#endTime"+no).val("");
}
$("#table").bootstrapTable("refreshOptions", {pageNumber: 1});
}
//指定扫描打印表格高度
function getStaticTableHeight(){
return $(window).height() - 150;
}
function initDateInput(idVal){
$('#startTime'+idVal).datepicker({
language: "zh-CN",
@ -35,50 +73,6 @@ function initDateInput(idVal){
});
}
//获取当天日期
function getNowDay(){
var myDate = new Date;
var year = myDate.getFullYear(); //获取当前年
var mon = myDate.getMonth() + 1; //获取当前月
if(mon < 10){
mon = '0'+mon;
}
var date = myDate.getDate();
if(date < 10){
date = '0'+date;
}
return year+'-'+mon+'-'+date;
}
//获取当前日期的前一个月日期
function getPreMonthToday(){
var currentYear = new Date().getFullYear();
var currentMonth = new Date().getMonth();
var day = new Date().getDate();
if(day < 10){
day = '0'+day;
}
if(currentMonth < 10){
currentMonth = '0'+currentMonth;
}
if(currentMonth == '02' && day > 28){
day = 28;
}
if(day == 31){
if(currentMonth == 0 || currentMonth == 7) {
day = 31;
}else{
day = 30;
}
}
var date = currentYear+'-'+currentMonth+'-'+day;
if(currentMonth == 0){
currentYear = currentYear-1;
date =currentYear +'-'+12+'-'+day;
}
return date;
}
//查询
$('#searchBtn').click(function () {
$("#isSearch").val(1);

@ -12,9 +12,6 @@ function initTable() {
pagination: true, // 在表格底部显示分页组件默认false
paginationShowPageGo: true,
pageList: [5,10, 20, 50, 100], // 如果设置了分页设置可供选择的页面数据条数。设置为All 则显示所有记录。
smartDisplay: false,
pageSize: 2, // 页面数据条数
pageNumber: 1, // 初始化加载第一页,默认第一页
sidePagination: 'server', // 设置为服务器端分页 客户端client
search: false,
showColumns: true,
@ -23,7 +20,7 @@ function initTable() {
undefinedText: '--', //当数据为 undefined 时显示的字符
singleSelect: false,//设置True 将禁止多选
clickToSelect: true,//设置true 将在点击行时自动选择rediobox 和 checkbox
height: getHeight(234), //定义表格的高度。
height: getHeight(224), //定义表格的高度。
searchTimeOut: 500,// 默认500 设置搜索超时时间。
toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right'
paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。
@ -166,6 +163,7 @@ function initTable() {
],
onLoadSuccess: function (result) { //加载成功时执行
$(".page-list").show();
tipLoad =0;
},
onLoadError: function () { //加载失败时执行

Loading…
Cancel
Save