From 37e3f3bd6bc44eef0ebbea236b0996d072bb8300 Mon Sep 17 00:00:00 2001 From: francis-fh Date: Wed, 17 Jun 2026 00:27:11 +0800 Subject: [PATCH] 11 --- src/components/Footer/index.tsx | 15 ++++++++------- src/pages/Company/List/index.tsx | 9 +++++---- src/pages/Management/List/index.tsx | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index a3aa0b2..c71afc0 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -10,15 +10,16 @@ const Footer: React.FC = () => { background: 'none', }} links={[ + // { + // key: '石河子政务网', + // title: '石河子政务网', + // href: 'http://www.qingdao.gov.cn/', + // blankTarget: true, + // }, { - key: '石河子政务网', - title: '石河子政务网', - href: 'http://www.qingdao.gov.cn/', - blankTarget: true, - },{ key: '石河子人社局', - title: '石河子人社局', - href: 'https://hrss.qingdao.gov.cn/', + title: '新疆生产建设兵团第八师人力资源和社会保障局', + href: 'http://rsj.xjbt.gov.cn/c/2023-11-10/8310036.shtml', blankTarget: true, }, ]} diff --git a/src/pages/Company/List/index.tsx b/src/pages/Company/List/index.tsx index 8a2663f..dcae54b 100644 --- a/src/pages/Company/List/index.tsx +++ b/src/pages/Company/List/index.tsx @@ -1,6 +1,6 @@ import React, { Fragment, useEffect, useRef, useState } from 'react'; import { FormattedMessage, useAccess } from '@umijs/max'; -import { Button, FormInstance, message, Modal } from 'antd'; +import { Button, FormInstance, message, Modal, Tag } from 'antd'; import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components'; import { DeleteOutlined, FormOutlined, PlusOutlined, AlignLeftOutlined, AuditOutlined } from '@ant-design/icons'; import EditCompanyListRow, { CompanyDetailView } from './edit'; @@ -142,16 +142,17 @@ function ManagementList() { valueType: 'select', align: 'center', valueEnum: { + 0: { text: '待审核', status: 'Processing' }, 1: { text: '通过', status: 'Success' }, 2: { text: '驳回', status: 'Error' }, }, render: (_, record) => { if (record.status === 1) { - return 通过; + return 通过; } else if (record.status === 2) { - return 驳回; + return 驳回; } - return 待审核; + return 待审核; }, }, { diff --git a/src/pages/Management/List/index.tsx b/src/pages/Management/List/index.tsx index 8b82290..3307977 100644 --- a/src/pages/Management/List/index.tsx +++ b/src/pages/Management/List/index.tsx @@ -383,7 +383,7 @@ function ManagementList() {