d373a787 by 冯轩

MOD:文件列表页增加excel下载功能,识别结果excel取消删除

1 parent 638c78ea
......@@ -1978,7 +1978,7 @@ class Command(BaseCommand, LoggerMixin):
self.log_base, task_str, traceback.format_exc()))
else:
self.online_log.info('{0} [process complete] [task={1}]'.format(self.log_base, task_str))
os.remove(excel_path)
# os.remove(excel_path)
# report新增流水真伪
try:
......
......@@ -1083,6 +1083,8 @@ class DocView(DocGenericView, DocHandler):
application_link = '{0}/showList/showList?entity={1}&scheme={2}&case_id={3}'.format(
conf.BASE_URL, prefix, tmp_scheme, doc_dict['application_id'])
doc_dict['target_url'] = application_link
doc_id = doc_dict.get('id')
doc_dict['pdf_link'] = self.get_link(doc_id, business_type)
# total = len(doc_list)
pagination = {'current': page, 'total': total, 'page_size': page_size}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!