import { Col, Divider, Form, Input, Radio, Row, Select, Space } from 'antd';
import { useState, useEffect } from 'react'
import ZoneSelector from '../../../../common/ZoneSelector';
import CdzyApi from '../../../../../utils/apis/CdzyApi';


export default function StxfgcFilter(props) {
    const [form] = Form.useForm();

    useEffect(() => {
        form.setFieldsValue({
            area_code: "-1"
        })
    }, [form])

    return <Form form={form} layout={"vertical"}>
        <Space size={24}>
            <Form.Item label="行政地域" name="area_code">
                <ZoneSelector />
            </Form.Item>
            <Form.Item label="年份" name="year">
                <Input style={{
                    width: 100
                }} />
            </Form.Item>
        </Space>
        <Divider style={{
            borderColor: "#075C88",
            marginTop: 0
        }} />
        <Form.Item label="项目名称" name="name">
            <Input style={{
                width: 250
            }} />
        </Form.Item>
    </Form>;
}