Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
data-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 84b3bdcc
authored
Oct 19, 2026
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交改动
1 parent
29a70092
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
data-process/config.py
data-process/processor.py
data-process/static/js/list.js
data-process/config.py
View file @
84b3bdc
...
@@ -229,7 +229,6 @@ class Config:
...
@@ -229,7 +229,6 @@ class Config:
'红黄门店数据'
,
'红黄门店数据'
,
],
],
},
},
<<<<<<<
Updated
upstream
# 招聘管理:无需上传数据源表(forms 为空),need_period=False;
# 招聘管理:无需上传数据源表(forms 为空),need_period=False;
# 处理引擎已接入:processor.py 路由至 RecruitmentProcessor
# 处理引擎已接入:processor.py 路由至 RecruitmentProcessor
# (查 D+ dj_car_life_recruitment_demand → 聚合 I~AF → 落 recruitment_month_data → 渲染结果表 → 上传 OSS)。
# (查 D+ dj_car_life_recruitment_demand → 聚合 I~AF → 落 recruitment_month_data → 渲染结果表 → 上传 OSS)。
...
@@ -239,7 +238,7 @@ class Config:
...
@@ -239,7 +238,7 @@ class Config:
'need_period'
:
False
,
'need_period'
:
False
,
'support_week'
:
False
,
'support_week'
:
False
,
'forms'
:
[],
'forms'
:
[],
=======
},
# 广爱专项:附件驱动报表,支持按月/按周(累计制 W1~W4,无第 5 周),1 个附件
# 广爱专项:附件驱动报表,支持按月/按周(累计制 W1~W4,无第 5 周),1 个附件
'guangai_special'
:
{
'guangai_special'
:
{
'name'
:
'广爱专项'
,
'name'
:
'广爱专项'
,
...
@@ -248,6 +247,5 @@ class Config:
...
@@ -248,6 +247,5 @@ class Config:
'forms'
:
[
'forms'
:
[
'门店维度数据'
,
'门店维度数据'
,
],
],
>>>>>>>
Stashed
changes
},
},
}
}
data-process/processor.py
View file @
84b3bdc
...
@@ -1487,17 +1487,16 @@ class DataProcessor:
...
@@ -1487,17 +1487,16 @@ class DataProcessor:
LeapmotorProcessor
(
app
=
self
.
app
)
.
process
(
task
)
LeapmotorProcessor
(
app
=
self
.
app
)
.
process
(
task
)
return
return
<<<<<<<
Updated
upstream
if
getattr
(
task
,
'data_table_type'
,
None
)
==
'recruitment'
:
if
getattr
(
task
,
'data_table_type'
,
None
)
==
'recruitment'
:
from
recruitment_processor
import
RecruitmentProcessor
from
recruitment_processor
import
RecruitmentProcessor
logger
.
info
(
f
"[处理任务] 路由 recruitment 任务 {task_id} 至 RecruitmentProcessor"
)
logger
.
info
(
f
"[处理任务] 路由 recruitment 任务 {task_id} 至 RecruitmentProcessor"
)
RecruitmentProcessor
(
app
=
self
.
app
)
.
process
(
task
)
RecruitmentProcessor
(
app
=
self
.
app
)
.
process
(
task
)
=======
return
if
getattr
(
task
,
'data_table_type'
,
None
)
==
'guangai_special'
:
if
getattr
(
task
,
'data_table_type'
,
None
)
==
'guangai_special'
:
from
guangai_processor
import
GuangaiProcessor
from
guangai_processor
import
GuangaiProcessor
logger
.
info
(
f
"[处理任务] 路由 guangai_special 任务 {task_id} 至 GuangaiProcessor"
)
logger
.
info
(
f
"[处理任务] 路由 guangai_special 任务 {task_id} 至 GuangaiProcessor"
)
GuangaiProcessor
(
app
=
self
.
app
)
.
process
(
task
)
GuangaiProcessor
(
app
=
self
.
app
)
.
process
(
task
)
>>>>>>>
Stashed
changes
return
return
# 通用+权益:与 CommonEquityScheduler 共用同一处理逻辑,避免调度与手工处理行为不一致
# 通用+权益:与 CommonEquityScheduler 共用同一处理逻辑,避免调度与手工处理行为不一致
...
...
data-process/static/js/list.js
View file @
84b3bdc
...
@@ -429,7 +429,6 @@
...
@@ -429,7 +429,6 @@
return
options
;
return
options
;
}
}
<<<<<<<
Updated
upstream
// 组装一个周选项:start 恒为当月 1 号,end 为传入的结束日期字符串
// 组装一个周选项:start 恒为当月 1 号,end 为传入的结束日期字符串
function
makeWeekOption
(
w
,
monthVal
,
endStr
)
{
function
makeWeekOption
(
w
,
monthVal
,
endStr
)
{
var
startStr
=
monthVal
+
'-01'
;
var
startStr
=
monthVal
+
'-01'
;
...
@@ -441,7 +440,8 @@
...
@@ -441,7 +440,8 @@
start
:
startStr
,
start
:
startStr
,
end
:
endStr
end
:
endStr
};
};
=======
}
// 广爱专项:周区间为「累计制」(WN = 当月1日 ~ 当月第 N 个周日,仅 W1~W4,无第 5 周)
// 广爱专项:周区间为「累计制」(WN = 当月1日 ~ 当月第 N 个周日,仅 W1~W4,无第 5 周)
function
isGuangaiType
()
{
function
isGuangaiType
()
{
return
mType
.
value
===
'guangai_special'
;
return
mType
.
value
===
'guangai_special'
;
...
@@ -467,7 +467,6 @@
...
@@ -467,7 +467,6 @@
});
});
}
}
return
options
;
return
options
;
>>>>>>>
Stashed
changes
}
}
// Date 对象 → 'YYYY-MM-DD'
// Date 对象 → 'YYYY-MM-DD'
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment