This commit is contained in:
王思川 2024-06-01 01:16:14 +08:00
parent 59ac191993
commit 98ab816473
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
<!-- 模态框 -->
{% include 'modify_record_modal.html' with modify_records_url=modify_records_url %}
{% include 'upload_excel_modal.html' with parse_excel_url='' download_template_url=static_url %}
{% include 'upload_excel_modal.html' with parse_excel_url='' download_template_url=download_template_url %}
<div id="newModal" class="modal fade bd-example-modal-lg" tabindex="-1" role="dialog"
aria-labelledby="exampleModalCenterTitle" aria-hidden="true">

View File

@ -109,7 +109,7 @@ def gbo_list_view(request):
{'header': '操作', 'field': 'actions'},
],
"modify_records_url": reverse('gbo_audit_record_list'),
# "download_template_url": reverse('download_gbo_template'),
'download_template_url': reverse('download_excel_template', kwargs={'template_name': '业绩管理-集团经营目标-Excel上传模板.xlsx'})
}
return render(request, 'perf_mgnt/gbo_list.html', context)