<template>
    <el-form class='form' label-width='140px'>
        <el-form-item
            label='对应数据字典'
            prop='dict'
            :rules='[{ required: true, message: "请输入对应数据字典", trigger: "change" },{ validator: validateDict, trigger: ["blur", "change"] }]'
        >
            <el-cascader
                style='width: 100%;'
                :options='options'
                v-model='form.dict'
                @change='handleChange'
                :props='props'
                filterable
                @active-item-change='handleItemChange'
            ></el-cascader>
        </el-form-item>
    </el-form>
</template>

<script>
export default {
    data() {
        return {
            props: {
                value: 'code',
                label: 'name',
                children: 'content'
            },
            options: [
                {
                    code: 'WS',
                    name: '给排水专业',
                    content: [
                        {
                            code: 'SI',
                            name: '喷灌系统',
                            content: [
                                {
                                    code: 'SISU',
                                    name: '喷灌机组'
                                },
                                {
                                    code: 'SISN',
                                    name: '喷灌喷头'
                                },
                                {
                                    code: 'SICU',
                                    name: '喷灌控制箱'
                                }
                            ]
                        },
                        {
                            code: 'RW',
                            name: '中水系统',
                            content: [
                                {
                                    code: 'RWWT',
                                    name: '中水储水箱'
                                },
                                {
                                    code: 'RWTU',
                                    name: '中水处理机组'
                                },
                                {
                                    code: 'RWSU',
                                    name: '中水供水机组'
                                },
                                {
                                    code: 'RWRC',
                                    name: '雨水收集设备'
                                },
                                {
                                    code: 'RWPP',
                                    name: '中水供水水泵'
                                }
                            ]
                        },
                        {
                            code: 'FG',
                            name: '燃气系统',
                            content: [
                                {
                                    code: 'FGPA',
                                    name: '燃气调压箱'
                                },
                                {
                                    code: 'FGLP',
                                    name: '液化石油气瓶'
                                }
                            ]
                        },
                        {
                            code: 'DW',
                            name: '生活给水系统',
                            content: [
                                {
                                    code: 'DWWT',
                                    name: '生活给水储水箱'
                                },
                                {
                                    code: 'DWUS',
                                    name: '生活给水紫外线消毒器'
                                },
                                {
                                    code: 'DWTS',
                                    name: '生活给水水箱消毒器'
                                },
                                {
                                    code: 'DWSU',
                                    name: '生活给水供水机组'
                                },
                                {
                                    code: 'DWPT',
                                    name: '生活给水压力罐'
                                },
                                {
                                    code: 'DWPP',
                                    name: '生活给水水泵'
                                }
                            ]
                        },
                        {
                            code: 'DH',
                            name: '生活热水系统',
                            content: [
                                {
                                    code: 'DHWT',
                                    name: '生活热水储水箱'
                                },
                                {
                                    code: 'DHSC',
                                    name: '生活热水太阳能集热器'
                                },
                                {
                                    code: 'DHHP',
                                    name: '生活热水水泵'
                                },
                                {
                                    code: 'DHHE',
                                    name: '生活热水换热器'
                                },
                                {
                                    code: 'DHHA',
                                    name: '生活热水辅热设备'
                                },
                                {
                                    code: 'DHGH',
                                    name: '生活热水燃气热水器'
                                },
                                {
                                    code: 'DHGB',
                                    name: '生活热水燃气锅炉'
                                },
                                {
                                    code: 'DHFB',
                                    name: '生活热水燃油锅炉'
                                },
                                {
                                    code: 'DHEH',
                                    name: '生活热水电热水器'
                                },
                                {
                                    code: 'DHEB',
                                    name: '生活热水电锅炉'
                                },
                                {
                                    code: 'DHCB',
                                    name: '生活热水燃煤锅炉'
                                },
                                {
                                    code: 'DHAH',
                                    name: '生活热水空气源热泵'
                                }
                            ]
                        },
                        {
                            code: 'DD',
                            name: '直饮水系统',
                            content: [
                                {
                                    code: 'DDTU',
                                    name: '直饮水处理机组'
                                },
                                {
                                    code: 'DDIH',
                                    name: '直饮水即时加热器'
                                }
                            ]
                        },
                        {
                            code: 'WS',
                            name: '水景系统',
                            content: [
                                {
                                    code: 'WSSN',
                                    name: '水景喷头'
                                },
                                {
                                    code: 'WSPP',
                                    name: '水景水泵'
                                },
                                {
                                    code: 'WSLT',
                                    name: '水景灯具'
                                },
                                {
                                    code: 'WSCU',
                                    name: '水景控制箱'
                                },
                                {
                                    code: 'WSCF',
                                    name: '水景循环过滤机组'
                                }
                            ]
                        },
                        {
                            code: 'WP',
                            name: '泳池系统',
                            content: [
                                {
                                    code: 'WPCF',
                                    name: '泳池循环过滤机组'
                                }
                            ]
                        },
                        {
                            code: 'WH',
                            name: '给排水电伴热系统',
                            content: [
                                {
                                    code: 'WHTC',
                                    name: '给排水伴热电缆'
                                },
                                {
                                    code: 'WHIB',
                                    name: '给排水伴热保温器'
                                },
                                {
                                    code: 'WHCU',
                                    name: '给排水伴热控制箱'
                                }
                            ]
                        },
                        {
                            code: 'WD',
                            name: '给排水人防系统',
                            content: [
                                {
                                    code: 'WDWT',
                                    name: '人防储水箱'
                                }
                            ]
                        },
                        {
                            code: 'ST',
                            name: '污水处理系统',
                            content: [
                                {
                                    code: 'STST',
                                    name: '化粪池'
                                },
                                {
                                    code: 'STSP',
                                    name: '潜污泵'
                                },
                                {
                                    code: 'STOS',
                                    name: '隔油池'
                                },
                                {
                                    code: 'STOR',
                                    name: '餐饮除油成套设备'
                                },
                                {
                                    code: 'STLU',
                                    name: '污废水一体式提升机组'
                                },
                                {
                                    code: 'STCP',
                                    name: '集水坑'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'WE',
                    name: '弱电专业',
                    content: [
                        {
                            code: 'PM',
                            name: '客流管理系统',
                            content: [
                                {
                                    code: 'PMHT',
                                    name: '客流管理主机'
                                }
                            ]
                        },
                        {
                            code: 'MI',
                            name: '多媒体信息发布系统',
                            content: [
                                {
                                    code: 'MIPL',
                                    name: '播放器'
                                },
                                {
                                    code: 'MIHT',
                                    name: '多媒体主机'
                                },
                                {
                                    code: 'MIFE',
                                    name: '多媒体前端设备'
                                },
                                {
                                    code: 'MIDS',
                                    name: '多媒体显示屏'
                                },
                                {
                                    code: 'MICU',
                                    name: '多媒体控制箱'
                                },
                                {
                                    code: 'MIST',
                                    name: '自助终端机'
                                }
                            ]
                        },
                        {
                            code: 'MA',
                            name: '移动通信信号放大系统',
                            content: [
                                {
                                    code: 'MAHT',
                                    name: '移动通信信号放大主机'
                                },
                                {
                                    code: 'MAAT',
                                    name: '信号放大天线'
                                }
                            ]
                        },
                        {
                            code: 'LN',
                            name: '本地网络系统',
                            content: [
                                {
                                    code: 'LNRT',
                                    name: '路由器'
                                },
                                {
                                    code: 'LNHT',
                                    name: '服务器主机'
                                },
                                {
                                    code: 'LNHF',
                                    name: '硬件防火墙'
                                },
                                {
                                    code: 'LNEX',
                                    name: '交换机'
                                },
                                {
                                    code: 'LNAP',
                                    name: '无线AP点位'
                                }
                            ]
                        },
                        {
                            code: 'GM',
                            name: '车库管理系统',
                            content: [
                                {
                                    code: 'GMMP',
                                    name: '机械车位'
                                },
                                {
                                    code: 'GMHT',
                                    name: '车库主机'
                                },
                                {
                                    code: 'GMGT',
                                    name: '进出闸机'
                                },
                                {
                                    code: 'GMGL',
                                    name: '车位引导灯'
                                },
                                {
                                    code: 'GMDS',
                                    name: '车库显示屏'
                                },
                                {
                                    code: 'GMCU',
                                    name: '车库控制箱'
                                },
                                {
                                    code: 'GMCP',
                                    name: '充电桩'
                                },
                                {
                                    code: 'GMCM',
                                    name: '车库摄像头'
                                },
                                {
                                    code: 'GMPD',
                                    name: '车位检测器'
                                }
                            ]
                        },
                        {
                            code: 'BA',
                            name: '建筑设备控制系统',
                            content: [
                                {
                                    code: 'BAHT',
                                    name: '楼控主机'
                                },
                                {
                                    code: 'BACU',
                                    name: '楼控控制箱'
                                },
                                {
                                    code: 'BACP',
                                    name: '楼控控制面板'
                                }
                            ]
                        },
                        {
                            code: 'WT',
                            name: '无线对讲系统',
                            content: [
                                {
                                    code: 'WTRS',
                                    name: '中继台'
                                },
                                {
                                    code: 'WTCU',
                                    name: '无线对讲控制箱'
                                },
                                {
                                    code: 'WTWT',
                                    name: '对讲机'
                                }
                            ]
                        },
                        {
                            code: 'TV',
                            name: '电视信号系统',
                            content: [
                                {
                                    code: 'TVFE',
                                    name: '电视前端设备'
                                },
                                {
                                    code: 'TVCU',
                                    name: '电视信号控制箱'
                                }
                            ]
                        },
                        {
                            code: 'TM',
                            name: '租户管理系统',
                            content: [
                                {
                                    code: 'TMHT',
                                    name: '租户管理主机'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'SP',
                    name: '安防专业',
                    content: [
                        {
                            code: 'NP',
                            name: '巡更系统',
                            content: [
                                {
                                    code: 'NPPS',
                                    name: '巡更棒'
                                },
                                {
                                    code: 'NPHT',
                                    name: '巡更主机'
                                },
                                {
                                    code: 'NPCU',
                                    name: '巡更控制箱'
                                },
                                {
                                    code: 'NPCP',
                                    name: '巡更通讯座'
                                }
                            ]
                        },
                        {
                            code: 'IA',
                            name: '入侵报警系统',
                            content: [
                                {
                                    code: 'IASE',
                                    name: '入侵报警探测器'
                                },
                                {
                                    code: 'IAHT',
                                    name: '入侵报警主机'
                                },
                                {
                                    code: 'IACU',
                                    name: '入侵报警控制箱'
                                }
                            ]
                        },
                        {
                            code: 'EG',
                            name: '门禁系统',
                            content: [
                                {
                                    code: 'EGHT',
                                    name: '门禁主机'
                                },
                                {
                                    code: 'EGFG',
                                    name: '速通门'
                                },
                                {
                                    code: 'EGCU',
                                    name: '门禁控制箱'
                                },
                                {
                                    code: 'EGCR',
                                    name: '门禁读卡器'
                                }
                            ]
                        },
                        {
                            code: 'VS',
                            name: '视频监控系统',
                            content: [
                                {
                                    code: 'VSHT',
                                    name: '监控主机'
                                },
                                {
                                    code: 'VSFE',
                                    name: '监控前端设备'
                                },
                                {
                                    code: 'VSDR',
                                    name: '硬盘录像机'
                                },
                                {
                                    code: 'VSCU',
                                    name: '监控控制箱'
                                },
                                {
                                    code: 'VSCM',
                                    name: '监控摄像头'
                                },
                                {
                                    code: 'VSVM',
                                    name: '监视器'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'SE',
                    name: '强电专业',
                    content: [
                        {
                            code: 'SD',
                            name: '强电人防系统',
                            content: [
                                {
                                    code: 'SDCU',
                                    name: '强电人防控制箱'
                                }
                            ]
                        },
                        {
                            code: 'OP',
                            name: '室外动力系统',
                            content: [
                                {
                                    code: 'OPCU',
                                    name: '室外动力控制箱'
                                }
                            ]
                        },
                        {
                            code: 'LT',
                            name: '照明系统',
                            content: [
                                {
                                    code: 'LTLT',
                                    name: '照明灯具'
                                },
                                {
                                    code: 'LTCU',
                                    name: '照明控制箱'
                                },
                                {
                                    code: 'LTCP',
                                    name: '照明控制面板'
                                }
                            ]
                        },
                        {
                            code: 'EP',
                            name: '机房动力系统',
                            content: [
                                {
                                    code: 'EPCU',
                                    name: '机房动力控制箱'
                                }
                            ]
                        },
                        {
                            code: 'EL',
                            name: '电梯系统',
                            content: [
                                {
                                    code: 'ELET',
                                    name: '电梯曳引机'
                                },
                                {
                                    code: 'ELES',
                                    name: '扶梯'
                                },
                                {
                                    code: 'ELEL',
                                    name: '直梯'
                                },
                                {
                                    code: 'ELCU',
                                    name: '电梯控制箱'
                                }
                            ]
                        },
                        {
                            code: 'DG',
                            name: '柴发机房系统',
                            content: [
                                {
                                    code: 'DGDG',
                                    name: '柴油发电机'
                                },
                                {
                                    code: 'DGCU',
                                    name: '柴发控制箱'
                                }
                            ]
                        },
                        {
                            code: 'BP',
                            name: '备用电源系统',
                            content: [
                                {
                                    code: 'BPWG',
                                    name: '风力发电装置'
                                },
                                {
                                    code: 'BPSP',
                                    name: '太阳能电池板'
                                },
                                {
                                    code: 'BPHT',
                                    name: '备用电源主机'
                                },
                                {
                                    code: 'BPCU',
                                    name: '备用电源控制箱'
                                },
                                {
                                    code: 'BPBP',
                                    name: '备用电源'
                                }
                            ]
                        },
                        {
                            code: 'TP',
                            name: '租户配电系统',
                            content: [
                                {
                                    code: 'TPCU',
                                    name: '租户配电控制箱'
                                },
                                {
                                    code: 'TPBP',
                                    name: '租户母线插接箱'
                                }
                            ]
                        },
                        {
                            code: 'TD',
                            name: '变配电系统',
                            content: [
                                {
                                    code: 'TDTF',
                                    name: '变压器'
                                },
                                {
                                    code: 'TDLS',
                                    name: '低压开关柜',
                                    content: [
                                        {
                                            code: 'TDLSDW',
                                            name: '低压配电抽屉'
                                        }
                                    ]
                                },
                                {
                                    code: 'TDHS',
                                    name: '高压开关柜',
                                    content: [
                                        {
                                            code: 'TDHSIP',
                                            name: '综合保护装置'
                                        }
                                    ]
                                },
                                {
                                    code: 'TDDS',
                                    name: '直流屏'
                                },
                                {
                                    code: 'TDBP',
                                    name: '变配电母线插接箱'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'OT',
                    name: '其他',
                    content: [
                        {
                            code: 'SE',
                            name: '传感器系统',
                            content: [
                                {
                                    code: 'SETP',
                                    name: '温度传感器'
                                },
                                {
                                    code: 'SESP',
                                    name: '速度传感器'
                                },
                                {
                                    code: 'SESD',
                                    name: '声音传感器'
                                },
                                {
                                    code: 'SERH',
                                    name: '湿度传感器'
                                },
                                {
                                    code: 'SEPS',
                                    name: '压力传感器'
                                },
                                {
                                    code: 'SEPF',
                                    name: '人流量传感器'
                                },
                                {
                                    code: 'SEHT',
                                    name: '热量传感器'
                                },
                                {
                                    code: 'SEFL',
                                    name: '流量传感器'
                                },
                                {
                                    code: 'SEEE',
                                    name: '电度传感器'
                                },
                                {
                                    code: 'SEDP',
                                    name: '位移传感器'
                                },
                                {
                                    code: 'SECT',
                                    name: '浓度传感器'
                                },
                                {
                                    code: 'SECB',
                                    name: '组合式传感器'
                                },
                                {
                                    code: 'SEVD',
                                    name: '图像传感器'
                                }
                            ]
                        },
                        {
                            code: 'PW',
                            name: '管网系统',
                            content: [
                                {
                                    code: 'PWLQ',
                                    name: '液体管道'
                                },
                                {
                                    code: 'PWGS',
                                    name: '气体管道'
                                },
                                {
                                    code: 'PWWE',
                                    name: '弱电线路'
                                },
                                {
                                    code: 'PWSE',
                                    name: '强电线路'
                                }
                            ]
                        },
                        {
                            code: 'AE',
                            name: '执行器系统',
                            content: [
                                {
                                    code: 'AESV',
                                    name: '安全阀'
                                },
                                {
                                    code: 'AERV',
                                    name: '减压阀'
                                },
                                {
                                    code: 'AERL',
                                    name: '继电器'
                                },
                                {
                                    code: 'AEOV',
                                    name: '通断阀'
                                },
                                {
                                    code: 'AEFC',
                                    name: '变频器'
                                },
                                {
                                    code: 'AECV',
                                    name: '止回阀'
                                },
                                {
                                    code: 'AEAV',
                                    name: '调节阀'
                                }
                            ]
                        },
                        {
                            code: 'XX',
                            name: '其他系统',
                            content: [
                                {
                                    code: 'XXXX',
                                    name: '其他设备'
                                }
                            ]
                        },
                        {
                            code: 'TL',
                            name: '工具系统',
                            content: [
                                {
                                    code: 'TLTL',
                                    name: '工具'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'FF',
                    name: '消防专业',
                    content: [
                        {
                            code: 'SC',
                            name: '防排烟系统',
                            content: [
                                {
                                    code: 'SCSD',
                                    name: '防火排烟阀'
                                },
                                {
                                    code: 'SCIO',
                                    name: '排烟风口'
                                },
                                {
                                    code: 'SCEF',
                                    name: '防排烟风机'
                                }
                            ]
                        },
                        {
                            code: 'KE',
                            name: '厨房自动灭火系统',
                            content: [
                                {
                                    code: 'KESN',
                                    name: '厨房自动灭火喷头'
                                },
                                {
                                    code: 'KEEC',
                                    name: '厨房自动灭火灭火剂容器'
                                },
                                {
                                    code: 'KECU',
                                    name: '厨房自动灭火控制箱'
                                }
                            ]
                        },
                        {
                            code: 'GE',
                            name: '气体灭火系统',
                            content: [
                                {
                                    code: 'GECU',
                                    name: '气体灭火控制箱'
                                },
                                {
                                    code: 'GEBG',
                                    name: '气体灭火瓶组'
                                },
                                {
                                    code: 'GESN',
                                    name: '气体灭火喷头'
                                },
                                {
                                    code: 'GESB',
                                    name: '气体灭火启动瓶'
                                }
                            ]
                        },
                        {
                            code: 'GA',
                            name: '燃气报警系统',
                            content: [
                                {
                                    code: 'GASE',
                                    name: '燃气探测器'
                                },
                                {
                                    code: 'GAHT',
                                    name: '燃气报警主机'
                                },
                                {
                                    code: 'GACV',
                                    name: '燃气切断阀'
                                },
                                {
                                    code: 'GACU',
                                    name: '燃气报警控制箱'
                                }
                            ]
                        },
                        {
                            code: 'FS',
                            name: '消防给水系统',
                            content: [
                                {
                                    code: 'FSWV',
                                    name: '湿式报警阀组'
                                },
                                {
                                    code: 'FSWT',
                                    name: '消防水箱'
                                },
                                {
                                    code: 'FSWM',
                                    name: '消防水炮设备'
                                },
                                {
                                    code: 'FSTC',
                                    name: '消防伴热电缆'
                                },
                                {
                                    code: 'FSSP',
                                    name: '喷淋供水加压泵'
                                },
                                {
                                    code: 'FSSN',
                                    name: '消防喷头'
                                },
                                {
                                    code: 'FSPV',
                                    name: '预作用报警阀组'
                                },
                                {
                                    code: 'FSPS',
                                    name: '消防稳压设备'
                                },
                                {
                                    code: 'FSPC',
                                    name: '消防水泵接合器'
                                },
                                {
                                    code: 'FSOH',
                                    name: '室外消火栓'
                                },
                                {
                                    code: 'FSMP',
                                    name: '水喷雾供水加压泵'
                                },
                                {
                                    code: 'FSHP',
                                    name: '消火栓供水加压泵'
                                },
                                {
                                    code: 'FSHB',
                                    name: '消火栓箱'
                                },
                                {
                                    code: 'FSFT',
                                    name: '泡沫储罐组'
                                },
                                {
                                    code: 'FSFP',
                                    name: '消防补水泵'
                                },
                                {
                                    code: 'FSET',
                                    name: '消防末端试水装置'
                                },
                                {
                                    code: 'FSDV',
                                    name: '干式报警阀组'
                                },
                                {
                                    code: 'FSCU',
                                    name: '消防给水控制箱'
                                },
                                {
                                    code: 'FSCP',
                                    name: '消火栓控制面板'
                                },
                                {
                                    code: 'FSAP',
                                    name: '停机坪消防供水加压泵'
                                },
                                {
                                    code: 'FSAC',
                                    name: '消防空压机'
                                }
                            ]
                        },
                        {
                            code: 'FR',
                            name: '防火卷帘门系统',
                            content: [
                                {
                                    code: 'FRFR',
                                    name: '防火卷帘门'
                                },
                                {
                                    code: 'FRCU',
                                    name: '防火卷帘门控制箱'
                                },
                                {
                                    code: 'FRCP',
                                    name: '防火卷帘门控制面板'
                                }
                            ]
                        },
                        {
                            code: 'FE',
                            name: '灭火器系统',
                            content: [
                                {
                                    code: 'FEFE',
                                    name: '灭火器'
                                }
                            ]
                        },
                        {
                            code: 'FA',
                            name: '火灾报警系统',
                            content: [
                                {
                                    code: 'FAHT',
                                    name: '火灾报警主机'
                                },
                                {
                                    code: 'FADS',
                                    name: '火灾报警显示屏'
                                },
                                {
                                    code: 'FACU',
                                    name: '火灾报警控制箱'
                                },
                                {
                                    code: 'FAAL',
                                    name: '火灾报警声光报警器'
                                },
                                {
                                    code: 'FATL',
                                    name: '消防电话'
                                },
                                {
                                    code: 'FASE',
                                    name: '火灾探测器'
                                },
                                {
                                    code: 'FAMA',
                                    name: '消防手动报警按钮'
                                },
                                {
                                    code: 'FALP',
                                    name: '联动琴台'
                                }
                            ]
                        },
                        {
                            code: 'EE',
                            name: '应急照明及疏散指示系统',
                            content: [
                                {
                                    code: 'EEEL',
                                    name: '应急照明灯具'
                                },
                                {
                                    code: 'EEEI',
                                    name: '疏散指示灯牌'
                                },
                                {
                                    code: 'EECU',
                                    name: '应急照明及疏散指示控制箱'
                                },
                                {
                                    code: 'EEHT',
                                    name: '应急照明及疏散指示主机'
                                }
                            ]
                        },
                        {
                            code: 'EA',
                            name: '漏电火灾报警系统',
                            content: [
                                {
                                    code: 'EALS',
                                    name: '漏电探测器'
                                },
                                {
                                    code: 'EAHT',
                                    name: '漏电火灾报警主机'
                                },
                                {
                                    code: 'EACU',
                                    name: '漏电火灾报警控制箱'
                                }
                            ]
                        },
                        {
                            code: 'BM',
                            name: '紧急广播及背景音乐系统',
                            content: [
                                {
                                    code: 'BMHT',
                                    name: '广播主机'
                                },
                                {
                                    code: 'BMFE',
                                    name: '广播前端设备'
                                },
                                {
                                    code: 'BMDS',
                                    name: '广播显示屏'
                                },
                                {
                                    code: 'BMCU',
                                    name: '广播分区控制箱'
                                },
                                {
                                    code: 'BMSP',
                                    name: '扬声器'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'CF',
                    name: '土建专业',
                    content: [
                        {
                            code: 'RF',
                            name: '屋顶',
                            content: []
                        },
                        {
                            code: 'OS',
                            name: '外遮阳',
                            content: [
                                {
                                    code: 'OSMT',
                                    name: '外遮阳电机'
                                },
                                {
                                    code: 'OSCT',
                                    name: '外遮阳帘'
                                }
                            ]
                        },
                        {
                            code: 'LR',
                            name: '采光顶',
                            content: [
                                {
                                    code: 'LRCP',
                                    name: '采光顶组件'
                                },
                                {
                                    code: 'LRPN',
                                    name: '采光顶嵌板'
                                },
                                {
                                    code: 'LRKL',
                                    name: '采光顶龙骨'
                                }
                            ]
                        },
                        {
                            code: 'ID',
                            name: '室内装饰',
                            content: [
                                {
                                    code: 'IDCL',
                                    name: '吊顶'
                                },
                                {
                                    code: 'IDBT',
                                    name: '浴缸'
                                },
                                {
                                    code: 'IDWS',
                                    name: '盥洗盆'
                                },
                                {
                                    code: 'IDUR',
                                    name: '小便器'
                                },
                                {
                                    code: 'IDTL',
                                    name: '坐便器'
                                },
                                {
                                    code: 'IDSP',
                                    name: '蹲便器'
                                },
                                {
                                    code: 'IDSK',
                                    name: '洗碗槽'
                                },
                                {
                                    code: 'IDHD',
                                    name: '干手机'
                                }
                            ]
                        },
                        {
                            code: 'GD',
                            name: '梁',
                            content: []
                        },
                        {
                            code: 'FL',
                            name: '楼板',
                            content: []
                        },
                        {
                            code: 'FD',
                            name: '基础',
                            content: [
                                {
                                    code: 'FDPN',
                                    name: '基础板'
                                },
                                {
                                    code: 'FDPL',
                                    name: '基础桩'
                                },
                                {
                                    code: 'FDGD',
                                    name: '基础梁'
                                },
                                {
                                    code: 'FDED',
                                    name: '基础电梯基坑'
                                },
                                {
                                    code: 'FDCS',
                                    name: '基础垫层'
                                },
                                {
                                    code: 'FDCP',
                                    name: '基础集水坑'
                                },
                                {
                                    code: 'FDAA',
                                    name: '基础抗浮锚杆'
                                },
                                {
                                    code: 'FDWB',
                                    name: '基础防水板'
                                }
                            ]
                        },
                        {
                            code: 'DR',
                            name: '门',
                            content: []
                        },
                        {
                            code: 'CW',
                            name: '幕墙',
                            content: [
                                {
                                    code: 'CWPN',
                                    name: '幕墙嵌板'
                                },
                                {
                                    code: 'CWKL',
                                    name: '幕墙龙骨'
                                },
                                {
                                    code: 'CWCP',
                                    name: '幕墙组件'
                                }
                            ]
                        },
                        {
                            code: 'CL',
                            name: '柱',
                            content: []
                        },
                        {
                            code: 'AW',
                            name: '雨蓬',
                            content: []
                        },
                        {
                            code: 'WN',
                            name: '窗',
                            content: []
                        },
                        {
                            code: 'WL',
                            name: '墙',
                            content: [
                                {
                                    code: 'WLIL',
                                    name: '墙保温层'
                                },
                                {
                                    code: 'WLEP',
                                    name: '墙预埋件'
                                },
                                {
                                    code: 'WLCT',
                                    name: '墙涂层'
                                },
                                {
                                    code: 'WLBD',
                                    name: '墙体'
                                }
                            ]
                        },
                        {
                            code: 'TR',
                            name: '桁架',
                            content: []
                        },
                        {
                            code: 'SW',
                            name: '楼梯',
                            content: [
                                {
                                    code: 'SWBD',
                                    name: '楼梯主体'
                                },
                                {
                                    code: 'SWAR',
                                    name: '楼梯扶手'
                                },
                                {
                                    code: 'SWRW',
                                    name: '楼梯坡道'
                                }
                            ]
                        }
                    ]
                },
                {
                    code: 'AC',
                    name: '空调专业',
                    content: [
                        {
                            code: 'KL',
                            name: '厨房排油烟系统',
                            content: [
                                {
                                    code: 'KLIO',
                                    name: '厨房风口'
                                },
                                {
                                    code: 'KLAP',
                                    name: '油烟净化器'
                                },
                                {
                                    code: 'KLSF',
                                    name: '厨房风机'
                                }
                            ]
                        },
                        {
                            code: 'CH',
                            name: '中央供热系统',
                            content: [
                                {
                                    code: 'CHCL',
                                    name: '供热集水器'
                                },
                                {
                                    code: 'CHCF',
                                    name: '供热定压补水装置'
                                },
                                {
                                    code: 'CHCD',
                                    name: '供热水加药装置'
                                },
                                {
                                    code: 'CHCB',
                                    name: '供热燃煤锅炉'
                                },
                                {
                                    code: 'CHBF',
                                    name: '生物质炊暖炉'
                                },
                                {
                                    code: 'CHWT',
                                    name: '供热水箱'
                                },
                                {
                                    code: 'CHVD',
                                    name: '供热真空脱气机'
                                },
                                {
                                    code: 'CHTU',
                                    name: '供热全程水处理仪'
                                },
                                {
                                    code: 'CHSD',
                                    name: '供热软化水装置'
                                },
                                {
                                    code: 'CHHP',
                                    name: '供热水泵'
                                },
                                {
                                    code: 'CHHE',
                                    name: '供热换热器'
                                },
                                {
                                    code: 'CHGB',
                                    name: '供热燃气锅炉'
                                },
                                {
                                    code: 'CHFP',
                                    name: '供热补水泵'
                                },
                                {
                                    code: 'CHFB',
                                    name: '供热燃油锅炉'
                                },
                                {
                                    code: 'CHEB',
                                    name: '供热电锅炉'
                                },
                                {
                                    code: 'CHDB',
                                    name: '供热分水器'
                                }
                            ]
                        },
                        {
                            code: 'CC',
                            name: '中央供冷系统',
                            content: [
                                {
                                    code: 'CCHE',
                                    name: '供冷换热器'
                                },
                                {
                                    code: 'CCGP',
                                    name: '供冷乙二醇泵'
                                },
                                {
                                    code: 'CCGH',
                                    name: '空调地源热泵',
                                    content: [
                                        {
                                            code: 'CCGHBP',
                                            name: '地埋管'
                                        }
                                    ]
                                },
                                {
                                    code: 'CCFP',
                                    name: '供冷补水泵'
                                },
                                {
                                    code: 'CCDB',
                                    name: '供冷分水器'
                                },
                                {
                                    code: 'CCCP',
                                    name: '供冷冷冻水泵'
                                },
                                {
                                    code: 'CCCL',
                                    name: '供冷集水器'
                                },
                                {
                                    code: 'CCCF',
                                    name: '供冷定压补水装置'
                                },
                                {
                                    code: 'CCCD',
                                    name: '供冷水加药装置'
                                },
                                {
                                    code: 'CCCC',
                                    name: '离心式冷水机组'
                                },
                                {
                                    code: 'CCAH',
                                    name: '空调空气源热泵'
                                },
                                {
                                    code: 'CCAC',
                                    name: '吸收式冷水机组'
                                },
                                {
                                    code: 'CCWT',
                                    name: '供冷水箱'
                                },
                                {
                                    code: 'CCWH',
                                    name: '空调水源热泵'
                                },
                                {
                                    code: 'CCVD',
                                    name: '供冷真空脱气机'
                                },
                                {
                                    code: 'CCTU',
                                    name: '供冷全程水处理仪'
                                },
                                {
                                    code: 'CCST',
                                    name: '蓄冷热槽'
                                },
                                {
                                    code: 'CCSD',
                                    name: '供冷软化水装置'
                                },
                                {
                                    code: 'CCSC',
                                    name: '螺杆式冷水机组'
                                },
                                {
                                    code: 'CCOT',
                                    name: '冷却塔'
                                },
                                {
                                    code: 'CCOP',
                                    name: '供冷冷却水泵'
                                }
                            ]
                        },
                        {
                            code: 'AT',
                            name: '空调末端系统',
                            content: [
                                {
                                    code: 'ATRD',
                                    name: '散热器'
                                },
                                {
                                    code: 'ATPC',
                                    name: '空调静压箱'
                                },
                                {
                                    code: 'ATMF',
                                    name: '空调消声器'
                                },
                                {
                                    code: 'ATIO',
                                    name: '空调风口'
                                },
                                {
                                    code: 'ATHD',
                                    name: '空调加湿器'
                                },
                                {
                                    code: 'ATFU',
                                    name: '新风机组'
                                },
                                {
                                    code: 'ATFH',
                                    name: '地板采暖设备'
                                },
                                {
                                    code: 'ATFC',
                                    name: '风机盘管'
                                },
                                {
                                    code: 'ATFA',
                                    name: '地板空调器'
                                },
                                {
                                    code: 'ATCA',
                                    name: '定风量箱'
                                },
                                {
                                    code: 'ATAH',
                                    name: '空调机组'
                                },
                                {
                                    code: 'ATVR',
                                    name: '变频多联机'
                                },
                                {
                                    code: 'ATVO',
                                    name: '变频多联机室外机'
                                },
                                {
                                    code: 'ATVI',
                                    name: '变频多联机室内机'
                                },
                                {
                                    code: 'ATVA',
                                    name: '变风量箱'
                                },
                                {
                                    code: 'ATSA',
                                    name: '分体空调'
                                }
                            ]
                        },
                        {
                            code: 'AD',
                            name: '空调人防系统',
                            content: [
                                {
                                    code: 'ADSF',
                                    name: '人防风机'
                                },
                                {
                                    code: 'ADIO',
                                    name: '人防风口'
                                },
                                {
                                    code: 'ADFD',
                                    name: '滤毒除湿机'
                                }
                            ]
                        },
                        {
                            code: 'VT',
                            name: '通风系统',
                            content: [
                                {
                                    code: 'VTSF',
                                    name: '通风风机'
                                },
                                {
                                    code: 'VTIO',
                                    name: '通风风口'
                                },
                                {
                                    code: 'VTDO',
                                    name: '通风除味装置'
                                },
                                {
                                    code: 'VTCP',
                                    name: '通风控制面板'
                                },
                                {
                                    code: 'VTAP',
                                    name: '空气净化器'
                                },
                                {
                                    code: 'VTAC',
                                    name: '热风幕'
                                }
                            ]
                        }
                    ]
                }
            ],
            form: {
                dict: []
            }
        }
    },
    methods: {
        validateDict(rule, value, cb) {
            if (value.length < 4) {
                cb(new Error('请选到第四级(可能本设备没有信息点)'))
            } else {
                cb()
            }
        },
        handleChange() {},
        handleItemChange() {}
    }
}
</script>

<style>
</style>
