import React from 'react';
import { Cascader } from 'antd';

const DataObject = [{
        value: 600,
        label: "产业技术领域",
        children: [{
            value: 464,
            label: "教育休闲",
            children: [{
                value: 542,
                label: "其他教育休闲"
            }, {
                value: 541,
                label: "休闲娱乐"
            }, {
                value: 540,
                label: "玩具"
            }, {
                value: 539,
                label: "体育"
            }, {
                value: 538,
                label: "办公文教"
            }, {
                value: 258,
                label: "乐器"
            }, {
                value: 127,
                label: "工艺美术"
            }]
        }, {
            value: 463,
            label: "包装印刷",
            children: [{
                value: 560,
                label: "包装"
            }, {
                value: 534,
                label: "包装袋、箱"
            }, {
                value: 533,
                label: "印刷"
            }, {
                value: 436,
                label: "标签、标牌"
            }, {
                value: 435,
                label: "器皿、容器"
            }, {
                value: 355,
                label: "造纸"
            }, {
                value: 354,
                label: "纸类包装"
            }, {
                value: 353,
                label: "纸浆"
            }, {
                value: 181,
                label: "包装材料"
            }, {
                value: 180,
                label: "其他包装印刷"
            }, {
                value: 179,
                label: "记录媒介复制"
            }, {
                value: 176,
                label: "装订"
            }]
        }, {
            value: 462,
            label: "电气自动化",
            children: [{
                value: 555,
                label: "电气电工"
            }, {
                value: 550,
                label: "电池充电器"
            }, {
                value: 549,
                label: "其他电气自动化"
            }, {
                value: 373,
                label: "人工智能"
            }, {
                value: 372,
                label: "自动化元件"
            }, {
                value: 371,
                label: "自动化应用"
            }, {
                value: 370,
                label: "控制系统"
            }, {
                value: 241,
                label: "电力绝缘"
            }, {
                value: 238,
                label: "电力"
            }, {
                value: 237,
                label: "电线、电缆"
            }, {
                value: 236,
                label: "发电机"
            }, {
                value: 235,
                label: "电动机"
            }, {
                value: 234,
                label: "变压器、稳压器"
            }, {
                value: 233,
                label: "开关、插座、插头"
            }]
        }, {
            value: 461,
            label: "采矿冶金",
            children: [{
                value: 572,
                label: "金属合金冶炼铸造"
            }, {
                value: 571,
                label: "非金属开采冶炼"
            }, {
                value: 570,
                label: "黑色金属开采冶炼"
            }, {
                value: 569,
                label: "有色金属开采冶炼"
            }, {
                value: 552,
                label: "其他采矿冶金"
            }, {
                value: 512,
                label: "石油天然气开采提炼"
            }, {
                value: 511,
                label: "煤炭开采冶炼"
            }, {
                value: 192,
                label: "矿业设备"
            }]
        }, {
            value: 460,
            label: "航空航天",
            children: [{
                value: 567,
                label: "飞行器"
            }, {
                value: 545,
                label: "其他航空航天"
            }, {
                value: 510,
                label: "卫星导航"
            }, {
                value: 509,
                label: "卫星通信"
            }, {
                value: 508,
                label: "航空运行保障系统"
            }, {
                value: 507,
                label: "空中管理系统"
            }, {
                value: 506,
                label: "民用飞机"
            }]
        }, {
            value: 459,
            label: "海洋开发",
            children: [{
                value: 561,
                label: "海底勘探"
            }, {
                value: 546,
                label: "其他海洋开发"
            }, {
                value: 505,
                label: "海洋船舶"
            }, {
                value: 504,
                label: "渔业捕捞"
            }, {
                value: 503,
                label: "海洋渔业资源保护与监测"
            }, {
                value: 502,
                label: "海洋能源利用"
            }, {
                value: 501,
                label: "海底矿产利用"
            }, {
                value: 500,
                label: "海水养殖"
            }, {
                value: 497,
                label: "海水淡化"
            }]
        }, {
            value: 458,
            label: "农林牧业",
            children: [{
                value: 579,
                label: "农副产品深加工"
            }, {
                value: 554,
                label: "养殖"
            }, {
                value: 553,
                label: "种植"
            }, {
                value: 496,
                label: "其他农业牧业"
            }, {
                value: 495,
                label: "农副产品贮藏与保鲜"
            }, {
                value: 494,
                label: "农机用具"
            }, {
                value: 493,
                label: "饲料、肥料及添加剂"
            }, {
                value: 492,
                label: "病虫害防治"
            }, {
                value: 491,
                label: "家畜良种胚胎育种"
            }, {
                value: 489,
                label: "动植物新品培育"
            }]
        }, {
            value: 457,
            label: "医药与医疗",
            children: [{
                value: 547,
                label: "其他医药与医疗"
            }, {
                value: 488,
                label: "生物化工"
            }, {
                value: 487,
                label: "医疗器械"
            }, {
                value: 486,
                label: "新剂型及制剂"
            }, {
                value: 485,
                label: "化学药物"
            }, {
                value: 484,
                label: "中药、天然药物"
            }, {
                value: 483,
                label: "生物医药"
            }]
        }, {
            value: 456,
            label: "电子信息",
            children: [{
                value: 472,
                label: "其他电子信息"
            }, {
                value: 471,
                label: "智能交通"
            }, {
                value: 470,
                label: "信息安全"
            }, {
                value: 469,
                label: "广播电视"
            }, {
                value: 468,
                label: "通信"
            }, {
                value: 467,
                label: "硬件/数码"
            }, {
                value: 466,
                label: "微电子"
            }, {
                value: 465,
                label: "软件"
            }, {
                value: 291,
                label: "网络"
            }, {
                value: 286,
                label: "电子元器件"
            }]
        }, {
            value: 375,
            label: "新型材料",
            children: [{
                value: 473,
                label: "金属材料"
            }, {
                value: 382,
                label: "其他新材料技术"
            }, {
                value: 381,
                label: "纳米及超细材料"
            }, {
                value: 378,
                label: "无机非金属材料"
            }, {
                value: 377,
                label: "高分子材料"
            }, {
                value: 376,
                label: "生物医用材料"
            }]
        }, {
            value: 31,
            label: "仪器仪表",
            children: [{
                value: 566,
                label: "实验仪器"
            }, {
                value: 565,
                label: "分析仪器"
            }, {
                value: 564,
                label: "检测仪器"
            }, {
                value: 563,
                label: "压力仪表"
            }, {
                value: 562,
                label: "温度仪表"
            }, {
                value: 527,
                label: "其他仪器仪表"
            }, {
                value: 526,
                label: "光学仪器"
            }, {
                value: 525,
                label: "计时仪器"
            }]
        }, {
            value: 26,
            label: "橡胶塑料",
            children: [{
                value: 578,
                label: "塑料原料与制品"
            }, {
                value: 577,
                label: "橡胶原料与制品"
            }, {
                value: 207,
                label: "其他橡胶塑料"
            }, {
                value: 206,
                label: "橡塑加工与制造"
            }, {
                value: 205,
                label: "合成材料及其助剂"
            }]
        }, {
            value: 25,
            label: "交通运输",
            children: [{
                value: 576,
                label: "物流仓储"
            }, {
                value: 575,
                label: "公路运输"
            }, {
                value: 442,
                label: "电梯、缆车"
            }, {
                value: 441,
                label: "摩托车"
            }, {
                value: 440,
                label: "自行车"
            }, {
                value: 363,
                label: "装卸搬运"
            }, {
                value: 362,
                label: "管道运输"
            }, {
                value: 361,
                label: "水路运输"
            }, {
                value: 360,
                label: "铁路运输"
            }, {
                value: 200,
                label: "其他交通运输"
            }, {
                value: 198,
                label: "公路管理与养护"
            }, {
                value: 197,
                label: "城市公共交通系统"
            }, {
                value: 195,
                label: "航空运输"
            }, {
                value: 194,
                label: "汽车"
            }]
        }, {
            value: 20,
            label: "安全防护",
            children: [{
                value: 556,
                label: "防盗预警"
            }, {
                value: 432,
                label: "交通安全"
            }, {
                value: 430,
                label: "防身"
            }, {
                value: 174,
                label: "其他安全防护"
            }, {
                value: 173,
                label: "作业安防"
            }, {
                value: 172,
                label: "救生"
            }, {
                value: 171,
                label: "运动防护"
            }, {
                value: 170,
                label: "军用安防"
            }, {
                value: 169,
                label: "消防"
            }, {
                value: 168,
                label: "监控"
            }]
        }, {
            value: 19,
            label: "环保和资源",
            children: [{
                value: 557,
                label: "噪声污染治理"
            }, {
                value: 548,
                label: "其他环保和资源"
            }, {
                value: 544,
                label: "节能环保"
            }, {
                value: 482,
                label: "生态保护"
            }, {
                value: 481,
                label: "环境监测"
            }, {
                value: 480,
                label: "固体废弃物污染处理"
            }, {
                value: 348,
                label: "清洁生产与循环经济"
            }, {
                value: 167,
                label: "资源利用与开发"
            }, {
                value: 163,
                label: "大气污染防治"
            }, {
                value: 161,
                label: "水污染治理"
            }]
        }, {
            value: 18,
            label: "机械",
            children: [{
                value: 523,
                label: "光机电一体化"
            }, {
                value: 428,
                label: "模具"
            }, {
                value: 427,
                label: "机械检测"
            }, {
                value: 426,
                label: "机械清洗清理"
            }, {
                value: 425,
                label: "机械制冷"
            }, {
                value: 424,
                label: "铸造/热处理"
            }, {
                value: 423,
                label: "雕刻切割"
            }, {
                value: 422,
                label: "机械干燥"
            }, {
                value: 421,
                label: "机械分离"
            }, {
                value: 420,
                label: "机械过滤"
            }, {
                value: 419,
                label: "减速机/变速机"
            }, {
                value: 418,
                label: "泵"
            }, {
                value: 417,
                label: "阀门"
            }, {
                value: 346,
                label: "机械输送"
            }, {
                value: 345,
                label: "电焊"
            }, {
                value: 344,
                label: "机械粉碎"
            }, {
                value: 341,
                label: "发动机"
            }, {
                value: 340,
                label: "机床"
            }, {
                value: 339,
                label: "内燃机"
            }, {
                value: 300,
                label: "液压机"
            }, {
                value: 160,
                label: "其他机械"
            }, {
                value: 159,
                label: "通用零部件"
            }]
        }, {
            value: 17,
            label: "新能源",
            children: [{
                value: 543,
                label: "风能"
            }, {
                value: 479,
                label: "其他新能源"
            }, {
                value: 478,
                label: "能量转换与储存"
            }, {
                value: 477,
                label: "核能及氢能"
            }, {
                value: 476,
                label: "潮汐能"
            }, {
                value: 475,
                label: "生物质能"
            }, {
                value: 474,
                label: "地热能"
            }, {
                value: 416,
                label: "太阳能 "
            }]
        }, {
            value: 15,
            label: "化学化工",
            children: [{
                value: 522,
                label: "化工生产"
            }, {
                value: 521,
                label: "日用化学"
            }, {
                value: 520,
                label: "合成化学"
            }, {
                value: 519,
                label: "涂料、颜料、油墨"
            }, {
                value: 518,
                label: "农药"
            }, {
                value: 517,
                label: "肥料"
            }, {
                value: 516,
                label: "基础化学"
            }, {
                value: 515,
                label: "精炼石油"
            }, {
                value: 413,
                label: "专用化学"
            }, {
                value: 140,
                label: "其他化学化工"
            }, {
                value: 580,
                label: "盐湖化工"
            }]
        }, {
            value: 7,
            label: "轻工纺织",
            children: [{
                value: 559,
                label: "皮革"
            }, {
                value: 558,
                label: "纺织"
            }, {
                value: 551,
                label: "其他轻工纺织"
            }, {
                value: 532,
                label: "毛皮"
            }, {
                value: 529,
                label: "编织物"
            }, {
                value: 528,
                label: "棉及化纤印染精加工"
            }, {
                value: 86,
                label: "服装服饰"
            }, {
                value: 85,
                label: "制鞋"
            }]
        }, {
            value: 5,
            label: "家居用品",
            children: [{
                value: 574,
                label: "护理用品"
            }, {
                value: 573,
                label: "卫浴"
            }, {
                value: 402,
                label: "餐具"
            }, {
                value: 401,
                label: "厨具"
            }, {
                value: 308,
                label: "日常用品"
            }, {
                value: 307,
                label: "家用电器"
            }, {
                value: 73,
                label: "其他家居用品"
            }, {
                value: 72,
                label: "家居照明"
            }, {
                value: 68,
                label: "家具"
            }, {
                value: 67,
                label: "家居清洁"
            }, {
                value: 63,
                label: "家居饰品"
            }]
        }, {
            value: 4,
            label: "建筑建材",
            children: [{
                value: 400,
                label: "建筑电气"
            }, {
                value: 399,
                label: "采暖空调"
            }, {
                value: 398,
                label: "建筑照明"
            }, {
                value: 397,
                label: "建筑通风"
            }, {
                value: 396,
                label: "建筑给排水"
            }, {
                value: 305,
                label: "建筑装潢"
            }, {
                value: 304,
                label: "建筑材料"
            }, {
                value: 65,
                label: "其他建筑建材"
            }, {
                value: 62,
                label: "建筑施工"
            }, {
                value: 61,
                label: "管件、管材"
            }, {
                value: 58,
                label: "建筑装饰"
            }, {
                value: 57,
                label: "建筑结构"
            }]
        }, {
            value: 2,
            label: "食品饮料",
            children: [{
                value: 568,
                label: "方便食品"
            }, {
                value: 537,
                label: "茶类"
            }, {
                value: 535,
                label: "焙烤类"
            }, {
                value: 393,
                label: "果蔬类"
            }, {
                value: 392,
                label: "水产类"
            }, {
                value: 391,
                label: "肉类"
            }, {
                value: 390,
                label: "粗粮"
            }, {
                value: 389,
                label: "调味及发酵"
            }, {
                value: 388,
                label: "食用油"
            }, {
                value: 387,
                label: "酒类酿造"
            }, {
                value: 302,
                label: "甜品类"
            }, {
                value: 99,
                label: "乳品"
            }, {
                value: 50,
                label: "其他食品饮料"
            }, {
                value: 49,
                label: "食品添加剂"
            }, {
                value: 48,
                label: "食品加工"
            }, {
                value: 46,
                label: "饮料类"
            }]
        }, {
            value: 589,
            label: "钒钛产业",
            children: [{
                value: "590",
                label: "钒钛资源"
            }, {
                value: "591",
                label: "钒钛冶金"
            }, {
                value: "592",
                label: "钒钛化工"
            }, {
                value: "593",
                label: "钒钛钢"
            }, {
                value: "594",
                label: "钒钛新材料"
            }, {
                value: "595",
                label: "其他"
            }]
        }]
    }, {
        value: 601,
        label: "科技服务领域",
        children: [{
            value: 602,
            label: "研究开发",
            children: [{
                value: 612,
                label: "自然科学研究开发"
            }, {
                value: 613,
                label: "工程和技术研究开发"
            }, {
                value: 614,
                label: "农业科学研究开发"
            }, {
                value: 615,
                label: "医学研究开发"
            }, {
                value: 616,
                label: "其他"
            }]
        }, {
            value: 603,
            label: "技术转移",
            children: [{
                value: 617,
                label: "技术中介"
            }, {
                value: 618,
                label: "技术经纪"
            }, {
                value: 619,
                label: "科技查新"
            }, {
                value: 620,
                label: "技术评估"
            }, {
                value: 621,
                label: "技术鉴定"
            }, {
                value: 622,
                label: "其他"
            }]
        }, {
            value: 604,
            label: "检测认证",
            children: [{
                value: 623,
                label: "检测服务"
            }, {
                value: 624,
                label: "标准服务"
            }, {
                value: 625,
                label: "认证服务"
            }, {
                value: 626,
                label: "计量服务"
            }, {
                value: 627,
                label: "其他"
            }]
        }, {
            value: 605,
            label: "创业孵化",
            children: [{
                value: 628,
                label: "创业服务中心"
            }, {
                value: 629,
                label: "园区孵化器"
            }, {
                value: 630,
                label: "大学科技园孵化器"
            }, {
                value: 631,
                label: "企业孵化器"
            }, {
                value: 632,
                label: "创业咖啡馆"
            }, {
                value: 633,
                label: "留学人员创业园"
            }, {
                value: 634,
                label: "海外创业园"
            }, {
                value: 635,
                label: "其他"
            }]
        }, {
            value: 606,
            label: "知识产权",
            children: [{
                value: 636,
                label: "专利申请"
            }, {
                value: 637,
                label: "专利检索分析报告"
            }, {
                value: 638,
                label: "专利评价报告"
            }, {
                value: 639,
                label: "专利维权保护"
            }, {
                value: 640,
                label: "产权交易"
            }, {
                value: 641,
                label: "侵权风险评估"
            }, {
                value: 642,
                label: "知识产权托管"
            }, {
                value: 643,
                label: "商标服务"
            }, {
                value: 644,
                label: "商号权"
            }, {
                value: 645,
                label: "著作权服务"
            }, {
                value: 646,
                label: "植物新品种权"
            }, {
                value: 647,
                label: "集成电路布图设计权"
            }, {
                value: 648,
                label: "商业秘密"
            }, {
                value: 649,
                label: "其他"
            }]
        }, {
            value: 607,
            label: "科技咨询",
            children: [{
                value: 650,
                label: "技术咨询"
            }, {
                value: 651,
                label: "调研服务"
            }, {
                value: 652,
                label: "政策应用咨询"
            }, {
                value: 653,
                label: "管理咨询"
            }, {
                value: 654,
                label: "工程项目咨询"
            }, {
                value: 655,
                label: "创业咨询"
            }, {
                value: 656,
                label: "投融资咨询"
            }, {
                value: 657,
                label: "外包服务"
            }, {
                value: 658,
                label: "其他"
            }]
        }, {
            value: 608,
            label: "科学技术普及",
            children: [{
                value: 659,
                label: "科普服务"
            }, {
                value: 660,
                label: "科技出版服务"
            }, {
                value: 661,
                label: "科技教育服务"
            }, {
                value: 662,
                label: "其他"
            }]
        }, {
            value: 609,
            label: "科技人才服务",
            children: [{
                value: 663,
                label: "人才派遣"
            }, {
                value: 664,
                label: "人事委托代理"
            }, {
                value: 665,
                label: "人才中介"
            }, {
                value: 666,
                label: "猎头"
            }, {
                value: 667,
                label: "职业咨询"
            }, {
                value: 668,
                label: "人才招聘"
            }, {
                value: 669,
                label: "人才培训"
            }, {
                value: 670,
                label: "档案管理"
            }, {
                value: 671,
                label: "其他"
            }]
        }, {
            value: 610,
            label: "工程技术服务",
            children: [{
                value: 672,
                label: "工程管理服务"
            }, {
                value: 673,
                label: "工程勘察设计"
            }, {
                value: 674,
                label: "其他"
            }]
        }, {
            value: 611,
            label: "专业化设计服务",
            children: [{
                value: 675,
                label: "平面设计"
            }, {
                value: 676,
                label: "品牌设计"
            }, {
                value: 677,
                label: "网站UI设计"
            }, {
                value: 678,
                label: "产品外观设计"
            }, {
                value: 679,
                label: "机械设计"
            }, {
                value: 680,
                label: "电路设计"
            }, {
                value: 681,
                label: "模具设计"
            }, {
                value: 682,
                label: "工程建筑设计"
            }, {
                value: 683,
                label: "家具设计"
            }, {
                value: 684,
                label: "电子产品设计"
            }, {
                value: 685,
                label: "日用品设计"
            }, {
                value: 686,
                label: "体育用品设计"
            }, {
                value: 687,
                label: "礼品设计"
            }, {
                value: 688,
                label: "其他"
            }]
        }]
    }, {
        value: 689,
        label: "商业市场领域",
        children: [{
            value: 691,
            label: "商业贸易",
            children: [{
                value: 697,
                label: "贸易"
            }, {
                value: 698,
                label: "批发"
            }, {
                value: 699,
                label: "零售"
            }, {
                value: 700,
                label: "电子商务"
            }, {
                value: 701,
                label: "房地产相关"
            }, {
                value: 702,
                label: "其他"
            }]
        }, {
            value: 692,
            label: "金融服务",
            children: [{
                value: 703,
                label: "货币金融"
            }, {
                value: 704,
                label: "资本投资"
            }, {
                value: 705,
                label: "保险"
            }, {
                value: 706,
                label: "其他"
            }]
        }, {
            value: 693,
            label: "市场服务",
            children: [{
                value: 707,
                label: "财税服务"
            }, {
                value: 708,
                label: "法律服务"
            }, {
                value: 709,
                label: "融资服务"
            }, {
                value: 710,
                label: "信用服务"
            }, {
                value: 711,
                label: "广告服务"
            }, {
                value: 712,
                label: "担保服务"
            }, {
                value: 713,
                label: "投资理财"
            }, {
                value: 714,
                label: "旅行服务"
            }, {
                value: 715,
                label: "安保服务"
            }, {
                value: 716,
                label: "包装服务"
            }, {
                value: 717,
                label: "会展服务"
            }, {
                value: 718,
                label: "市场管理"
            }, {
                value: 719,
                label: "物流客运"
            }, {
                value: 720,
                label: "医疗服务"
            }, {
                value: 721,
                label: "办公服务"
            }, {
                value: 722,
                label: "修理维护"
            }, {
                value: 723,
                label: "其他"
            }]
        }, {
            value: 694,
            label: "租赁服务",
            children: [{
                value: 724,
                label: "机械设备租赁"
            }, {
                value: 725,
                label: "仪器仪表租赁"
            }, {
                value: 726,
                label: "汽车租赁"
            }, {
                value: 727,
                label: "计算机及通讯设备租赁"
            }, {
                value: 728,
                label: "娱乐及体育设备出租"
            }, {
                value: 729,
                label: "其他"
            }]
        }, {
            value: 695,
            label: "信息技术服务",
            children: [{
                value: 730,
                label: "电信服务"
            }, {
                value: 731,
                label: "广播电视传输服务"
            }, {
                value: 732,
                label: "卫星传输服务"
            }, {
                value: 733,
                label: "互联网信息服务"
            }, {
                value: 734,
                label: "互联网技术服务"
            }, {
                value: 735,
                label: "软件服务"
            }, {
                value: 736,
                label: "其他"
            }]
        }, {
            value: 696,
            label: "文体娱乐",
            children: [{
                value: 737,
                label: "广电出版传媒"
            }, {
                value: 738,
                label: "文化艺术"
            }, {
                value: 739,
                label: "体育"
            }, {
                value: 740,
                label: "娱乐"
            }, {
                value: 741,
                label: "其他"
            }]
        }]
    }, {
        value: 690,
        label: "公共服务领域",
        children: [{
            value: 742,
            label: "公共管理服务",
            children: [{
                value: 744,
                label: "电力"
            }, {
                value: 745,
                label: "水务"
            }, {
                value: 746,
                label: "燃气"
            }, {
                value: 747,
                label: "生态保护"
            }, {
                value: 748,
                label: "环境治理"
            }, {
                value: 749,
                label: "公共设施管理"
            }, {
                value: 750,
                label: "党政机构"
            }, {
                value: 751,
                label: "社群团体"
            }, {
                value: 752,
                label: "国际组织"
            }, {
                value: 753,
                label: "其他"
            }]
        }, {
            value: 743,
            label: "专业化技术公共服务",
            children: [{
                value: 754,
                label: "气象服务"
            }, {
                value: 755,
                label: "地震服务"
            }, {
                value: 756,
                label: "海洋服务"
            }, {
                value: 757,
                label: "测绘服务"
            }, {
                value: 758,
                label: "环境与生态监测"
            }, {
                value: 759,
                label: "地质勘查"
            }, {
                value: 760,
                label: "规划设计服务"
            }, {
                value: 761,
                label: "其他"
            }]
        }, {
            value: 762,
            label: "教育 ",
            children: [{
                value: 763,
                label: "学前教育"
            }, {
                value: 764,
                label: "初等教育"
            }, {
                value: 765,
                label: "中等教育"
            }, {
                value: 766,
                label: "高等教育"
            }, {
                value: 767,
                label: "特殊教育"
            }, {
                value: 768,
                label: "技能培训"
            }, {
                value: 769,
                label: "其他"
            }]
        }]
}];

const TechSelect = React.createClass({
    onChange(value,s) {
        if ( s.length > 0 ) {
            this.props.techzone(s[0].label,s[1].label,s[2].label);
        }
    },
    render() {
        return (
            <Cascader options={DataObject} onChange={this.onChange} />
        )
    }
});

export default TechSelect;