modify the sheet title for excel
parent
9443eca6f0
commit
dafbe77460
|
@ -52,6 +52,8 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
ws.title = ""
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -72,6 +72,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -72,6 +72,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -67,6 +67,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -72,6 +72,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -52,6 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -67,6 +67,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -55,6 +55,7 @@ def generate_excel(report, space_name):
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 118
|
ws.row_dimensions[1].height = 118
|
||||||
|
|
|
@ -65,7 +65,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
|
@ -60,6 +60,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -59,6 +59,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
def generate_excel(report, name, reporting_start_datetime_local, reporting_end_datetime_local, period_type):
|
def generate_excel(report, name, reporting_start_datetime_local, reporting_end_datetime_local, period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -57,6 +57,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -64,7 +64,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
|
@ -59,6 +59,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -52,6 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -67,6 +67,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -67,6 +67,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -52,6 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 118
|
ws.row_dimensions[1].height = 118
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -67,6 +67,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -69,6 +69,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -52,6 +52,7 @@ def generate_excel(report, space_name, reporting_start_datetime_local, reporting
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
for i in range(1, 11 + 1):
|
for i in range(1, 11 + 1):
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -71,6 +71,7 @@ def generate_excel(report,
|
||||||
|
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,7 +68,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
|
@ -70,6 +70,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -68,6 +68,7 @@ def generate_excel(report,
|
||||||
period_type):
|
period_type):
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
|
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
|
|
|
@ -64,7 +64,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
|
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "123"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
|
@ -61,7 +61,7 @@ def generate_excel(report, name, reporting_start_datetime_local, reporting_end_d
|
||||||
wb = Workbook()
|
wb = Workbook()
|
||||||
# todo
|
# todo
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
ws.title = "VirtualMeterEnergy"
|
||||||
# Row height
|
# Row height
|
||||||
ws.row_dimensions[1].height = 102
|
ws.row_dimensions[1].height = 102
|
||||||
for i in range(2, 2000 + 1):
|
for i in range(2, 2000 + 1):
|
||||||
|
|
Loading…
Reference in New Issue