diff --git a/src/pages/Application/ModelManagement/index.tsx b/src/pages/Application/ModelManagement/index.tsx index aa33693..83405bf 100644 --- a/src/pages/Application/ModelManagement/index.tsx +++ b/src/pages/Application/ModelManagement/index.tsx @@ -112,6 +112,7 @@ function ModelManagement() { // 按模型类型分组 const groupedData: ModelConfig = {}; const types: string[] = []; + const names = '人岗匹配度计算模型'; data.forEach((item: ConfigItem) => { if (!groupedData[item.modelType]) { @@ -119,6 +120,14 @@ function ModelManagement() { types.push(item.modelType); } groupedData[item.modelType].push(item); + // 匹配度 ---------记得删除 + if ('人岗精准匹配模型' === item.modelType) { + if (!groupedData[names]) { + groupedData[names] = []; + types.push(names); + } + groupedData[names].push(item); + } }); setConfigData(groupedData); @@ -227,7 +236,7 @@ function ModelManagement() { // 模型切换 - 修复:使用最新的 configData const handleModelChange = (key: string) => { setSelectedModel(key); - const modelConfigs = configData[key] || []; + let modelConfigs = configData[key] || []; setFormValues(key, modelConfigs); }; diff --git a/src/pages/RecruitmentDataCollection/JobMonitor/detail.tsx b/src/pages/RecruitmentDataCollection/JobMonitor/detail.tsx index 1d37e62..c71bccb 100644 --- a/src/pages/RecruitmentDataCollection/JobMonitor/detail.tsx +++ b/src/pages/RecruitmentDataCollection/JobMonitor/detail.tsx @@ -1,5 +1,5 @@ import { Modal, Table } from 'antd'; -import { ProDescriptions } from '@ant-design/pro-components'; +import { ProDescriptions } from '@ant-design/pro-components'; import type { ColumnsType } from 'antd/es/table'; import React from 'react'; @@ -76,13 +76,9 @@ const ViewStorageDetail: React.FC = (props) => { > {/* */} - + - + @@ -103,4 +99,4 @@ const ViewStorageDetail: React.FC = (props) => { ); }; -export default ViewStorageDetail; \ No newline at end of file +export default ViewStorageDetail; diff --git a/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx b/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx index b1ca2d5..868e86d 100644 --- a/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx +++ b/src/pages/RecruitmentDataCollection/JobMonitor/index.tsx @@ -58,14 +58,14 @@ function StorageDetectionList() { align: 'center', hideInSearch: true, }, - { - title: '入库数据来源名称', - dataIndex: 'websiteName', - valueType: 'text', - align: 'center', - hideInSearch: true, - ellipsis: true, - }, + // { + // title: '入库数据来源名称', + // dataIndex: 'websiteName', + // valueType: 'text', + // align: 'center', + // hideInSearch: true, + // ellipsis: true, + // }, { title: '入库数据详情', dataIndex: 'storageDetail', @@ -137,4 +137,4 @@ function StorageDetectionList() { ); } -export default StorageDetectionList; \ No newline at end of file +export default StorageDetectionList;