|
@@ -11,8 +11,8 @@ class JianYeReport(object):
|
|
|
"""
|
|
|
建业报表数据处理
|
|
|
"""
|
|
|
- customer_mails = ['liutt@elab-plus.com', 'binrenzhang@qq.com', 'plf@centralchina.com']
|
|
|
- # customer_mails = ['binrenzhang@qq.com']
|
|
|
+ # customer_mails = ['liutt@elab-plus.com', 'binrenzhang@qq.com', 'plf@centralchina.com']
|
|
|
+ customer_mails = ['binrenzhang@qq.com']
|
|
|
|
|
|
#
|
|
|
index_type = [
|
|
@@ -253,16 +253,21 @@ class JianYeReport(object):
|
|
|
table_1 = self.brand_data()
|
|
|
house_ids = self.get_house_id_by_brand_id(ids)
|
|
|
table_2 = self.house_data(house_ids)
|
|
|
- # data, sheet_names, title, headers, save_path
|
|
|
+ # 总浏览量:xx ,总浏览人数:xx
|
|
|
+ #
|
|
|
+ # 新增获客: xx, 新增获电:xx
|
|
|
+ #
|
|
|
+ # 推荐用户数:xx,分享获电:xx,裂变获电:xx
|
|
|
+ #
|
|
|
+ # 全民经纪人注册数:xx
|
|
|
+ #
|
|
|
+ # 报备成功数:xx,报备到访数:xx
|
|
|
content = content.format(table_1[0], table_1[1], table_1[2], table_1[3], table_1[4], table_1[5],
|
|
|
- table_1[6], table_1[7], table_1[8], table_1[9], table_1[10], table_1[11],
|
|
|
- table_1[12], table_1[13], table_1[14],
|
|
|
- table_1[15], table_1[16], table_1[17], table_1[18],
|
|
|
- table_1[19], table_1[20], table_1[21], table_1[22], table_1[23],
|
|
|
- table_1[24], table_1[25],
|
|
|
- table_1[26], table_1[27], table_1[28], table_1[29], table_1[30],
|
|
|
- table_1[31],
|
|
|
- table_1[32], table_1[33], table_1[34], table_1[35]
|
|
|
+ table_1[6], table_1[8], table_1[10], table_1[11],
|
|
|
+ table_1[12], table_1[13], table_1[14], table_1[15], table_1[16], table_1[17],
|
|
|
+ table_1[18], table_1[20], table_1[22], table_1[23],
|
|
|
+ table_1[24], table_1[25], table_1[26], table_1[27], table_1[28], table_1[29],
|
|
|
+ table_1[30], table_1[32], table_1[34], table_1[35]
|
|
|
)
|
|
|
send_data.append(
|
|
|
[table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
|