11
This commit is contained in:
@@ -10,15 +10,16 @@ const Footer: React.FC = () => {
|
|||||||
background: 'none',
|
background: 'none',
|
||||||
}}
|
}}
|
||||||
links={[
|
links={[
|
||||||
|
// {
|
||||||
|
// key: '石河子政务网',
|
||||||
|
// title: '石河子政务网',
|
||||||
|
// href: 'http://www.qingdao.gov.cn/',
|
||||||
|
// blankTarget: true,
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
key: '石河子政务网',
|
|
||||||
title: '石河子政务网',
|
|
||||||
href: 'http://www.qingdao.gov.cn/',
|
|
||||||
blankTarget: true,
|
|
||||||
},{
|
|
||||||
key: '石河子人社局',
|
key: '石河子人社局',
|
||||||
title: '石河子人社局',
|
title: '新疆生产建设兵团第八师人力资源和社会保障局',
|
||||||
href: 'https://hrss.qingdao.gov.cn/',
|
href: 'http://rsj.xjbt.gov.cn/c/2023-11-10/8310036.shtml',
|
||||||
blankTarget: true,
|
blankTarget: true,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { Fragment, useEffect, useRef, useState } from 'react';
|
import React, { Fragment, useEffect, useRef, useState } from 'react';
|
||||||
import { FormattedMessage, useAccess } from '@umijs/max';
|
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 { ActionType, ProColumns, ProTable } from '@ant-design/pro-components';
|
||||||
import { DeleteOutlined, FormOutlined, PlusOutlined, AlignLeftOutlined, AuditOutlined } from '@ant-design/icons';
|
import { DeleteOutlined, FormOutlined, PlusOutlined, AlignLeftOutlined, AuditOutlined } from '@ant-design/icons';
|
||||||
import EditCompanyListRow, { CompanyDetailView } from './edit';
|
import EditCompanyListRow, { CompanyDetailView } from './edit';
|
||||||
@@ -142,16 +142,17 @@ function ManagementList() {
|
|||||||
valueType: 'select',
|
valueType: 'select',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
valueEnum: {
|
valueEnum: {
|
||||||
|
0: { text: '待审核', status: 'Processing' },
|
||||||
1: { text: '通过', status: 'Success' },
|
1: { text: '通过', status: 'Success' },
|
||||||
2: { text: '驳回', status: 'Error' },
|
2: { text: '驳回', status: 'Error' },
|
||||||
},
|
},
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
if (record.status === 1) {
|
if (record.status === 1) {
|
||||||
return <span style={{ color: '#52c41a' }}>通过</span>;
|
return <Tag color="success">通过</Tag>;
|
||||||
} else if (record.status === 2) {
|
} else if (record.status === 2) {
|
||||||
return <span style={{ color: '#ff4d4f' }}>驳回</span>;
|
return <Tag color="error">驳回</Tag>;
|
||||||
}
|
}
|
||||||
return <span style={{ color: '#999' }}>待审核</span>;
|
return <Tag color="orange">待审核</Tag>;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ function ManagementList() {
|
|||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
key="add"
|
key="add"
|
||||||
hidden={!access.hasPerms('manage:List:add')}
|
hidden={!access.hasPerms('bussiness:job:add')}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
setCurrentRow(undefined);
|
setCurrentRow(undefined);
|
||||||
setModalVisible(true);
|
setModalVisible(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user