def search(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'搜索业务售卖类型分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(search_excle_data()) return tpl('/data_query/super_leader/sale_type.html', title=title, type='search')
def douban_order(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'豆瓣订单行业分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(douban_order_excle_data()) return tpl('/data_query/super_leader/industry.html', title=title, type='douban')
def client_order(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'新媒体订单客户分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(client_order_excle_data()) return tpl('/data_query/super_leader/client.html', title=title, type='client')
def search(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'搜索业务媒体执行额分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(search_excle_data()) return tpl('/data_query/super_leader/medium_info.html', title=title, type="search")
def douban_order(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'豆瓣订单行业分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(douban_order_excle_data()) return tpl('/data_query/super_leader/industry.html', title=title, type='douban')
def client_order(): if not (g.user.is_super_leader() or g.user.is_aduit() or g.user.is_finance()): abort(403) title = u'新媒体订单行业分析' action = request.values.get('action', '') if action == 'excel': return write_pie_excel(client_order_excle_data()) return tpl('/data_query/super_leader/agent.html', title=title, type='client')