1.优化数据展示
This commit is contained in:
parent
4efe714781
commit
e553dfb10c
@ -122,9 +122,15 @@ def chkData(data):
|
|||||||
split_str1 = '—'
|
split_str1 = '—'
|
||||||
if '—' in work_list[true_index]['time']:
|
if '—' in work_list[true_index]['time']:
|
||||||
split_str2 = '—'
|
split_str2 = '—'
|
||||||
|
try:
|
||||||
if int(i['time'].split(split_str1)[0].replace('.', '').replace('/', '')) > int(
|
if int(i['time'].split(split_str1)[0].replace('.', '').replace('/', '')) > int(
|
||||||
work_list[true_index]['time'].split(split_str2)[0].replace('.', '').replace('/', '')):
|
work_list[true_index]['time'].split(split_str2)[0].replace('.', '').replace('/', '')):
|
||||||
true_index = index
|
true_index = index
|
||||||
|
except:
|
||||||
|
true_index = index
|
||||||
|
# if int(i['time'].split(split_str1)[0].replace('.', '').replace('/', '')) > int(
|
||||||
|
# work_list[true_index]['time'].split(split_str2)[0].replace('.', '').replace('/', '')):
|
||||||
|
# true_index = index
|
||||||
work_dict = work_list[true_index]
|
work_dict = work_list[true_index]
|
||||||
work_list = [work_dict]
|
work_list = [work_dict]
|
||||||
bast_index = 0
|
bast_index = 0
|
||||||
@ -484,19 +490,19 @@ async def file_to_hw(
|
|||||||
|
|
||||||
# 简历初始文档
|
# 简历初始文档
|
||||||
data_mode = {
|
data_mode = {
|
||||||
"interview_name": "",
|
"interview_name": "", #面试官姓名
|
||||||
"interview_type": 1,
|
"interview_type": 1,#面试类型
|
||||||
"interview_sign": 0,
|
"interview_sign": 0,#面试签到
|
||||||
"hope_money": "",
|
"hope_money": "",#期望薪资
|
||||||
"feedback": 0,
|
"feedback": 0,#面试反馈
|
||||||
"interview_round": 0,
|
"interview_round": 0,#面试轮次
|
||||||
"event_time": datetime.now(),
|
"event_time": datetime.now(),#投递简历时间
|
||||||
"name": "",
|
"name": "",#求职者姓名
|
||||||
"phone": "",
|
"phone": "",#求职者电话
|
||||||
"job_name": "",
|
"job_name": "",#应聘职位
|
||||||
"hr_name": "",
|
"hr_name": "",#hr姓名
|
||||||
"work_exp": 0,
|
"work_exp": 0,#工作经验
|
||||||
"interview_stage": 1,
|
"interview_stage": 1,#
|
||||||
"owner_name": 2,
|
"owner_name": 2,
|
||||||
"education": 1,
|
"education": 1,
|
||||||
"work_undergo": [],
|
"work_undergo": [],
|
||||||
|
Loading…
Reference in New Issue
Block a user