From be27c2455a6fd88b2ed71c74942d0a284fd37fa6 Mon Sep 17 00:00:00 2001 From: dearLin <1261008090@qq.com> Date: Mon, 19 Jan 2026 15:39:15 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=E9=83=A8=E5=88=86bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- .../Local/Qualification/Review/List/index.js | 80 +++++++++---------- .../{Record/List => Review/Record}/index.js | 31 ++++--- .../Qualification/Apply/List/index.js | 4 +- .../Qualification/Review/List/index.js | 2 +- .../Qualification/ViewInfo/index.js | 18 ++--- 6 files changed, 68 insertions(+), 69 deletions(-) rename src/pages/Container/Local/Qualification/{Record/List => Review/Record}/index.js (86%) diff --git a/package.json b/package.json index 45a9538..407dc18 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", - "zy-react-library": "^1.1.28" + "zy-react-library": "^1.1.32" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/pages/Container/Local/Qualification/Review/List/index.js b/src/pages/Container/Local/Qualification/Review/List/index.js index ff555b9..423b44e 100644 --- a/src/pages/Container/Local/Qualification/Review/List/index.js +++ b/src/pages/Container/Local/Qualification/Review/List/index.js @@ -37,46 +37,46 @@ function List(props) { { title: "资质类别", dataIndex: "qualificationsTypeName" }, { title: "资质等级", dataIndex: "stakeholderLevelName" }, { title: "材料数", dataIndex: "materialNum" }, - { - title: "资质状态", - dataIndex: "qualificationsStatus", - render: (_, record) => ( -
- {record.qualificationsStatus === 0 && "正常"} - {record.qualificationsStatus === 1 && "待完善"} - {record.qualificationsStatus === 2 && ( - - {record.expireList.map((item, index) => ( -
- {item.dataName} - {" "} - 已于 - {item.qualificationsTermEnd} - {" "} - 过期 -
- ))} -
- ) - : "部分资料已过期" - } - > - - 存在异常 - {" "} - - - - )} - {(record.qualificationsStatus === 3 || record.qualificationsStatus === 4) && "资质过期"} - - ), - }, + // { + // title: "资质状态", + // dataIndex: "qualificationsStatus", + // render: (_, record) => ( + //
+ // {record.qualificationsStatus === 0 && "正常"} + // {record.qualificationsStatus === 1 && "待完善"} + // {record.qualificationsStatus === 2 && ( + // + // {record.expireList.map((item, index) => ( + //
+ // {item.dataName} + // {" "} + // 已于 + // {item.qualificationsTermEnd} + // {" "} + // 过期 + //
+ // ))} + //
+ // ) + // : "部分资料已过期" + // } + // > + // + // 存在异常 + // {" "} + // + // + // + // )} + // {(record.qualificationsStatus === 3 || record.qualificationsStatus === 4) && "资质过期"} + // + // ), + // }, { title: "操作", fixed: "right", diff --git a/src/pages/Container/Local/Qualification/Record/List/index.js b/src/pages/Container/Local/Qualification/Review/Record/index.js similarity index 86% rename from src/pages/Container/Local/Qualification/Record/List/index.js rename to src/pages/Container/Local/Qualification/Review/Record/index.js index e1f257b..8614b52 100644 --- a/src/pages/Container/Local/Qualification/Record/List/index.js +++ b/src/pages/Container/Local/Qualification/Review/Record/index.js @@ -6,7 +6,6 @@ import Page from "zy-react-library/components/Page"; import Search from "zy-react-library/components/Search"; import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import Table from "zy-react-library/components/Table"; -import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; import useTable from "zy-react-library/hooks/useTable"; import { NS_QUALIFICATION_RECORDS } from "~/enumerate/namespace"; @@ -35,16 +34,16 @@ function List(props) { render: (), }, { name: "stakeholderLevel", label: "资质等级", render: () }, - { - name: "auditStatus", - label: "审核状态", - render: FORM_ITEM_RENDER_ENUM.SELECT, - items: [ - { bianma: "200-200", name: "主管部门审核中" }, - { bianma: "200-300", name: "主管部门已驳回" }, - { bianma: "400", name: "已完成" }, - ], - }, + // { + // name: "auditStatus", + // label: "审核状态", + // render: FORM_ITEM_RENDER_ENUM.SELECT, + // items: [ + // { bianma: "200-200", name: "主管部门审核中" }, + // { bianma: "200-300", name: "主管部门已驳回" }, + // { bianma: "400", name: "已完成" }, + // ], + // }, ]} form={form} onFinish={getData} @@ -102,10 +101,10 @@ function List(props) { dataIndex: "auditProcess", render: (_, record) => (
- {record.auditProcess === "100" && "集团单位"} - {record.status === 100 && "待审核"} - {record.status === 200 && "审核中"} - {record.status === 300 && "已驳回"} + {/* {record.auditProcess === "100" && "集团单位"} */} + {/* {record.status === 100 && "待审核"} */} + {/* {record.status === 200 && "审核中"} */} + {/* {record.status === 300 && "已驳回"} */} {record.status === 400 && "已通过"}
), @@ -117,7 +116,7 @@ function List(props) { width: 130, render: (_, record) => ( - {props.permission("zrzz-sdgs-zrzzjl-btn-ck") && ( + {props.permission("zrzz-wzzx-zrzzjl-btn-ck") && (