diff --git a/src/main/webapp/WEB-INF/jspf/comm.jspf b/src/main/webapp/WEB-INF/jspf/comm.jspf index 5249781..62c1ab8 100644 --- a/src/main/webapp/WEB-INF/jspf/comm.jspf +++ b/src/main/webapp/WEB-INF/jspf/comm.jspf @@ -106,4 +106,8 @@ $("#"+endTimeId).datepicker('hide'); }); } + //获取table的高度 + function getHeight(height) { + return $(window).height() - height; + } \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/faultDir/faultList.jsp b/src/main/webapp/WEB-INF/views/faultDir/faultList.jsp index 63dd0c3..4106dea 100644 --- a/src/main/webapp/WEB-INF/views/faultDir/faultList.jsp +++ b/src/main/webapp/WEB-INF/views/faultDir/faultList.jsp @@ -166,7 +166,7 @@ undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(208), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 @@ -354,11 +354,6 @@ } } - //获取table的高度 - function getHeight() { - return $(window).height() - 100; - } - $(function () { getDept(); var url = window.location.href; diff --git a/src/main/webapp/WEB-INF/views/faultTypeDir/faultTypeList.jsp b/src/main/webapp/WEB-INF/views/faultTypeDir/faultTypeList.jsp index c3a99f1..2902e78 100644 --- a/src/main/webapp/WEB-INF/views/faultTypeDir/faultTypeList.jsp +++ b/src/main/webapp/WEB-INF/views/faultTypeDir/faultTypeList.jsp @@ -33,6 +33,7 @@ margin-left: 20px; background-color: #fff; height: 600px; + padding-top: 0; } .row { diff --git a/src/main/webapp/WEB-INF/views/inHospitalDir/inHositalList.jsp b/src/main/webapp/WEB-INF/views/inHospitalDir/inHositalList.jsp index 886c7dd..bd3d7ef 100644 --- a/src/main/webapp/WEB-INF/views/inHospitalDir/inHositalList.jsp +++ b/src/main/webapp/WEB-INF/views/inHospitalDir/inHositalList.jsp @@ -520,7 +520,7 @@ undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(208), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/WEB-INF/views/index.jsp b/src/main/webapp/WEB-INF/views/index.jsp index 3ce88f4..1aa56ac 100644 --- a/src/main/webapp/WEB-INF/views/index.jsp +++ b/src/main/webapp/WEB-INF/views/index.jsp @@ -361,7 +361,7 @@ const headerHeight = $(".main-header").height() || 0; const footerHeight = ($(".main-footer").height() || 0) + 31; const windowHeight = $(window).height(); - $("#iFrame1").css("height", windowHeight - headerHeight - footerHeight - 37); + $("#iFrame1").css("height", windowHeight - headerHeight - footerHeight - 32); $("#indexTreeMenu").css("height",windowHeight - headerHeight); }) diff --git a/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp b/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp index 5114f34..b621eed 100644 --- a/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp +++ b/src/main/webapp/WEB-INF/views/medicalRecallDateDir/recallDateList.jsp @@ -182,7 +182,7 @@ undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(208), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 @@ -334,11 +334,6 @@ } }); - //获取table的高度 - function getHeight() { - return $(window).height() - 100; - } - initTable(); //2.初始化select的change事件 diff --git a/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp b/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp index df6eb8e..6797b5b 100644 --- a/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp +++ b/src/main/webapp/WEB-INF/views/unfileMedicalDir/unfileMedicalList.jsp @@ -667,7 +667,7 @@ undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(240), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp b/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp index 4037173..69cef3d 100644 --- a/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp +++ b/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp @@ -691,7 +691,7 @@ undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(140), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 @@ -877,11 +877,6 @@ } }); - //获取table的高度 - function getHeight() { - return $(window).height() - 100; - } - initTable(); //2.初始化select的change事件 diff --git a/src/main/webapp/static/js/beHospList/beHospList.js b/src/main/webapp/static/js/beHospList/beHospList.js index 55dd161..4dc6458 100644 --- a/src/main/webapp/static/js/beHospList/beHospList.js +++ b/src/main/webapp/static/js/beHospList/beHospList.js @@ -21,7 +21,7 @@ function initTable() { undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(210), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/flowInfo/flowInfoList.js b/src/main/webapp/static/js/flowInfo/flowInfoList.js index 6363cd3..ed5f150 100644 --- a/src/main/webapp/static/js/flowInfo/flowInfoList.js +++ b/src/main/webapp/static/js/flowInfo/flowInfoList.js @@ -3,10 +3,6 @@ $(function(){ getDept(); }) -//获取table的高度 -function getHeight() { - return $(window).height() * 0.5; -} function initTable() { if(tipLoad == 1){ $("#table").bootstrapTable({ // 对应table标签的id @@ -28,7 +24,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: $(window).height() * 0.7, //定义表格的高度。 + height: getHeight(234), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/holidaySet/holidaySetList.js b/src/main/webapp/static/js/holidaySet/holidaySetList.js index 6969732..415747e 100644 --- a/src/main/webapp/static/js/holidaySet/holidaySetList.js +++ b/src/main/webapp/static/js/holidaySet/holidaySetList.js @@ -166,7 +166,7 @@ function initTable() { undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 440, //定义表格的高度。 + height: getHeight(254), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 @@ -294,8 +294,8 @@ $('#searchBtn').click(function () { }); //获取table的高度 -function getHeight() { - return $(window).height() - 100; +function getHeight(height) { + return $(window).height() - height; } initTable(); diff --git a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js index f489266..35223c2 100644 --- a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js +++ b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js @@ -696,11 +696,6 @@ $("#selModal").keydown(function (e) { } }); -//获取table的高度 -function getHeight() { - return $(window).height() - 100; -} - initTable(); diff --git a/src/main/webapp/static/js/lastVerifyList/lastVerifyList.js b/src/main/webapp/static/js/lastVerifyList/lastVerifyList.js index a9d5cb1..44a7877 100644 --- a/src/main/webapp/static/js/lastVerifyList/lastVerifyList.js +++ b/src/main/webapp/static/js/lastVerifyList/lastVerifyList.js @@ -28,7 +28,7 @@ function initTable() { undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(208), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/medicalRecallList/medicalRecallList.js b/src/main/webapp/static/js/medicalRecallList/medicalRecallList.js index 0080a1d..c1875a0 100644 --- a/src/main/webapp/static/js/medicalRecallList/medicalRecallList.js +++ b/src/main/webapp/static/js/medicalRecallList/medicalRecallList.js @@ -18,7 +18,10 @@ $(function () { $('#deptDiv').hide(); } }); - +//获取table的高度 +function getHeight(height) { + return $(window).height() - height; +} function initTable() { if(tipLoad == 1){ $("#table").bootstrapTable({ // 对应table标签的id @@ -42,7 +45,7 @@ function initTable() { undefinedText: '---', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: 560, //定义表格的高度。 + height: getHeight(176), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 @@ -299,11 +302,6 @@ $('#searchBtn').click(function () { } }); -//获取table的高度 -function getHeight() { - return $(window).height() - 100; -} - initTable(); //2.初始化select的change事件 diff --git a/src/main/webapp/static/js/statistics/finalStatistics.js b/src/main/webapp/static/js/statistics/finalStatistics.js index 57874ed..cbb4c0b 100644 --- a/src/main/webapp/static/js/statistics/finalStatistics.js +++ b/src/main/webapp/static/js/statistics/finalStatistics.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/finalStatisticsDetail.js b/src/main/webapp/static/js/statistics/finalStatisticsDetail.js index cce79a6..ba364c5 100644 --- a/src/main/webapp/static/js/statistics/finalStatisticsDetail.js +++ b/src/main/webapp/static/js/statistics/finalStatisticsDetail.js @@ -23,7 +23,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(234), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/firstStatistics.js b/src/main/webapp/static/js/statistics/firstStatistics.js index bdb8fcf..8a59545 100644 --- a/src/main/webapp/static/js/statistics/firstStatistics.js +++ b/src/main/webapp/static/js/statistics/firstStatistics.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/printCount.js b/src/main/webapp/static/js/statistics/printCount.js index 9e11e69..0b31644 100644 --- a/src/main/webapp/static/js/statistics/printCount.js +++ b/src/main/webapp/static/js/statistics/printCount.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/printInfo.js b/src/main/webapp/static/js/statistics/printInfo.js index 3337713..014686b 100644 --- a/src/main/webapp/static/js/statistics/printInfo.js +++ b/src/main/webapp/static/js/statistics/printInfo.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/scanCount.js b/src/main/webapp/static/js/statistics/scanCount.js index 831380b..631f4fc 100644 --- a/src/main/webapp/static/js/statistics/scanCount.js +++ b/src/main/webapp/static/js/statistics/scanCount.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/scanInfo.js b/src/main/webapp/static/js/statistics/scanInfo.js index 224cfd1..f1d517e 100644 --- a/src/main/webapp/static/js/statistics/scanInfo.js +++ b/src/main/webapp/static/js/statistics/scanInfo.js @@ -20,7 +20,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(164), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。 diff --git a/src/main/webapp/static/js/statistics/statisticsCommom.js b/src/main/webapp/static/js/statistics/statisticsCommom.js index 94d79da..9221f47 100644 --- a/src/main/webapp/static/js/statistics/statisticsCommom.js +++ b/src/main/webapp/static/js/statistics/statisticsCommom.js @@ -90,11 +90,6 @@ $('#searchBtn').click(function () { } }); -//获取table的高度 -function getHeight() { - return $(window).height() - 100; -} - //2.初始化select的change事件 $("#sel_exportoption").change(function () { $('#table').bootstrapTable('refreshOptions', { diff --git a/src/main/webapp/static/js/statistics/statisticsDetail.js b/src/main/webapp/static/js/statistics/statisticsDetail.js index c167e1c..a802ff5 100644 --- a/src/main/webapp/static/js/statistics/statisticsDetail.js +++ b/src/main/webapp/static/js/statistics/statisticsDetail.js @@ -23,7 +23,7 @@ function initTable() { undefinedText: '--', //当数据为 undefined 时显示的字符 singleSelect: false,//设置True 将禁止多选 clickToSelect: true,//设置true 将在点击行时,自动选择rediobox 和 checkbox - height: getHeight(), //定义表格的高度。 + height: getHeight(234), //定义表格的高度。 searchTimeOut: 500,// 默认500 设置搜索超时时间。 toolbarAlign: 'right',// 指定 toolbar 水平方向的位置。'left' 或 'right' paginationDetailHAlign: 'left',//指定 分页详细信息 在水平方向的位置。'left' 或 'right'。