SOURCE

let data = [
    {
        "key": "CASE_XS_SLA",
        "title": "立案、管辖、回避",
        "children": [
            {
                "key": "CASE_XS_AQWS",
                "title": "案前文书",
                "children": [
                    {
                        "key": "CASE_AG_QLBJ",
                        "title": "接报警登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_AQ_ZJCL",
                        "title": "案前证据材料",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_SA",
                "title": "案件受理",
                "children": [
                    {
                        "key": "CASE_XZ_SADJB",
                        "title": "受案登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SAHZ",
                        "title": "受案回执",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_JSZJQD",
                        "title": "接受证据材料清单",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_LABYLA",
                "title": "立案/不予立案",
                "children": [
                    {
                        "key": "CASE_XS_CQLABGS",
                        "title": "呈请立案报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_LAGZS",
                        "title": "立案告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_LAJDS",
                        "title": "立案决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBYLABGS",
                        "title": "呈请不予立案报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BYLATZS",
                        "title": "不予立案通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQSMBYLALYBGS",
                        "title": "呈请说明不予立案理由报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BLALYSMS",
                        "title": "不立案理由说明书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQYCLASCQXBGS",
                        "title": "呈请延长立案审查期限报告书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_AJGX",
                "title": "案件管辖",
                "children": [
                    {
                        "key": "CASE_XS_NBYJAJTZS",
                        "title": "内部移交案件通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQNBYJAJBGS",
                        "title": "呈请内部移交案件报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZDGXBGS",
                        "title": "呈请指定管辖报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZDGXJDS",
                        "title": "指定管辖决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQYSAJBGS",
                        "title": "呈请移送案件报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_YSAJTZS",
                        "title": "移送案件通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_HB",
                "title": "回避",
                "children": [
                    {
                        "key": "CASE_XS_CQSQ_BHSQHBBGS",
                        "title": "呈请申请/驳回申请回避报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_HB_BHSQHBJDS",
                        "title": "回避/驳回申请回避决定书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_LSCYSS",
        "title": "律师参与刑事诉讼文书",
        "children": [
            {
                "key": "CASE_XS_LSCYXSSSWS",
                "title": "律师参与刑事诉讼文书",
                "children": [
                    {
                        "key": "CASE_XS_CQTGFLYZBGS",
                        "title": "呈请提供法律援助报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TGFLYZTZS",
                        "title": "提供法律援助通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_HJFZXYRSQB",
                        "title": "会见犯罪嫌疑人申请表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZYHJFZXYRTZJDS",
                        "title": "准予会见犯罪嫌疑人通知决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BZYHJFZXYRJDS",
                        "title": "不准予会见犯罪嫌疑人决定书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_QZCS",
        "title": "强制措施",
        "children": [
            {
                "key": "CASE_XS_XSJL",
                "title": "刑事拘留",
                "children": [
                    {
                        "key": "CASE_XS_CQJLBGS",
                        "title": "呈请拘留报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JLZ",
                        "title": "拘留证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JLTZS",
                        "title": "拘留通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XJZSGZS",
                        "title": "刑拘直诉告知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_JCCX",
                "title": "拘传传讯",
                "children": [
                    {
                        "key": "CASE_XS_CQJCBGS",
                        "title": "呈请拘传报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JCZ",
                        "title": "拘传证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCXBGS",
                        "title": "呈请传讯报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CXTZS",
                        "title": "传讯通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_QBHS",
                "title": "取保候审",
                "children": [
                    {
                        "key": "CASE_XS_CQQBHSBGS",
                        "title": "呈请取保候审报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_QBHSJDZXTZS",
                        "title": "取保候审决定书、执行通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_QBHSBZS",
                        "title": "取保候审保证书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SQBZJTZS",
                        "title": "收取保证金通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BCZJQD",
                        "title": "保存证件清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQTHBZJBGS",
                        "title": "呈请退还保证金报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_THBZJJDTZS",
                        "title": "退还保证金决定通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQMSBZJBGS",
                        "title": "呈请没收保证金报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_MSBZJJDTZS",
                        "title": "没收保证金决定通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BZRZGSCQK",
                        "title": "保证人资格审查情况",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQDBZRFKBGS",
                        "title": "呈请对保证人罚款报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DBZRFKJDTZS",
                        "title": "对保证人罚款决定通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZLJJHGBGS",
                        "title": "呈请责令具结悔过报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZLJJHGBGS",
                        "title": "责令具结悔过报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZLJJHGJDS",
                        "title": "责令具结悔过决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJCQBHSBGS",
                        "title": "呈请解除取保候审报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JCQBHSJDTZS",
                        "title": "解除取保候审决定书、通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BQBHSRYWGZS",
                        "title": "被取保候审人义务告知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_JSJZ",
                "title": "监视居住",
                "children": [
                    {
                        "key": "CASE_XS_CQJSJZBGS",
                        "title": "呈请监视居住报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JSJZJDZXTZS",
                        "title": "监视居住决定书、执行通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZDJSJSJZTZS",
                        "title": "指定居所监视居住通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJCJSJZBGS",
                        "title": "呈请解除监视居住报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JCJSJZJDTZS",
                        "title": "解除监视居住决定通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_DB",
                "title": "逮捕",
                "children": [
                    {
                        "key": "CASE_XS_CQTQPZDBBGS",
                        "title": "呈请提请批准逮捕报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TQPZDBS",
                        "title": "提请批准逮捕书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQQFDBBGS",
                        "title": "呈请签发逮捕报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_PZDBJDS",
                        "title": "批准逮捕决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BPZDBJDS",
                        "title": "不批准逮捕决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DBZ",
                        "title": "逮捕证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DBTZS",
                        "title": "逮捕通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBGDBCSBGS",
                        "title": "呈请变更逮捕措施报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BGDBCSTZS",
                        "title": "变更逮捕措施通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_SFBGQZCS",
                "title": "释放变更强制措施",
                "children": [
                    {
                        "key": "CASE_XS_QZCSZDJCBB",
                        "title": "强制措施自动解除报备",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBYSFBGS",
                        "title": "呈请不予释放/变更强制措施报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BYSFBGQZCSTZS",
                        "title": "不予释放/变更强制措施",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQSFBGS",
                        "title": "呈请释放报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SFTZS",
                        "title": "释放通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SFZMS",
                        "title": "释放证明书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_ZCJY",
                "title": "侦查羁押",
                "children": [
                    {
                        "key": "CASE_XS_RFCSCPB",
                        "title": "人犯出所呈批表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBGJYQXBGS",
                        "title": "呈请变更羁押期限报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BGJYQXTZS",
                        "title": "变更羁押期限通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQTQPZYCZCJYQXBGS",
                        "title": "呈请提请批准延长侦查羁押期限报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TQPZYCZCJYQXYJS",
                        "title": "提请批准延长侦查羁押期限意见书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJS_ZXJSZCJYQXBGS",
                        "title": "呈请计算/重新计算侦查羁押期限报告书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_QT",
                "title": "其他",
                "children": [
                    {
                        "key": "CASE_XS_DKYJTFCJSQ",
                        "title": "押解犯罪嫌疑人乘坐民航班机审批表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_YJFZXYRCZMHBJSPB",
                        "title": "押解犯罪嫌疑人乘坐民航班机审批表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XZYJFZXYRCZMHBJTZS",
                        "title": "协助押解犯罪嫌疑人乘坐民航班机通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZXBQBHSRLKBGS",
                        "title": "呈请准许被取保候审人离开所居市县报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZXBQBHSRLKJDS",
                        "title": "准许被取保候审人离开所居市县决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_RSJKJCB",
                        "title": "入所健康检查表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_HYZ",
                        "title": "换押证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJZGLGYSPB",
                        "title": "呈请集中隔离关押审批表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZYRYJBQKDJB",
                        "title": "在押人员基本情况登记表",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_ZCQZ",
        "title": "侦查取证",
        "children": [
            {
                "key": "CASE_XS_DCXWXW",
                "title": "调查询问讯问",
                "children": [
                    {
                        "key": "CASE_XS_CQCHBGS",
                        "title": "呈请传唤报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CHZ",
                        "title": "传唤证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TXTJZ",
                        "title": "提讯提解证",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XWBL",
                        "title": "讯问笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XWBL1",
                        "title": "询问笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XW_XWBL",
                        "title": "询问/讯问笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_FZXYRSSQLYWGZS",
                        "title": "犯罪嫌疑人诉讼权利义务告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BHRSSQLYWGZS",
                        "title": "被害人诉讼权利义务告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZRSSQLYWGZS",
                        "title": "证人诉讼权利义务告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQFDDLRDC",
                        "title": "呈请未成年人法定代理人到场报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_WCNRFDDLRDCTZS",
                        "title": "未成年人法定代理人到场通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQXWBGS",
                        "title": "呈请询问报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XWTZS",
                        "title": "询问通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_AQ_JXPWTZS",
                        "title": "继续盘问通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_AQ_DCPWJCBL",
                        "title": "继续盘问笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JCBL",
                        "title": "当场盘问、检查笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQYCCHSJBGS",
                        "title": "呈请延长传唤时间报告书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_ZCCS",
                "title": "侦查措施",
                "children": [
                    {
                        "key": "CASE_XS_XCKYBL",
                        "title": "现场勘验笔录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJPSTBGS",
                        "title": "呈请解剖尸体报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JPSTTZS",
                        "title": "解剖尸体通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQDQZJBGS",
                        "title": "呈请调取证据报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DQZJTZS",
                        "title": "调取证据通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DQZJQD",
                        "title": "调取证据清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQSCBGS",
                        "title": "呈请搜查报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SCZ",
                        "title": "搜查证",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_SACWCL",
                "title": "涉案财物处理",
                "children": [
                    {
                        "key": "CASE_XS_BDQJDCCHCXDJB",
                        "title": "被盗抢机动车查获撤销登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQKYBGS",
                        "title": "呈请扣押报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_KYJDS",
                        "title": "扣押决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_KYWPQD",
                        "title": "扣押清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJCKYBGS",
                        "title": "呈请解除扣押报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DJBCQD",
                        "title": "登记保存清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCFDBGS",
                        "title": "呈请查封/解除查封报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CFJDS",
                        "title": "查封决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CFJCCFQD",
                        "title": "查封/解除查封清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQXZCFDBGS",
                        "title": "呈请协助查封/解除查封报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CFTZS",
                        "title": "协助查封/解除查封通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQFHSPBGS",
                        "title": "呈请发还审批报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_FHQD",
                        "title": "发还清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SAYSQD",
                        "title": "随案移送清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XHQD",
                        "title": "销毁清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQKY_JCKYYJ_DBBGS",
                        "title": "呈请扣押/解除扣押邮件/电报报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_KY_JCKYYJ_DBTZS",
                        "title": "扣押/解除扣押邮件/电报通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCXCCBGS",
                        "title": "呈请查询财产报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XZCXCCTZS",
                        "title": "协助查询财产通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQDJCCBGS",
                        "title": "呈请冻结/解除冻结财产报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DJJCDJCCTZS",
                        "title": "协助冻结/解除冻结财产通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_XSJD",
                "title": "刑事鉴定",
                "children": [
                    {
                        "key": "CASE_XZ_JDRDWTS",
                        "title": "鉴定/认定委托书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJDPQBGS",
                        "title": "呈请鉴定聘请报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JDPQS",
                        "title": "鉴定聘请书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQJDBGS",
                        "title": "呈请鉴定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JDYJTSZ",
                        "title": "鉴定意见通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_BYCXJDTZS",
                        "title": "不予重新鉴定通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCXJDBGS",
                        "title": "呈请重新鉴定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBYBCJDCXJDBGS",
                        "title": "呈请不准予补充鉴定/重新鉴定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BYBCJDCXJDJDS",
                        "title": "不准予补充鉴定/重新鉴定决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZYBCJDCXJDBGS",
                        "title": "呈请准予补充鉴定/重新鉴定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZYBCJDCXJDJDS",
                        "title": "准予补充鉴定/重新鉴定决定书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_TJXC",
                "title": "通缉协查",
                "children": [
                    {
                        "key": "CASE_XS_CQTJBGS",
                        "title": "呈请通缉报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TJL",
                        "title": "通缉令",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCXTJLBGS",
                        "title": "呈请撤销通缉令报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CXTJLTZ",
                        "title": "撤销通缉令通知",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBAXZBGS",
                        "title": "呈请办案协作报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BAXZH",
                        "title": "办案协作函",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_ZCZJ",
        "title": "侦查终结",
        "children": [
            {
                "key": "CASE_XS_ZJQS",
                "title": "终结/起诉",
                "children": [
                    {
                        "key": "CASE_XS_CQPABGS",
                        "title": "呈请破案报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQCXAJBGS",
                        "title": "呈请撤销案件报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CXAJJDS",
                        "title": "撤销案件决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZZZCBGS",
                        "title": "呈请终止侦查报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZZZCJDS",
                        "title": "终止侦查决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZDAJJJZCZJTZS",
                        "title": "重大案件即将侦查终结通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZDAJXWHFXHCPCFFZJJGGZS",
                        "title": "重大案件讯问合法性核查排除非法证据结果告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZCZJBGS",
                        "title": "呈请侦查终结报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_QSYJS",
                        "title": "起诉意见书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQBCZCBGS",
                        "title": "呈请补充侦查报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BCZCBG",
                        "title": "补充侦查报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQYSQSBGS",
                        "title": "呈请移送起诉报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_MSWFSDYJS",
                        "title": "没收违法所得意见书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQMSWFSDBGS",
                        "title": "呈请没收违法所得报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_MSWFSDFFCWQD",
                        "title": "违法所得清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQQZYLBGS",
                        "title": "呈请强制医疗报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_QZYLYJS",
                        "title": "强制医疗意见书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZZAJTZS",
                        "title": "终止案件通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_ZZAJDCJDS",
                        "title": "终止案件调查决定书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_ZXWS",
        "title": "执行文书",
        "children": [
            {
                "key": "CASE_XS_ZXWS_TWO",
                "title": "执行文书",
                "children": [
                    {
                        "key": "CASE_XS_CQJX_JSBGS",
                        "title": "呈请减刑/假释报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JX_JSJYS",
                        "title": "减刑/假释建议书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JSZMS",
                        "title": "假释证明书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZYJWZXBGS",
                        "title": "呈请暂予监外执行报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZYJWZXJDS",
                        "title": "暂予监外执行决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SJZXTZS",
                        "title": "收监执行通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQZXJYZFHJBGS",
                        "title": "呈请准许拘役罪犯回家报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_ZXJYZFHJJDS",
                        "title": "准许拘役罪犯回家决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XMSFZMS",
                        "title": "刑满释放证明书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_FYFH",
        "title": "复议复核",
        "children": [
            {
                "key": "CASE_XS_FYFH_JF",
                "title": "复议复核(检法)",
                "children": [
                    {
                        "key": "CASE_XS_CQYQFYBGS",
                        "title": "呈请要求复议报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_YQFYYJS",
                        "title": "要求复议意见书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQTQFHBGS",
                        "title": "呈请提请复核报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_TQFHYJS",
                        "title": "提请复核意见书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_FYFH_GA",
                "title": "复议复核(公安)",
                "children": [
                    {
                        "key": "CASE_XS_CQFHBGS",
                        "title": "呈请维持刑事复议决定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQFYBGS",
                        "title": "呈请复议决定报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_XSFYJDS",
                        "title": "刑事复议决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_CQYCXSFYBGS",
                        "title": "呈请延长刑事复议/复核期限报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_YCQXTZS",
                        "title": "延长刑事复议/复核期限通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_CQZZXSFYBGS",
                        "title": "呈请终止刑事复议/复核程序报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_XSFHJDS",
                        "title": "刑事复核决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XSFY_SQBCCLTZS",
                        "title": "刑事复议/复核申请补充材料通知书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_QTWS",
        "title": "其他文书",
        "children": [
            {
                "key": "CASE_XS_TYWS",
                "title": "通用文书",
                "children": [
                    {
                        "key": "CASE_XS_XZAJQKTBYSH",
                        "title": "党员/国家工作人员刑事案件情况通报、移送函",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_WPAJCLSPB",
                        "title": "未破案件处理审批表(刑事)",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_YDJYSPB",
                        "title": "异地羁押审批表",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_DHCXJL",
                        "title": "电话查询记录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_XSHJXYS",
                        "title": "刑事和解协议书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_SWTZS",
                        "title": "死亡通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_BASMZHJG",
                        "title": "抓获经过",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_LSYJ",
                        "title": "律师意见",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JZPJAXX",
                        "title": "刑事-经侦破结案信息",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_KSSLJYS",
                        "title": "快速审理建议书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_QWXSAJKSSLDJB",
                        "title": "轻微刑事案件快速审理登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_XZ_XDXCJCBGS",
                        "title": "吸毒现场检测报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_GG_XDXCJCBGS_MF",
                        "title": "吸毒现场检测报告书(含毛发)",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CQTYBGS",
                        "title": "呈请通用报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_GG_ZJCL",
                        "title": "证据材料",
                        "children": []
                    },
                    {
                        "key": "CASE_AQ_BAQRYXX",
                        "title": "办案区人员信息登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_GG_XYRRXX",
                        "title": "嫌疑人员信息登记表",
                        "children": []
                    },
                    {
                        "key": "CASE_GG_WSJC",
                        "title": "文书纠错",
                        "children": []
                    },
                    {
                        "key": "CASE_GG_WXBASPDJ",
                        "title": "网下办案审批登记表",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_GFXWS",
                "title": "规范性文书",
                "children": [
                    {
                        "key": "CASE_XZ_SDHZ",
                        "title": "送达回执",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_GZS",
                        "title": "通用告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_CAGZS",
                        "title": "撤案告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_PAGZS",
                        "title": "破案告知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_JTLWS",
                "title": "交通类文书",
                "children": [
                    {
                        "key": "CASE_XS_CQTYBGS_JJ",
                        "title": "呈请通用报告书(交警)",
                        "children": []
                    },
                    {
                        "key": "CASE_JT_BCQJCXSQZCSQKGZS",
                        "title": "机关事业单位工作人员被采取/解除刑事强制措施情况告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DLJTSGYLWPQD",
                        "title": "道路交通事故遗留物品清单",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DLJTSGCLGZJL",
                        "title": "道路交通事故处理工作记录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_THJL",
                        "title": "谈话记录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DLJTSGRDS",
                        "title": "道路交通事故认定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_GAJTGLCXJDS",
                        "title": "公安交通管理撤销决定书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_JGSYDWGZRYSXFZCXAJ_ZZZCQKGZS",
                        "title": "机关事业单位工作人员涉嫌犯罪撤销案件/终止侦查情况告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_AJJZML",
                        "title": "案件卷宗目录",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DLJTSGSXLBGS",
                        "title": "道路交通事故时限类报告书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_DLJTSGSHJZJJGZS",
                        "title": "道路交通事故社会救助基金告知书",
                        "children": []
                    },
                    {
                        "key": "CASE_JT_DLJTSGSTCLTZS",
                        "title": "道路交通事故尸体处理通知书",
                        "children": []
                    }
                ]
            },
            {
                "key": "CASE_XS_CRJL",
                "title": "出入境类",
                "children": [
                    {
                        "key": "CASE_XS_CXFDBPZCJRYTBBATZS",
                        "title": "撤销法定不批准出境人员通报备案通知书",
                        "children": []
                    },
                    {
                        "key": "CASE_XS_FDBPZCJRYTBBATZS",
                        "title": "法定不批准出境人员通报备案通知书",
                        "children": []
                    }
                ]
            }
        ]
    },
    {
        "key": "CASE_XS_WZLX",
        "title": "未知类型",
        "children": []
    }
]

// 过滤data 如果一级满足就返回当前及其所有的子
// 如果二级满足就返回当前 及其所有的字  及自己所属的父
// 依次类推
const rebuildData = (value, arr) => {
    let newarr = [];
    arr.forEach(element => {
        if (element.title.includes(value)) {
            newarr.push(element);
        } else if (element.children && element.children.length) {
            const ab = rebuildData(value, element.children);
            const obj = {
                ...element,
                children: ab
            };
            if (ab && ab.length) {
                newarr.push(obj);
            }
        }
    });
    return newarr;
};
console.log(rebuildData("未知", data))
console 命令行工具 X clear

                    
>
console