feat: update terminology from "户外招聘会" to "线下招聘会" across the application and improve job position urgency display
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-22 15:24:31 +08:00
parent b4c92cb27d
commit 48325cefa4
10 changed files with 43 additions and 34 deletions

View File

@@ -141,7 +141,7 @@ const EditModal: React.FC<EditModalProps> = ({
return (
<ModalForm
title={values ? '编辑户外招聘会' : '新增户外招聘会'}
title={values ? '编辑线下招聘会' : '新增线下招聘会'}
form={form}
open={open}
width={700}

View File

@@ -136,7 +136,7 @@ const OutdoorFairList: React.FC = () => {
const handleDelete = async (id: number) => {
Modal.confirm({
title: '确认删除',
content: '确定要删除该户外招聘会吗?',
content: '确定要删除该线下招聘会吗?',
onOk: async () => {
const res = await deleteOutdoorFair(id);
if (res.code === 200) {
@@ -432,7 +432,7 @@ const OutdoorFairList: React.FC = () => {
return (
<PageContainer>
<ProTable<OutdoorFairItem>
headerTitle="户外招聘会管理列表"
headerTitle="线下招聘会管理列表"
actionRef={actionRef}
rowKey="id"
columns={columns}

View File

@@ -11,7 +11,12 @@ interface CompanySelectModalProps {
onSuccess: () => void;
}
const CompanySelectModal: React.FC<CompanySelectModalProps> = ({ open, jobFairId, onCancel, onSuccess }) => {
const CompanySelectModal: React.FC<CompanySelectModalProps> = ({
open,
jobFairId,
onCancel,
onSuccess,
}) => {
const actionRef = useRef<ActionType>();
const [selectedRowKeys, setSelectedRowKeys] = useState<React.Key[]>([]);
const [loading, setLoading] = useState(false);
@@ -70,9 +75,11 @@ const CompanySelectModal: React.FC<CompanySelectModalProps> = ({ open, jobFairId
}}
request={async (params) => {
const res = await getCmsCompanyList({
current: params.current,
pageSize: params.pageSize,
name: params.name,
} as any);
return { data: res.rows, total: res.total, success: true };
});
return { data: res.rows, total: res.total, success: res.code === 200 };
}}
toolBarRender={false}
/>