|
@@ -245,10 +245,6 @@ const handleWebAnalysis = (list) => {
|
|
|
// 入库
|
|
|
const StorePageRef = ref(null)
|
|
|
const handleStore = async ({ task_type, task_name, parse_result }) => {
|
|
|
- // console.log(parse_result, 'parse_result')
|
|
|
- // const data = await talentGatherApi.getTaskDetail(task_name)
|
|
|
- // console.log(data, '任务详情')
|
|
|
-
|
|
|
const { results } = parse_result
|
|
|
if (!results || !results.length) return message.warning('该任务无解析数据,无法入库')
|
|
|
|
|
@@ -262,7 +258,7 @@ const handleAnalysis = async ({ task_type, id, task_source }) => {
|
|
|
|
|
|
const loading = ElLoading.service({
|
|
|
lock: true,
|
|
|
- text: '提交解析任务中...',
|
|
|
+ text: '任务解析中...',
|
|
|
background: 'rgba(0, 0, 0, 0.7)',
|
|
|
})
|
|
|
|
|
@@ -272,10 +268,10 @@ const handleAnalysis = async ({ task_type, id, task_source }) => {
|
|
|
data: task_source.minio_paths_json
|
|
|
}
|
|
|
if (task_type === '杂项') params.process_type = 'table'
|
|
|
- if (task_type === '新任命') params.publish_time = '2025-07-17'
|
|
|
+ if (task_type === '新任命') params.publish_time = '2025-07-21'
|
|
|
try {
|
|
|
await talentGatherApi.taskAnalysis(params)
|
|
|
- message.success('操作成功,任务解析中')
|
|
|
+ message.success('解析成功')
|
|
|
getList()
|
|
|
} finally {
|
|
|
loading.close()
|