diff --git a/.gitignore b/.gitignore
index ef88847..5cd4aeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
__pycache__/
*.py[cod]
*$py.class
-
+*.pyc
# Django stuff:
media/
diff --git a/fzjgact/huodong/__pycache__/urls.cpython-311.pyc b/fzjgact/huodong/__pycache__/urls.cpython-311.pyc
index 4073f15..d79bbe7 100644
Binary files a/fzjgact/huodong/__pycache__/urls.cpython-311.pyc and b/fzjgact/huodong/__pycache__/urls.cpython-311.pyc differ
diff --git a/fzjgact/huodong/__pycache__/views.cpython-311.pyc b/fzjgact/huodong/__pycache__/views.cpython-311.pyc
index 1247d81..661d527 100644
Binary files a/fzjgact/huodong/__pycache__/views.cpython-311.pyc and b/fzjgact/huodong/__pycache__/views.cpython-311.pyc differ
diff --git a/fzjgact/huodong/templates/branch_info.html b/fzjgact/huodong/templates/branch_info.html
index 2b4996e..cee8103 100644
--- a/fzjgact/huodong/templates/branch_info.html
+++ b/fzjgact/huodong/templates/branch_info.html
@@ -6,6 +6,9 @@
+ |
+ 所在省份
+ |
分支机构名称
@@ -17,33 +20,39 @@
|
- {% for item in branches %}
-
-
- |
-
- {{ item.name }}
-
- |
-
- {{ item.category }}
- |
+ {% for province, branches in branches_by_province.items %}
+ {% for item in branches %}
+
+ {% if forloop.first %}
+ |
+ {{ province }}
+ |
+ {% endif %}
+
+
+ {{ item.name }}
+
+ |
+
+ {{ item.category }}
+ |
-
+
+ {% endfor %}
{% endfor %}
|
分支机构类别统计
|
-
+ |
A型: {{ type_a_count }}家 | B型: {{ type_b_count }}家 | C型: {{ type_c_count }}家
|
- |
+ |
|