|
@@ -49,7 +49,7 @@ class JianYeReport(object):
|
|
|
"""
|
|
|
month_day = rpfu.get_montho_day()
|
|
|
if type == 1:
|
|
|
- return '[{}]{}数据报表_{}'.format(month_day, region_name,name)
|
|
|
+ return '[{}]{}数据报表_{}'.format(month_day, region_name, name)
|
|
|
elif type == 2:
|
|
|
return '[{}]建业云集团数据报表_{}'.format(month_day, name)
|
|
|
elif type == 3:
|
|
@@ -243,7 +243,7 @@ class JianYeReport(object):
|
|
|
region_name = customer[4]
|
|
|
title = self.get_mail_title(customer_type, region_name, name)
|
|
|
content = self.get_mail_content(customer_type)
|
|
|
- file_path = save_path + '/' + title
|
|
|
+ file_path = save_path + '/' + title + '.xlsx'
|
|
|
if customer_type == 2:
|
|
|
# 集团
|
|
|
table_1 = self.brand_data()
|