Skip to content

Commit

Permalink
be
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Dec 25, 2024
1 parent 322eead commit 1826d05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public JSON build() {
Map<String, Object> ret = new HashMap<>();
ret.put("data", rearray);
ret.put("stats", stats);
ret.put("overLimit", array.length >= 500);
return (JSON) JSON.toJSON(ret);
}
}
5 changes: 5 additions & 0 deletions src/main/resources/web/assets/js/charts/charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,11 @@ class ApprovalList extends BaseChart {
})}
</tbody>
</table>
{data.overLimit && (
<div className="m-2 text-center text-warning">
<i className="mdi mdi-information-outline" /> {$L('最多显示最近 500 条记录')}
</div>
)}
</div>
)

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/web/entity/approval/approval-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<h3 class="title">[[${bundle.L('审批流程')}]]</h3>
<span>
<a class="close J_close" th:title="${bundle.L('关闭')}"><i class="zmdi zmdi-close"></i></a>
<a class="close sm J_reload" th:title="${bundle.L('刷新')}"><i class="zmdi zmdi-refresh"></i></a>
<a class="close sm J_back hide" th:title="${bundle.L('回退')}"><i class="zmdi zmdi-arrow-left"></i></a>
</span>
</div>
Expand Down

0 comments on commit 1826d05

Please sign in to comment.