diff --git a/jjb.config.js b/jjb.config.js
index 8de27c5..4d10538 100644
--- a/jjb.config.js
+++ b/jjb.config.js
@@ -10,10 +10,14 @@ module.exports = {
javaGitBranch: "dev",
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
- // API_HOST: "https://gbs-gateway.qhdsafety.com",
+ API_HOST: "https://gbs-gateway.qhdsafety.com",
// API_HOST: "http://192.168.0.134",
+<<<<<<< HEAD
// API_HOST: "http://192.168.0.150", //太浅
+=======
+ //API_HOST: "http://192.168.0.150", //太浅
+>>>>>>> origin/dev
// API_HOST: "http://192.168.0.152",
API_HOST: "http://192.168.0.103", //huwei
},
diff --git a/src/components/StaffViewModal/index.js b/src/components/StaffViewModal/index.js
index 5eb3290..3b20254 100644
--- a/src/components/StaffViewModal/index.js
+++ b/src/components/StaffViewModal/index.js
@@ -185,13 +185,27 @@ export default function StaffViewModal({
{info.account}
{info.deptName}
{info.postName}
-
+
+ {info.idCardNo}
+
+
+ {info.currentAddress}
+
+
+ {info.officeAddress}
+
{info.educationTypeName || "-"}
+
+ {info.graduateSchool}
+
{info.educationLevelName || "-"}
+
+ {info.basicDisciplineMajorName || "-"}
+
{REGISTER_ENGINEER_MAP[info.registerEngineerFlag] ?? "-"}
@@ -210,19 +224,7 @@ export default function StaffViewModal({
? "否"
: "-"}
-
- {info.idCardNo}
-
-
-
- {info.currentAddress}
-
-
- {info.officeAddress}
-
-
- {info.graduateSchool}
-
+
+
+
-
-
+
{QUALIFICATION_INDUSTRY_OPTIONS_MAP[info.businessScope] }
{info.professionalCapabilityName }
- {info.certName}
{CERT_TYPE_MAP[info.certTypeCode] || info.certTypeCode}
+ {info.certName}
+
{CERT_LEVEL_LABEL_BY_TYPE[info.certTypeCode]?.[info.cert_level] || info.cert_level}
diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
index 9ee559b..e585489 100644
--- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
+++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js
@@ -394,7 +394,7 @@ function StaffFormModal({
};
const loadBasicDisciplineMajors = async () => {
-
+
await queryBasicDisciplineMajor({ pageSize: 999 });
};
@@ -450,7 +450,7 @@ function StaffFormModal({
}
form.setFieldsValue(setFields);
-
+
})
.finally(() => {
if (!cancelled) setDetailLoading(false);
@@ -645,7 +645,66 @@ function StaffFormModal({
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -925,7 +924,7 @@ function StaffImportModal({ open, onCancel, onSuccess }) {
const handleDownloadTemplate = async () => {
try {
const res = await Get("/safetyEval/org-personnel/import/template");
- const url = res?.data ;
+ const url = res?.data;
if (!url) {
message.warning("未获取到模板下载地址");
return;
@@ -961,10 +960,11 @@ function StaffImportModal({ open, onCancel, onSuccess }) {
const headers = { token: sessionStorage.getItem("token") || "" };
const orgInfoId = sessionStorage.getItem("orgInfoId");
if (orgInfoId) headers.orgInfoId = String(orgInfoId);
- const resp = await fetch(
- `${API_HOST}/safetyEval/org-personnel/import`,
- { method: "POST", headers, body: formData },
- );
+ const resp = await fetch(`${API_HOST}/safetyEval/org-personnel/import`, {
+ method: "POST",
+ headers,
+ body: formData,
+ });
const json = await resp.json();
if (json && json.success !== false) {
onDone(json.data, file);
@@ -1004,8 +1004,7 @@ function StaffImportModal({ open, onCancel, onSuccess }) {
customRequest={customRequest}
disabled={uploading}
beforeUpload={(file) => {
- const ext =
- "." + (file.name.split(".").pop() || "").toLowerCase();
+ const ext = "." + (file.name.split(".").pop() || "").toLowerCase();
if (![".xlsx", ".xls"].includes(ext)) {
message.error("仅支持 .xlsx / .xls 格式文件");
return Upload.LIST_IGNORE;
diff --git a/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx b/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx
index 8193ee7..c34529e 100644
--- a/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx
+++ b/src/pages/Container/QualApplication/FilingForm/components/BasicInfoStep.jsx
@@ -6,14 +6,14 @@ import {
import { FILING_UNIT_TYPE_OPTIONS } from "~/enumerate/qualFilingOptions";
import AttachmentUpload from "~/components/AttachmentUpload";
-export default function BasicInfoStep({ form, disabled }) {
+export default function BasicInfoStep({ form, disabled, mode }) {
return (