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