From 149bdcd5121e59d315558e0c5788ab7ea883e54c Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Tue, 18 Aug 2026 19:29:45 +0800 Subject: [PATCH] fix --- jjb.config.js | 4 ++-- src/components/StaffViewModal/index.js | 4 ++-- .../PersonnelInfo/List/index.js | 23 +++++++++++++++---- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 26af587..16b38ab 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -12,9 +12,9 @@ module.exports = { // 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095 //API_HOST: "http://localhost:80", - // API_HOST: "http://192.168.0.134", + API_HOST: "http://192.168.0.134", // API_HOST: "http://192.168.0.150", //太浅 - API_HOST: "https://gbs-gateway.qhdsafety.com", + // API_HOST: "https://gbs-gateway.qhdsafety.com", //API_HOST: "http://192.168.0.103", //huwei }, production: { diff --git a/src/components/StaffViewModal/index.js b/src/components/StaffViewModal/index.js index 5b10725..0c6a25e 100644 --- a/src/components/StaffViewModal/index.js +++ b/src/components/StaffViewModal/index.js @@ -73,7 +73,7 @@ export default function StaffViewModal({ ? info.titleCodeArr.map((item) => ({ titleName: TITLE_LEVEL_MAP[item.titleCode] || item.titleCode || "-", industryName: - PROFESSIONAL_MAJOR_MAP[item.industryCode] || item.industryCode || "-", + item.industryName, proveUrlList: parseFileList(item.proveUrl), })) : []; @@ -286,7 +286,7 @@ export default function StaffViewModal({ dataSource={titleInfo} columns={[ { title: "职称", dataIndex: "titleName", width: 120 }, - { title: "专业", dataIndex: "industryName", width: 150 }, + { title: "系列/专业", dataIndex: "industryName", width: 150 }, { title: "证明材料", dataIndex: "proveUrlList", diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js index ce44c5b..b0a1c1c 100644 --- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js +++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js @@ -42,7 +42,6 @@ import { import { CERT_LEVEL_OPTIONS_BY_TYPE, CAPABILITY_OPTIONS, - PROFESSIONAL_MAJOR_OPTIONS, CERT_LEVEL_LABEL_BY_TYPE } from "~/enumerate/constant"; import { renderCapabilityList } from "~/utils"; @@ -706,6 +705,7 @@ function StaffFormModal({ titleCodeArr: [ { industryCode: values.industryCode, + industryName: values.industryName, titleCode: values.titleCode, proveUrl: Array.isArray(values.proveUrl) ? JSON.stringify(values.proveUrl) @@ -1373,15 +1373,28 @@ function StaffFormModal({