- 新增 CommunityFund / FundLog 模型(公户余额单行表 + 6种流水类型) - 新增 FundRepo 仓储(GetBalance / IncrBalance / CreateLog / ListLogs / WithTx) - 改造 EnergyService 五个方法:Energize 税收入公户、DeductOnRename/DeductOnDeletePost 入公户、RefundOnRenameReject 从公户支出、AdminAdjust 拆分为 admin_transfer/system_operation - 新增 ErrInsufficientFund 错误哨兵 - 管理后台新增公户余额展示 + 公户流水页面 + 域能调整资金来源选择 - 新增 energy.css / energy.js 前端交互 - 侧边栏新增公户流水入口
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
{{template "admin/layout/base.html" .}}
|
|
<div class="page-header">
|
|
<h1>公户流水</h1>
|
|
<p class="page-desc">查看社区激励金(公户)的全部收支记录</p>
|
|
</div>
|
|
|
|
<div class="filter-bar">
|
|
<label for="fund-log-type-filter" style="font-size:0.85rem;color:#4a5568;font-weight:500;">类型筛选:</label>
|
|
<select id="fund-log-type-filter">
|
|
<option value="">全部类型</option>
|
|
{{range $type, $name := .LogTypes}}<option value="{{$type}}">{{$name}}</option>{{end}}
|
|
</select>
|
|
</div>
|
|
|
|
<table class="log-table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>时间</th>
|
|
<th>变动</th>
|
|
<th>类型</th>
|
|
<th>说明</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="fund-log-tbody">
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="fund-log-pagination" class="pagination"></div>
|
|
{{template "admin/layout/footer.html" .}}
|