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' },
        { label: '已完成', value: '3' },
    ])
  }, []);

  return <Select style={{ width: 150 }} placeholder="请选择审批状态" options={options} allowClear />;
};

export default AdmissionTypeSelect;
