This commit is contained in:
linxd
2025-07-16 15:29:03 +08:00
20 changed files with 115 additions and 644 deletions

View File

@ -0,0 +1,21 @@
import React, { useEffect, useState } from 'react';
import { Select } from 'antd';
interface options {
label: string;
value: string;
}
const AdmissionTypeSelect = () => {
const [options, setOptions] = useState<options[]>([]);
useEffect(() => {
setOptions([
{ label: '未准入', value: '0' },
{ label: '已准入', value: '1' },
{ label: '退出', value: '2' },
])
}, []);
return <Select style={{ width: 150 }} placeholder="请选择准入状态" options={options} allowClear />;
};
export default AdmissionTypeSelect;

View File

@ -0,0 +1,21 @@
import React, { useEffect, useState } from 'react';
import { Select } from 'antd';
interface options {
label: string;
value: string;
}
const AdmissionTypeSelect = () => {
const [options, setOptions] = useState<options[]>([]);
useEffect(() => {
setOptions([
{ label: '境内企业', value: 'dvs' },
{ label: '境外企业', value: 'ovs' },
{ label: '个人', value: 'pe' },
])
}, []);
return <Select style={{ width: 150 }} placeholder="请选择企业类型" options={options} allowClear />;
};
export default AdmissionTypeSelect;