7cfa582f by 周伟奇

fix role name 2

1 parent db3817f9
...@@ -620,7 +620,7 @@ class BSWorkbook(Workbook): ...@@ -620,7 +620,7 @@ class BSWorkbook(Workbook):
620 new_card = self.get_new_card(card) 620 new_card = self.get_new_card(card)
621 # 1.原表表头收集、按照月份分割 621 # 1.原表表头收集、按照月份分割
622 # 1.1 总结首行信息 622 # 1.1 总结首行信息
623 role_name = summary.get('role', consts.UNKNOWN_ROLE).translate(consts.SHEET_TITLE_TRANS) 623 role_name = summary.get('role', consts.UNKNOWN_ROLE).translate(consts.SHEET_TITLE_TRANS).strip()[:3]
624 classify = summary.get('classify', 0) 624 classify = summary.get('classify', 0)
625 sheet_header_info = {} 625 sheet_header_info = {}
626 header_info = {} 626 header_info = {}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!