Ver a proveniência

列表序号超过1000展示不完全

新疆警官学校中职
ndbs há 2 anos
ascendente
cometimento
636a7f7dcd
3 ficheiros alterados com 11 adições e 11 eliminações
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jfGrid/jfgrid.js
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.css
  3. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jfGrid/jfgrid.js Ver ficheiro

@@ -204,18 +204,18 @@
if (dfop.isShowNum) { if (dfop.isShowNum) {
var $num = $('<div class="jfgrid-border-cell jfgrid-border-num"></div>'); var $num = $('<div class="jfgrid-border-cell jfgrid-border-num"></div>');
$border.prepend($num); $border.prepend($num);
_width += 30;
_width += 60;
} }
if (dfop.isMultiselect) { if (dfop.isMultiselect) {
var $cb = $('<div class="jfgrid-border-cell jfgrid-border-cb"><input role="checkbox" id="jfgrid_all_cb_' + dfop.id + '" type="checkbox"></div>') var $cb = $('<div class="jfgrid-border-cell jfgrid-border-cb"><input role="checkbox" id="jfgrid_all_cb_' + dfop.id + '" type="checkbox"></div>')
.css('left', _width + 'px').css('line-height', (dfop._headHeight - 1) + 'px'); .css('left', _width + 'px').css('line-height', (dfop._headHeight - 1) + 'px');
$border.prepend($cb); $border.prepend($cb);
_width += 30;
_width += 60;
} }
if (dfop.isSubGrid) { if (dfop.isSubGrid) {
var $sub = $('<div class="jfgrid-border-cell jfgrid-border-sub"></div>').css('left', _width + 'px'); var $sub = $('<div class="jfgrid-border-cell jfgrid-border-sub"></div>').css('left', _width + 'px');
$border.prepend($sub); $border.prepend($sub);
_width += 30;
_width += 60;
} }


dfop._borderLeftPadding = _width; dfop._borderLeftPadding = _width;


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.css Ver ficheiro

@@ -47,7 +47,7 @@
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 30px;
width: 60px;
height: 100%; height: 100%;
border-right: 1px solid #ccc; border-right: 1px solid #ccc;
} }
@@ -165,7 +165,7 @@
left: 0; left: 0;
font-size: 12px; font-size: 12px;
color: #333; color: #333;
width: 30px;
width: 60px;
line-height: 27px; line-height: 27px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc; border-right: 1px solid #ccc;


+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js Ver ficheiro

@@ -998,20 +998,20 @@
// 判断是否有序号列 // 判断是否有序号列
if (op.isShowNum) { if (op.isShowNum) {
$border.append('<div class="jfgrid-border-cell jfgrid-border-num"></div>'); $border.append('<div class="jfgrid-border-cell jfgrid-border-num"></div>');
op.running.leftWidth += 30;
op.running.leftWidth += 60;
} }
// 判断是否允许多选 // 判断是否允许多选
if (op.isMultiselect) { if (op.isMultiselect) {
var $cb = $('<div class="jfgrid-border-cell jfgrid-border-cb"><img id="jfgrid_all_cb_' + op.id + '" src="' + imageurl + cb[0] + '" /></div>') var $cb = $('<div class="jfgrid-border-cell jfgrid-border-cb"><img id="jfgrid_all_cb_' + op.id + '" src="' + imageurl + cb[0] + '" /></div>')
.css({ 'left': op.running.leftWidth, 'line-height': (op.running.headHeight - 1) + 'px' }); .css({ 'left': op.running.leftWidth, 'line-height': (op.running.headHeight - 1) + 'px' });
$border.append($cb); $border.append($cb);
op.running.leftWidth += 30;
op.running.leftWidth += 60;
} }
// 是否有展开 // 是否有展开
if (op.isSubGrid) { if (op.isSubGrid) {
var $sub = $('<div class="jfgrid-border-cell jfgrid-border-sub"></div>').css('left', op.running.leftWidth); var $sub = $('<div class="jfgrid-border-cell jfgrid-border-sub"></div>').css('left', op.running.leftWidth);
$border.append($sub); $border.append($sub);
op.running.leftWidth += 30;
op.running.leftWidth += 60;
} }
op.running.leftWidth += op.running.frozenleft; op.running.leftWidth += op.running.frozenleft;
$self.css({ 'padding-top': op.running.headHeight }); $self.css({ 'padding-top': op.running.headHeight });
@@ -1281,7 +1281,7 @@


row['jfcheck'].$cell.css({ 'top': row['jfcheck'].top, 'left': row['jfcheck'].left, 'text-align': 'center', 'height': op.rowHeight, 'line-height': (op.rowHeight - 1) + 'px' }); row['jfcheck'].$cell.css({ 'top': row['jfcheck'].top, 'left': row['jfcheck'].left, 'text-align': 'center', 'height': op.rowHeight, 'line-height': (op.rowHeight - 1) + 'px' });
$left.append(row['jfcheck'].$cell); $left.append(row['jfcheck'].$cell);
_left += 30;
_left += 60;
} }
// 是否有子表选项 // 是否有子表选项
if (op.isSubGrid) { if (op.isSubGrid) {
@@ -1293,7 +1293,7 @@
}; };
row['jfsubGrid'].$cell.css({ 'top': row['jfsubGrid'].top, 'left': row['jfsubGrid'].left, 'text-align': 'center', 'height': op.rowHeight, 'line-height': (op.rowHeight - 1) + 'px' }); row['jfsubGrid'].$cell.css({ 'top': row['jfsubGrid'].top, 'left': row['jfsubGrid'].left, 'text-align': 'center', 'height': op.rowHeight, 'line-height': (op.rowHeight - 1) + 'px' });
$left.append(row['jfsubGrid'].$cell); $left.append(row['jfsubGrid'].$cell);
_left += 30;
_left += 60;
} }


// 加载固定列数据 // 加载固定列数据
@@ -2153,7 +2153,7 @@
isAutoHeight: false, // 自动适应表格高度 isAutoHeight: false, // 自动适应表格高度
height: 0, height: 0,
rowHeight: 28, // 行高 rowHeight: 28, // 行高
numRowWitdh: 30 // 序号列宽度
numRowWitdh: 60 // 序号列宽度




}; };


Carregando…
Cancelar
Guardar