|
@ -4,7 +4,7 @@
|
|
|
(function ($, win) {
|
|
|
|
|
|
/***************** 字典相关扩展 *************************/
|
|
|
//字典数据
|
|
|
//字典数据
|
|
|
$.ehrDict = {
|
|
|
dictDataUrl: window.root + "/basedict/getDict", //字典数据获取路径
|
|
|
dictCodeName: "code", //字典code字段
|
|
@ -1346,9 +1346,19 @@
|
|
|
{
|
|
|
parentHeight = layoutparent.height();
|
|
|
}
|
|
|
|
|
|
h = parentHeight * parseFloat(p.height) * 0.01;
|
|
|
if (p.inWindow || layoutparent[0].tagName.toLowerCase() == "body")
|
|
|
h -= (g.layout.offset().top - parseInt($('body').css('paddingTop')));
|
|
|
|
|
|
/****** 判断是否比外层高 add by hzp at 2016-03-15 **********/
|
|
|
if(layoutparent.height() >0 && h > layoutparent.height())
|
|
|
{
|
|
|
var padding = layoutparent.innerHeight() - layoutparent.height();
|
|
|
var margin = layoutparent.outerHeight(true) - layoutparent.outerHeight();
|
|
|
h = layoutparent.height() - padding - margin;
|
|
|
}
|
|
|
/*************************************************/
|
|
|
}
|
|
|
else
|
|
|
{
|