|
|
@ -97,7 +97,7 @@ BI.Pager = BI.inherit(BI.Widget, { |
|
|
|
value: "first", |
|
|
|
value: "first", |
|
|
|
disabled: !(dict.index > 1 && groups !== 0) |
|
|
|
disabled: !(dict.index > 1 && groups !== 0) |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (dict.index > 1 && groups !== 0) { |
|
|
|
if (dict.index > 1 && groups !== 0 && groups !== pages - 1) { |
|
|
|
view.push({ |
|
|
|
view.push({ |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
cls: "page-ellipsis", |
|
|
|
cls: "page-ellipsis", |
|
|
@ -139,7 +139,7 @@ BI.Pager = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
// 总页数大于连续分页数,且当前组最大页小于总页,输出尾页
|
|
|
|
// 总页数大于连续分页数,且当前组最大页小于总页,输出尾页
|
|
|
|
if (((!o.dynamicShow && !o.dynamicShowFirstLast) || (pages > groups && dict.end < pages && groups !== 0)) && last) { |
|
|
|
if (((!o.dynamicShow && !o.dynamicShowFirstLast) || (pages > groups && dict.end < pages && groups !== 0)) && last) { |
|
|
|
if (pages > groups && dict.end < pages && groups !== 0) { |
|
|
|
if (pages > groups && dict.end < pages && groups !== 0 && groups !== pages - 1) { |
|
|
|
view.push({ |
|
|
|
view.push({ |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
cls: "page-ellipsis", |
|
|
|
cls: "page-ellipsis", |
|
|
|