From bff50093d131ccda72eb605c009c01561fefe98f Mon Sep 17 00:00:00 2001
From: huwei <3313749341@qq.com>
Date: Fri, 10 Jul 2026 10:02:53 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=8A=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jjb.config.js | 2 +-
.../PersonnelInfo/Certificate/index.js | 123 ++++++++++++++----
.../PersonnelInfo/List/index.js | 91 +++++++++----
3 files changed, 164 insertions(+), 52 deletions(-)
diff --git a/jjb.config.js b/jjb.config.js
index 8c58ad4..be646be 100644
--- a/jjb.config.js
+++ b/jjb.config.js
@@ -10,7 +10,7 @@ module.exports = {
javaGitBranch: "dev",
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
- API_HOST: "http://192.168.0.152",
+ API_HOST: "http://127.0.0.1",
},
production: {
// 应用后端分支名称,部署上线需要
diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/Certificate/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/Certificate/index.js
index 96cab71..8e65b84 100644
--- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/Certificate/index.js
+++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/Certificate/index.js
@@ -74,17 +74,33 @@ function StaffCertificatePage(props) {
form={searchForm}
loading={loading}
formLine={[
-
-
+
+
,
-
-
+
+
,
-
-
+
+
,
-
-
+
+
,
]}
onReset={(values) => {
@@ -258,7 +274,7 @@ function CertModal({
handleCancel();
onSuccess();
} else {
-
+ message.error(res?.message || res?.errMessage || "保存失败,请重试");
}
} finally {
setSubmitting(false);
@@ -277,14 +293,35 @@ function CertModal({
onOk={form.submit}
>
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
index c962eba..af22ee7 100644
--- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
+++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
@@ -151,11 +151,16 @@ function PersonnelInfoPage(props) {
form={searchForm}
loading={loading}
formLine={[
-
+
,
@@ -462,6 +467,7 @@ function StaffFormModal({
handleCancel();
onSuccess();
} else {
+ message.error(res?.message || res?.errMessage || "保存失败,请重试");
}
} finally {
setSubmitting(false);
@@ -490,9 +496,12 @@ function StaffFormModal({
-
+
@@ -519,9 +528,12 @@ function StaffFormModal({
-
+
@@ -565,9 +577,12 @@ function StaffFormModal({
-
+
@@ -597,8 +612,12 @@ function StaffFormModal({
-
-
+
+
@@ -620,8 +639,12 @@ function StaffFormModal({
-
-
+
+
@@ -640,21 +663,27 @@ function StaffFormModal({
-
+
-
+
-
-
+
+
@@ -665,23 +694,39 @@ function StaffFormModal({
/>
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+