wb rebuild off
Showing
2 changed files
with
6 additions
and
4 deletions
... | @@ -168,8 +168,8 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -168,8 +168,8 @@ class Command(BaseCommand, LoggerMixin): |
168 | # loop.close() | 168 | # loop.close() |
169 | 169 | ||
170 | # 整合excel文件 | 170 | # 整合excel文件 |
171 | wb.save(src_excel_path) | 171 | # wb.save(src_excel_path) |
172 | wb.rebuild(role_summary) | 172 | # wb.rebuild(role_summary) |
173 | wb.save(excel_path) | 173 | wb.save(excel_path) |
174 | except Exception as e: | 174 | except Exception as e: |
175 | doc.status = DocStatus.PROCESS_FAILED.value | 175 | doc.status = DocStatus.PROCESS_FAILED.value | ... | ... |
... | @@ -88,8 +88,10 @@ priority_doc_args = { | ... | @@ -88,8 +88,10 @@ priority_doc_args = { |
88 | 88 | ||
89 | 89 | ||
90 | class UploadDocView(GenericView, DocHandler): | 90 | class UploadDocView(GenericView, DocHandler): |
91 | permission_classes = [IsAuthenticated] | 91 | permission_classes = [] |
92 | authentication_classes = [OAuth2AuthenticationWithUser] | 92 | authentication_classes = [] |
93 | # permission_classes = [IsAuthenticated] | ||
94 | # authentication_classes = [OAuth2AuthenticationWithUser] | ||
93 | # required_scopes = ['write'] | 95 | # required_scopes = ['write'] |
94 | 96 | ||
95 | # 上传(接收)文件接口 | 97 | # 上传(接收)文件接口 | ... | ... |
-
Please register or sign in to post a comment