diff --git a/fzjgact/db.sqlite3 b/fzjgact/db.sqlite3 index f02ab54..aef337e 100644 Binary files a/fzjgact/db.sqlite3 and b/fzjgact/db.sqlite3 differ diff --git a/fzjgact/huodong/__pycache__/views.cpython-311.pyc b/fzjgact/huodong/__pycache__/views.cpython-311.pyc index 07310f2..8c0caad 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_all.html b/fzjgact/huodong/templates/branch_all.html index 380735e..63de525 100644 --- a/fzjgact/huodong/templates/branch_all.html +++ b/fzjgact/huodong/templates/branch_all.html @@ -1,292 +1,305 @@ -{% extends 'base.html' %} -{% load custom_filters %} - -{% block content %} -
- {{ earliest_act.description }} -
-- {{ latest_act.description }} -
-|
- 分支机构名称
- - 新建-搬迁-装修 - |
- - 活动的总数量 - | -- 活动进行中的数量 - | -
|---|---|---|
| - - {{ item.branch.name }} - - | -- {{ item.total_count }} - | -- {{ item.onging_count }} - | - -
| - 总计: {{ total_branch_count }} - | -- {{ total_activities }} - | -- {{ ongoing_activities_count }} - | -
+ {{ earliest_act.description }} +
++ {{ latest_act.description }} +
+|
+ 分支机构名称
+ + 新建-搬迁-装修 + |
+ + 活动的总数量 + | ++ 活动进行中的数量 + | +
|---|---|---|
| + + {{ item.branch.name }} + + | ++ {{ item.total_count }} + | ++ {{ item.onging_count }} + | + +
| + 总计: {{ total_branch_count }} + | ++ {{ total_activities }} + | ++ {{ ongoing_activities_count }} + | +
信息系统分类: {{ branch.category|default:"暂无" }}
-联系人: {{ branch.contact_person|default:"暂无" }}
-联系电话: {{ branch.contact_phone|default:"暂无" }}
-地址: {{ branch.address|default:"暂无" }}
-成立时间: {{ branch.established_date|date:"Y-m-d"|default:"暂无" }}
-- {{ event.start_time|date:"Y-m-d H:i" }} - {{ event.end_time|date:"Y-m-d H:i"|default:"进行中" }} -
-{{ event.description|truncatechars:100 }}
-暂无事件记录
- {% endif %} -{{ image.description|default:"无描述" }}
-{{ image.upload_date|date:"Y-m-d" }}
-暂无设备间图片
- {% endif %} -| 类型 | -描述 | -最后演练 | -更新时间 | -
|---|---|---|---|
| {{ screen.get_screen_type_display }} | -{{ screen.description|default:"无" }} | -{{ screen.last_drill.date|date:"Y-m-d"|default:"未演练" }} | -{{ screen.updated_at|date:"Y-m-d H:i" }} | -
暂无公共电子屏信息
- {% endif %} -信息系统分类: {{ branch.category|default:"暂无" }}
+联系人: {{ branch.contact_person|default:"暂无" }}
+联系电话: {{ branch.contact_phone|default:"暂无" }}
+地址: {{ branch.address|default:"暂无" }}
+成立时间: {{ branch.established_date|date:"Y-m-d"|default:"暂无" }}
++ {% if event.end_time %} + 开始日期{{ event.start_time|date:"Y年m月d日" }} 结束日期{{ event.end_time|date:"Y年m月d日" }} + {% else %} + 开始日期{{ event.start_time|date:"Y年m月d日" }},现在进行中 + {% endif %} +
+{{ event.description|truncatechars:100 }}
+暂无事件记录
+ {% endif %} +{{ image.description|default:"无描述" }}
+{{ image.upload_date|date:"Y-m-d" }}
+暂无设备间图片
+ {% endif %} +| 类型 | +描述 | +最后演练 | +更新时间 | +
|---|---|---|---|
| {{ screen.get_screen_type_display }} | +{{ screen.description|default:"无" }} | +{{ screen.last_drill.date|date:"Y-m-d"|default:"未演练" }} | +{{ screen.updated_at|date:"Y-m-d H:i" }} | +
暂无公共电子屏信息
+ {% endif %} +