feat(报表导出): 增强分支机构报表导出功能

在Excel和PDF导出中增加省份分组显示,并添加统计信息
- 按省份分组显示分支机构数据
- 添加省份标题行和统计信息
- 优化表格样式和布局
- 在HTML模板中显示分支机构数量
This commit is contained in:
2026-01-12 16:47:08 +08:00
parent 51f3b9241c
commit dea365977e
3 changed files with 126 additions and 14 deletions

View File

@@ -25,7 +25,7 @@
<tr class="{% if forloop.parentloop.counter|divisibleby:2 %}bg-gray-100{% else %}bg-white{% endif %}">
{% if forloop.first %}
<td class="px-6 py-4 whitespace-no-wrap text-left border-b border-gray-200" rowspan="{{ branches|length }}">
{{ province }}
{{ province }}{{ branches|length }}
</td>
{% endif %}
<td class="px-6 py-4 whitespace-no-wrap text-left border-b border-gray-200">