|
@@ -420,7 +420,7 @@ class JianYeReport(object):
|
|
file_path = save_path + '/' + title + '.xls'
|
|
file_path = save_path + '/' + title + '.xls'
|
|
if customer_type == 1:
|
|
if customer_type == 1:
|
|
# 项目
|
|
# 项目
|
|
- table_2 = self.house_data(self.get_house_ids(ids))
|
|
|
|
|
|
+ table_2 = self.house_data(ids)
|
|
send_data.append(
|
|
send_data.append(
|
|
[table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
|
|
[table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
|
|
content, name, mail])
|
|
content, name, mail])
|
|
@@ -435,7 +435,7 @@ class JianYeReport(object):
|
|
file_path, content, name, mail])
|
|
file_path, content, name, mail])
|
|
elif customer_type == 3:
|
|
elif customer_type == 3:
|
|
# 区域
|
|
# 区域
|
|
- table_2 = self.house_data(self.get_house_ids(ids))
|
|
|
|
|
|
+ table_2 = self.house_data(ids)
|
|
send_data.append(
|
|
send_data.append(
|
|
[table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
|
|
[table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
|
|
content, name, mail])
|
|
content, name, mail])
|