报表优化
This commit is contained in:
parent
089054b140
commit
3121eed16b
@ -762,14 +762,14 @@ async def man_info_form(
|
|||||||
if education:
|
if education:
|
||||||
data['education'] = education_dict.get(education, '大专')
|
data['education'] = education_dict.get(education, '大专')
|
||||||
if work_exp:
|
if work_exp:
|
||||||
data['work_exp'] = str(work_exp) + '年'
|
data['work_exp'] = str(int(work_exp)) + '年'
|
||||||
else:
|
else:
|
||||||
data['work_exp'] = '一年以内'
|
data['work_exp'] = '一年以内'
|
||||||
|
|
||||||
new_res = {k: v for k, v in data.items() if k != 'work_list'}
|
new_res = {k: v for k, v in data.items() if k != 'work_list'}
|
||||||
res_data.append(new_res)
|
res_data.append(new_res)
|
||||||
level_list = {
|
level_list = {
|
||||||
"uid": "玩家id",
|
"uid": "用户id",
|
||||||
"age": "年龄",
|
"age": "年龄",
|
||||||
"gender": "性别",
|
"gender": "性别",
|
||||||
"name": "姓名",
|
"name": "姓名",
|
||||||
|
Loading…
Reference in New Issue
Block a user