添加导出率

This commit is contained in:
pengtao 2019-10-23 10:56:42 +08:00
parent 1192ed3934
commit 800a863571
2 changed files with 2 additions and 12 deletions

View File

@ -87,15 +87,6 @@ class Report:
self.project = project
def get_data(self):
data = defaultdict(tuple)
fromappids = ()
for fromappid in fromappids:
activa, new, share, k = self.collect_tga(fromappid)
data[fromappid] = (activa, new, share, k)
def get_all_data(self, **args):
activa_sql = f"""SELECT
count(distinct "#account_id")
@ -325,9 +316,9 @@ class Report:
args['fromappid_cn'] = fromappids.get(f_key, None) or "未知"
temp['input'].append(self.get_input_fromappid(**args))
temp['output'].append(self.get_output_fromappid(**args))
print(data)
print(data)
data.append(temp)
return data
return data

View File

@ -68,7 +68,6 @@
{% endfor %}
</tr>
</tbody>
>
</table>