Commit f745bd06 authored by pengxiong's avatar pengxiong

样式5

parent 94183a00
...@@ -1740,7 +1740,7 @@ ...@@ -1740,7 +1740,7 @@
<div class="self_title fl"> <div class="self_title fl">
{{single_fund_data_list[i].fund_name}} {{single_fund_data_list[i].fund_name}}
</div> </div>
{{single_fund_data_list[i].status}} <!-- {{single_fund_data_list[i].status}}-->
</div> </div>
<div class="self_description"> <div class="self_description">
{% for one in single_fund_data_list[i].evaluation %} {% for one in single_fund_data_list[i].evaluation %}
......
...@@ -217,7 +217,7 @@ class DataIntegrate: ...@@ -217,7 +217,7 @@ class DataIntegrate:
'start_date': self.user_customer.start_date.strftime("%Y-%m-%d"), 'start_date': self.user_customer.start_date.strftime("%Y-%m-%d"),
'ifa_company': '飞度工作室', 'ifa_company': '飞度工作室',
'title': '10月综述', 'title': '10月综述',
'brand_name': '小飞象<br>工作室', 'brand_name': '资产管<br>理中心',
'customer_old': 42, 'customer_level': '平衡型', 'customer_old': 42, 'customer_level': '平衡型',
# 'new_evaluation': self.new_evaluation, # 'new_evaluation': self.new_evaluation,
'position_years': '5年', 'planned_allocation_amount': 2000.00, 'position_years': '5年', 'planned_allocation_amount': 2000.00,
......
...@@ -32,7 +32,7 @@ def gen_radar_chart(radar_chart_data): ...@@ -32,7 +32,7 @@ def gen_radar_chart(radar_chart_data):
init_opts=opts.InitOpts(bg_color="#fff", animation_opts=opts.AnimationOpts(animation=False))).add_schema( init_opts=opts.InitOpts(bg_color="#fff", animation_opts=opts.AnimationOpts(animation=False))).add_schema(
schema=[ schema=[
opts.RadarIndicatorItem(name="绝对收益", max_=100), opts.RadarIndicatorItem(name="绝对收益", max_=100),
opts.RadarIndicatorItem(name="抗风险能力", max_=100), opts.RadarIndicatorItem(name="基金经理", max_=100),
opts.RadarIndicatorItem(name="极端风险", max_=100), opts.RadarIndicatorItem(name="极端风险", max_=100),
opts.RadarIndicatorItem(name="风险调整后收益", max_=100), opts.RadarIndicatorItem(name="风险调整后收益", max_=100),
opts.RadarIndicatorItem(name="业绩持续性", max_=100), opts.RadarIndicatorItem(name="业绩持续性", max_=100),
...@@ -57,18 +57,18 @@ def gen_radar_chart(radar_chart_data): ...@@ -57,18 +57,18 @@ def gen_radar_chart(radar_chart_data):
linestyle_opts=opts.LineStyleOpts(width=2, color="#999999"), linestyle_opts=opts.LineStyleOpts(width=2, color="#999999"),
tooltip_opts=None tooltip_opts=None
).set_series_opts(label_opts=opts.LabelOpts(is_show=False)).set_global_opts( ).set_series_opts(label_opts=opts.LabelOpts(is_show=False)).set_global_opts(
title_opts=opts.TitleOpts( # title_opts=opts.TitleOpts(
title="综合评分", subtitle=radar_chart_data['data'][5]['data'], pos_top="center", pos_left="46%", # title="综合评分", subtitle=radar_chart_data['data'][5]['data'], pos_top="center", pos_left="46%",
title_textstyle_opts={'color': '#333', # title_textstyle_opts={'color': '#333',
'fontSize': 18, # 'fontSize': 18,
'lineHeight': 20, # 'lineHeight': 20,
'fontWeight': 'normal' # 'fontWeight': 'normal'
}, # },
subtitle_textstyle_opts={'color': '#983612' if float(radar_chart_data['data'][5]['data']) > 60 else '#22999F', # subtitle_textstyle_opts={'color': '#983612' if float(radar_chart_data['data'][5]['data']) > 60 else '#22999F',
'fontSize': 20, # 'fontSize': 20,
'lineHeight': 23, # 'lineHeight': 23,
'fontWeight': 'bolder', # 'fontWeight': 'bolder',
}), # }),
legend_opts=opts.LegendOpts(selected_mode=False, is_show=False) legend_opts=opts.LegendOpts(selected_mode=False, is_show=False)
) )
......
...@@ -168853,3 +168853,69 @@ FROM customer ...@@ -168853,3 +168853,69 @@ FROM customer
WHERE customer.id = %(param_1)s WHERE customer.id = %(param_1)s
2020-12-09 20:37:44 Wed sqlalchemy.engine.base.Engine INFO {'param_1': '6716613804966817792'} 2020-12-09 20:37:44 Wed sqlalchemy.engine.base.Engine INFO {'param_1': '6716613804966817792'}
2020-12-09 20:38:09 Wed sqlalchemy.engine.base.Engine INFO COMMIT 2020-12-09 20:38:09 Wed sqlalchemy.engine.base.Engine INFO COMMIT
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT ifa_customer.id AS ifa_customer_id, ifa_customer.customer_id AS ifa_customer_customer_id, ifa_customer.ifa_id AS ifa_customer_ifa_id
FROM ifa_customer
WHERE ifa_customer.ifa_id = %(ifa_id_1)s AND ifa_customer.customer_id IN (%(customer_id_1)s)
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {'ifa_id_1': 'USER_INFO15916072577875', 'customer_id_1': '6716613804966817792'}
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO SELECT customer.id AS customer_id, customer.customer_name AS customer_customer_name
FROM customer
WHERE customer.id = %(param_1)s
2020-12-09 20:46:26 Wed sqlalchemy.engine.base.Engine INFO {'param_1': '6716613804966817792'}
2020-12-09 20:46:54 Wed sqlalchemy.engine.base.Engine INFO COMMIT
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT ifa_customer.id AS ifa_customer_id, ifa_customer.customer_id AS ifa_customer_customer_id, ifa_customer.ifa_id AS ifa_customer_ifa_id
FROM ifa_customer
WHERE ifa_customer.ifa_id = %(ifa_id_1)s AND ifa_customer.customer_id IN (%(customer_id_1)s)
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {'ifa_id_1': 'USER_INFO15916072577875', 'customer_id_1': '6716613804966817792'}
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO SELECT customer.id AS customer_id, customer.customer_name AS customer_customer_name
FROM customer
WHERE customer.id = %(param_1)s
2020-12-09 20:56:05 Wed sqlalchemy.engine.base.Engine INFO {'param_1': '6716613804966817792'}
2020-12-09 20:56:29 Wed sqlalchemy.engine.base.Engine INFO COMMIT
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT ifa_customer.id AS ifa_customer_id, ifa_customer.customer_id AS ifa_customer_customer_id, ifa_customer.ifa_id AS ifa_customer_ifa_id
FROM ifa_customer
WHERE ifa_customer.ifa_id = %(ifa_id_1)s AND ifa_customer.customer_id IN (%(customer_id_1)s)
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {'ifa_id_1': 'USER_INFO15916072577875', 'customer_id_1': '6716613804966817792'}
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO SELECT customer.id AS customer_id, customer.customer_name AS customer_customer_name
FROM customer
WHERE customer.id = %(param_1)s
2020-12-09 20:58:56 Wed sqlalchemy.engine.base.Engine INFO {'param_1': '6716613804966817792'}
2020-12-09 20:59:20 Wed sqlalchemy.engine.base.Engine INFO COMMIT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment