7d44ed22 by 周伟奇

fix bug

1 parent 7965c565
......@@ -345,8 +345,8 @@ class BSWorkbook(Workbook):
metadata_rows.extend(verify_list)
for r in range(verify_start, len(metadata_rows)+1):
verify_highlight_row.append(r)
metadata_rows.append(self.blank_row)
metadata_rows.append(self.code_header)
metadata_rows.extend(code)
......
......@@ -889,7 +889,8 @@ class DocView(GenericView, DocHandler):
create_time__lt=create_time_end + datetime.timedelta(days=1))\
if create_time_start is not None and create_time_end is not None else Q()
query = application_id_query & status_query & data_source_query & upload_finish_time_query & create_time_query
val_tuple = ('id', 'application_id', 'upload_finish_time', 'create_time', 'document_scheme', 'data_source', 'status', 'page_count')
val_tuple = ('id', 'application_id', 'upload_finish_time', 'create_time', 'document_scheme', 'data_source',
'status', 'duration', 'page_count')
doc_class, prefix = self.get_doc_class(business_type)
total = doc_class.objects.filter(query).count()
start_index = page_size * (page - 1)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!