From 3dd838130e97c7d1c9de3cad28fc0fbaf25775e5 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Tue, 4 Aug 2026 16:13:57 +0800 Subject: [PATCH] fix --- jjb.config.js | 4 ++-- .../EnterpriseInfo/EquipInfo/index.js | 15 ++++++++++++ .../FilingForm/components/CommitmentStep.jsx | 24 +++++++++---------- .../FilingForm/components/EquipmentStep.jsx | 11 ++++++++- .../components/OrgEquipmentSelectModal.jsx | 5 ++-- .../QualApplication/FilingForm/index.js | 24 ++++++++----------- .../QualApplication/filingPersist.js | 6 ++--- 7 files changed, 54 insertions(+), 35 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 847914b..b95671a 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -10,9 +10,9 @@ 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", + API_HOST: "http://192.168.0.134", //API_HOST: "http://192.168.0.150", //太浅 // API_HOST: "http://192.168.0.152", //API_HOST: "http://192.168.0.103", //huwei diff --git a/src/pages/Container/EnterpriseInfo/EquipInfo/index.js b/src/pages/Container/EnterpriseInfo/EquipInfo/index.js index 0d8614e..d0c8655 100644 --- a/src/pages/Container/EnterpriseInfo/EquipInfo/index.js +++ b/src/pages/Container/EnterpriseInfo/EquipInfo/index.js @@ -502,6 +502,18 @@ function EquipFormModal({ /> + + + + + @@ -576,6 +588,9 @@ function EquipViewModal({ open, currentId, equipInfoGet, onCancel }) { {DUAL_CHANNEL_MAP[info.dualChannelFlag] ?? "-"} + + {info.equipmentValue ? `${info.equipmentValue}元` : "-"} + ); diff --git a/src/pages/Container/QualApplication/FilingForm/components/CommitmentStep.jsx b/src/pages/Container/QualApplication/FilingForm/components/CommitmentStep.jsx index 5d9ba18..055b9b8 100644 --- a/src/pages/Container/QualApplication/FilingForm/components/CommitmentStep.jsx +++ b/src/pages/Container/QualApplication/FilingForm/components/CommitmentStep.jsx @@ -1,4 +1,4 @@ -import { DatePicker, Form, Input, Row, Col, Select } from "antd"; +import { DatePicker, Form, Input, Row, Col, Select, Image } from "antd"; import { COMMITMENT_PARAGRAPHS } from "../../filingCommitment"; import FilingUpload, { resolveFilingUploadUrl } from "./FilingUpload"; import AttachmentUpload from "~/components/AttachmentUpload"; @@ -49,9 +49,8 @@ export default function CommitmentStep({ form, disabled, personnelOptions = [], - onSignatureChange, + commitment, }) { - const legalRepName = Form.useWatch("legalRepName", form); const filingUnitName = Form.useWatch("filingUnitName", form); @@ -99,7 +98,7 @@ export default function CommitmentStep({ - + @@ -120,15 +119,16 @@ export default function CommitmentStep({ - + {commitment?.legalRepSignatureUrl&&<> +

电子签名

+ + } ); } diff --git a/src/pages/Container/QualApplication/FilingForm/components/EquipmentStep.jsx b/src/pages/Container/QualApplication/FilingForm/components/EquipmentStep.jsx index ee71344..14fcf8c 100644 --- a/src/pages/Container/QualApplication/FilingForm/components/EquipmentStep.jsx +++ b/src/pages/Container/QualApplication/FilingForm/components/EquipmentStep.jsx @@ -43,7 +43,15 @@ export default function EquipmentStep({ marginBottom: 12, }} > - 申请单位装备清单 + + 申请单位装备清单 + + 设备总价值:{(equipmentList || []) + .reduce((sum, item) => sum + (item.equipmentValue || 0), 0) + .toLocaleString()}{" "} + 元 + + {!disabled && ( diff --git a/src/pages/Container/QualApplication/filingPersist.js b/src/pages/Container/QualApplication/filingPersist.js index 8f1e03f..4935036 100644 --- a/src/pages/Container/QualApplication/filingPersist.js +++ b/src/pages/Container/QualApplication/filingPersist.js @@ -1,10 +1,9 @@ -import { fromPageResponse, toPageQuery } from "~/utils/enterpriseInfo/adapter"; +import { fromPageResponse } from "~/utils/enterpriseInfo/adapter"; import { apiGet } from "~/utils/enterpriseInfo/http"; import { asId } from "~/utils/enterpriseInfo/idUtil"; export async function fetchOrgPersonnelOptions() { - const query = toPageQuery({ current: 1, size: 500 }, { likeStaffName: "userName" }); - const res = await apiGet("/safetyEval/org-personnel/page", query); + const res = await apiGet("/safetyEval/org-personnel/getOrgPersonnel"); const page = fromPageResponse(res); return (page?.data || []).map((data) => ({ label: data.userName, @@ -42,7 +41,6 @@ export function mergeDetailFromForms(detail, { basicValues, commitmentValues }) commitment: { ...detail.commitment, ...commitmentValues, - legalRepSignatureUrl: Array.isArray(commitmentValues?.legalRepSignatureUrl) ? commitmentValues?.legalRepSignatureUrl[0]?.url : commitmentValues?.legalRepSignatureUrl, }, }; }