Merge remote-tracking branch 'origin/dev-tmp1' into dev-tmp1

dev-tmp1
luotaiqian 2026-08-14 14:40:54 +08:00
commit 18b090d488
6 changed files with 23 additions and 31 deletions

View File

@ -49,7 +49,7 @@ function FilingFormPage(props) {
const readOnly = query.readOnly;
const saveActionHint =
mode === FILING_FORM_MODE.FILED
mode === FILING_FORM_MODE.CHANGE
? "请点击提交后保存"
: "请点击暂存或提交后保存";

View File

@ -126,16 +126,10 @@ const FilingTabs = ({
[detail.personnelList],
);
/**
* 管理人员判定technicalDirectorFlag(技术负责人) processControlLeaderFlag(过程控制负责人) true
* 法定代表人/负责人按岗位名兜底归入管理人员
* 备案变更详情人员 COQualFilingPersonnelChangeInfoCO暂未返回 flag 字段靠岗位名兜底判断待后端补充 flag
* 变更时间2026-08-10按后端人员标识字段拆分
*/
const isManager = (item) =>
item.technicalDirectorFlag === true ||
item.processControlLeaderFlag === true ||
/法定代表人|负责人/.test(item.positionName || "");
item.processControlLeaderFlag === true ;
const managerRows = useMemo(() => {
return personnelRows.filter(isManager);
@ -378,14 +372,11 @@ const FilingTabs = ({
<label style={labelStyle}>营业执照</label>
<div style={{ display: "flex", alignItems: "center", gap: "0.5rem" }}>
{attachmentList.length ? (
<>
<PreviewUrlButton url={attachmentList[0].url} size="small">
查看营业执照
attachmentList.map((file, i) => (
<PreviewUrlButton key={i} url={file.url} size="small">
{file.name || "营业执照.pdf"}
</PreviewUrlButton>
<span style={{ color: "#8b95a5", fontSize: "0.75rem" }}>
{attachmentList[0].name || "营业执照.pdf"}
</span>
</>
))
) : (
<span style={{ color: "#8b95a5", fontSize: "0.8rem" }}></span>
)}

View File

@ -123,7 +123,7 @@ const QualReview = (props) => {
>
查看
</Button>
{Number(record.filingStatusCode) !== 1 && (
{Number(record.filingStatusCode) == 2 && (
<Button
type="link"
size="small"

View File

@ -47,6 +47,7 @@ const ReviewModal = (props) => {
const { qualReviewSubmitLoading } = qualReview || {};
const [form] = Form.useForm();
const reviewResult = Form.useWatch("reviewResult", form);
useEffect(() => {
if (open) {
@ -116,9 +117,11 @@ const ReviewModal = (props) => {
footer={
<div style={{ display: "flex", justifyContent: "flex-end", gap: 8 }}>
<Button onClick={onCancel}>取消</Button>
{reviewResult !== 3 && (
<Button loading={qualReviewSubmitLoading} onClick={handlePass} color="green" variant="solid" >
通过
</Button>
)}
<Button
loading={qualReviewSubmitLoading}
onClick={handleSubmit}

View File

@ -96,23 +96,18 @@ const getFileExt = (name = "") => {
return parts.length > 1 ? parts.pop().toUpperCase() : "PDF";
};
/** 解析 JSON 文件列表,渲染为可下载链接列表 */
/** 解析 JSON 文件列表,使用 PreviewUrlButton 渲染预览链接 */
const renderFileLinks = (jsonStr) => {
if (!jsonStr) return "-";
try {
const files = JSON.parse(jsonStr);
if (!Array.isArray(files) || files.length === 0) return "-";
return files.map((f, i) => (
<div key={i} className="erl-file-cell" style={{ marginBottom: 4 }}>
<i>{getFileExt(f.name || f.url)}</i>
<a
href={f.url}
download={f.name}
target="_blank"
rel="noopener noreferrer"
>
{f.name || "未命名文件"}
</a>
<div key={i} style={{ marginBottom: 4 }}>
<PreviewUrlButton url={f.url} >
<a>{f.name || "未命名文件"}</a>
</PreviewUrlButton>
</div>
));
} catch {

View File

@ -89,6 +89,9 @@ function RegisteredOrgListPage(props) {
options={QUAL_FILING_STATUS_OPTIONS.filter((item) => item.value !== "")}
/>
</Form.Item>,
<Form.Item key="creditCode" name="creditCode">
<ControlWrapper.Input label="统一社会信用代码" allowClear placeholder="请输入" />
</Form.Item>,
]}
onFinish={() => {
setPageIndex(1);