diff --git a/src/components/AttachmentUpload/index.js b/src/components/AttachmentUpload/index.js
index f6b638a..ba0c2dc 100644
--- a/src/components/AttachmentUpload/index.js
+++ b/src/components/AttachmentUpload/index.js
@@ -17,16 +17,23 @@ export default function AttachmentUpload({ name, label, disabled = false, maxCou
if (Array.isArray(value)) {
return { fileList: value };
}
- return {
- fileList: value
- ? value.split(",").map((item) => ({
- url: item,
- uid: item,
- status: "done",
- name: "附件",
- }))
- : [],
- };
+ if (typeof value === "string" && value) {
+ try {
+ const parsed = JSON.parse(value);
+ if (Array.isArray(parsed)) {
+ return { fileList: parsed };
+ }
+ } catch {}
+ return {
+ fileList: value.split(",").map((item) => ({
+ url: item,
+ uid: item,
+ status: "done",
+ name: "附件",
+ })),
+ };
+ }
+ return { fileList: [] };
}}
getValueFromEvent={({ fileList }) => {
return (
diff --git a/src/pages/Container/EnterpriseInfo/OrgInfo/index.js b/src/pages/Container/EnterpriseInfo/OrgInfo/index.js
index f169011..cf6f6ce 100644
--- a/src/pages/Container/EnterpriseInfo/OrgInfo/index.js
+++ b/src/pages/Container/EnterpriseInfo/OrgInfo/index.js
@@ -341,11 +341,7 @@ function OrgInfoPage(props) {
/>
-
-
-
-
-
+
setHistoryRecord(record)}
- extraActions={(record) =>
- [ 1,3].includes(record.filingStatusCode) ? (
-
- ) : null
- }
+
/>
{
- if (mode === FILING_FORM_MODE.FILED) {
- return Number(record.filingStatusCode) === 3;
+
+ if (mode === FILING_FORM_MODE.CHANGE) {
+
+ return [1,3,5].includes(record.filingStatusCode);
}
- return isQualFilingEditable(record.filingStatusCode);
+ return [3,5].includes(record.filingStatusCode);
};
const columns = [
@@ -101,7 +103,7 @@ export default function FilingListTable({
查看
{extraActions?.(record)}
- {canEditRow(record) && mode !== FILING_FORM_MODE.CHANGE && (
+ {canEditRow(record) && (