首页 新闻 搜索 专区 学院

给一个子id,获取它在树中的id的数组

0
[待解决问题]

[{"title":"中船重工七一九所","label":"中船重工七一九所","value":1,"data":{"id":1,"parentId":0,"children":[{"id":28,"createBy":404,"createDate":"2018-06-28 16:19:54","updateBy":1,"updateDate":"2018-07-09 15:56:17","parentId":1,"children":[{"id":62,"createBy":1,"createDate":"2018-07-09 17:42:21","updateBy":1,"updateDate":"2018-07-09 17:42:21","parentId":28,"groupName":"二支党","groupMember":0,"groupCode":"100022","abstractInfo":"二支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15623565986","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},{"id":63,"createBy":1,"createDate":"2018-07-09 17:43:02","updateBy":1,"updateDate":"2018-07-09 17:43:02","parentId":28,"groupName":"三支党","groupMember":0,"groupCode":"100023","abstractInfo":"三支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15232569852","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},{"id":61,"createBy":1,"createDate":"2018-07-09 17:41:25","updateBy":1,"updateDate":"2018-07-09 17:41:25","parentId":28,"groupName":"一支党","groupMember":0,"groupCode":"100021","abstractInfo":"一支党","address":"[\"湖北省\",\"武汉市\",\"江汉区\"]","mobile":"15854587454","establishTime":"2018-07-02 00:00:00","splicingAddress":"湖北省/武汉市/江汉区/","overHead":"0","parentIds":"[1,28]"}],"groupName":"海洋核动力平台研究室党总","groupMember":0,"groupCode":"3001","abstractInfo":"中船重工七一九所 - 机关-海洋核动力平台研究室党总","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,4]"},{"id":34,"createBy":404,"createDate":"2018-06-28 16:23:41","updateBy":404,"updateDate":"2018-06-28 16:23:41","parentId":1,"groupName":"华海通用电气有限公司党支部","groupMember":0,"groupCode":"4005","abstractInfo":"中船重工七一九所 - 民品三产--华海通用电气有限公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":27,"createBy":404,"createDate":"2018-06-28 16:19:07","updateBy":404,"updateDate":"2018-06-28 16:19:07","parentId":1,"groupName":"机关八党支部","groupMember":0,"groupCode":"2008","abstractInfo":"中船重工七一九所 - 机关-机关八党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":21,"createBy":404,"createDate":"2018-06-28 16:17:18","updateBy":404,"updateDate":"2018-06-28 16:17:18","parentId":1,"groupName":"机关二党支部","groupMember":0,"groupCode":"2002","abstractInfo":"中船重工七一九所 - 机关-机关二党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":25,"createBy":404,"createDate":"2018-06-28 16:18:32","updateBy":404,"updateDate":"2018-06-28 16:18:32","parentId":1,"groupName":"机关六党支部","groupMember":0,"groupCode":"2006","abstractInfo":"中船重工七一九所 - 机关-机关六党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":26,"createBy":404,"createDate":"2018-06-28 16:18:46","updateBy":404,"updateDate":"2018-06-28 16:18:46","parentId":1,"groupName":"机关七党支部","groupMember":0,"groupCode":"2007","abstractInfo":"中船重工七一九所 - 机关-机关七党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":22,"createBy":404,"createDate":"2018-06-28 16:17:31","updateBy":404,"updateDate":"2018-06-28 16:17:31","parentId":1,"groupName":"机关三党支部","groupMember":0,"groupCode":"2003","abstractInfo":"中船重工七一九所 - 机关-机关三党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":23,"createBy":404,"createDate":"2018-06-28 16:17:43","updateBy":404,"updateDate":"2018-06-28 16:17:43","parentId":1,"groupName":"机关四党支部","groupMember":0,"groupCode":"2004","abstractInfo":"中船重工七一九所 - 机关-机关四党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":24,"createBy":404,"createDate":"2018-06-28 16:18:15","updateBy":404,"updateDate":"2018-06-28 16:18:15","parentId":1,"groupName":"机关五党支部","groupMember":0,"groupCode":"2005","abstractInfo":"中船重工七一九所 - 机关-机关五党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":20,"createBy":404,"createDate":"2018-06-28 16:17:02","updateBy":404,"updateDate":"2018-06-28 16:17:02","parentId":1,"groupName":"机关一党支部","groupMember":0,"groupCode":"2001","abstractInfo":"中船重工七一九所 - 机关-机关一党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},{"id":37,"createBy":404,"createDate":"2018-06-28 16:25:01","updateBy":404,"updateDate":"2018-06-28 16:25:01","parentId":1,"groupName":"夹江现场工作组临时党支部","groupMember":0,"groupCode":"4008","abstractInfo":"中船重工七一九所 - 民品三产--夹江现场工作组临时党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":29,"createBy":404,"createDate":"2018-06-28 16:20:46","updateBy":404,"updateDate":"2018-06-28 16:20:46","parentId":1,"groupName":"离退休社区党总支","groupMember":0,"groupCode":"3002","abstractInfo":"中船重工七一九所 - 机关-离退休社区党总支","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,4]"},{"id":35,"createBy":404,"createDate":"2018-06-28 16:24:03","updateBy":404,"updateDate":"2018-06-28 16:24:03","parentId":1,"groupName":"设备生产中心党支部","groupMember":0,"groupCode":"4006","abstractInfo":"中船重工七一九所 - 民品三产--设备生产中心党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":33,"createBy":404,"createDate":"2018-06-28 16:23:07","updateBy":404,"updateDate":"2018-06-28 16:23:07","parentId":1,"groupName":"特-海党支部","groupMember":0,"groupCode":"4004","abstractInfo":"中船重工七一九所 - 民品三产--特-海党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":36,"createBy":404,"createDate":"2018-06-28 16:24:24","updateBy":404,"updateDate":"2018-06-28 16:24:24","parentId":1,"groupName":"文印中心党支部","groupMember":0,"groupCode":"4007","abstractInfo":"中船重工七一九所 - 民品三产--文印中心党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":30,"createBy":404,"createDate":"2018-06-28 16:21:44","updateBy":404,"updateDate":"2018-06-28 16:21:44","parentId":1,"groupName":"武汉海王机电工程技术公司党支部","groupMember":0,"groupCode":"4001","abstractInfo":"中船重工七一九所 - 民品三产-武汉海王机电工程技术公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":31,"createBy":404,"createDate":"2018-06-28 16:22:12","updateBy":404,"updateDate":"2018-06-28 16:22:12","parentId":1,"groupName":"武汉海王新能源工程技术公司党支部","groupMember":0,"groupCode":"4002","abstractInfo":"中船重工七一九所 - 民品三产-武汉海王新能源工程技术公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},{"id":32,"createBy":404,"createDate":"2018-06-28 16:22:46","updateBy":404,"updateDate":"2018-06-28 16:22:46","parentId":1,"groupName":"中船重工环境公司党支部","groupMember":0,"groupCode":"4003","abstractInfo":"中船重工七一九所 - 民品三产--中船重工环境公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"}],"groupName":"中船重工七一九所","overHead":"0"},"children":[{"title":"海洋核动力平台研究室党总","label":"海洋核动力平台研究室党总","value":28,"data":{"id":28,"createBy":404,"createDate":"2018-06-28 16:19:54","updateBy":1,"updateDate":"2018-07-09 15:56:17","parentId":1,"children":[{"id":62,"createBy":1,"createDate":"2018-07-09 17:42:21","updateBy":1,"updateDate":"2018-07-09 17:42:21","parentId":28,"groupName":"二支党","groupMember":0,"groupCode":"100022","abstractInfo":"二支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15623565986","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},{"id":63,"createBy":1,"createDate":"2018-07-09 17:43:02","updateBy":1,"updateDate":"2018-07-09 17:43:02","parentId":28,"groupName":"三支党","groupMember":0,"groupCode":"100023","abstractInfo":"三支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15232569852","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},{"id":61,"createBy":1,"createDate":"2018-07-09 17:41:25","updateBy":1,"updateDate":"2018-07-09 17:41:25","parentId":28,"groupName":"一支党","groupMember":0,"groupCode":"100021","abstractInfo":"一支党","address":"[\"湖北省\",\"武汉市\",\"江汉区\"]","mobile":"15854587454","establishTime":"2018-07-02 00:00:00","splicingAddress":"湖北省/武汉市/江汉区/","overHead":"0","parentIds":"[1,28]"}],"groupName":"海洋核动力平台研究室党总","groupMember":0,"groupCode":"3001","abstractInfo":"中船重工七一九所 - 机关-海洋核动力平台研究室党总","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,4]"},"children":[{"title":"二支党","label":"二支党","value":62,"data":{"id":62,"createBy":1,"createDate":"2018-07-09 17:42:21","updateBy":1,"updateDate":"2018-07-09 17:42:21","parentId":28,"groupName":"二支党","groupMember":0,"groupCode":"100022","abstractInfo":"二支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15623565986","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},"children":[]},{"title":"三支党","label":"三支党","value":63,"data":{"id":63,"createBy":1,"createDate":"2018-07-09 17:43:02","updateBy":1,"updateDate":"2018-07-09 17:43:02","parentId":28,"groupName":"三支党","groupMember":0,"groupCode":"100023","abstractInfo":"三支党","address":"[\"湖北省\",\"武汉市\",\"武昌区\"]","mobile":"15232569852","establishTime":"2018-07-03 00:00:00","splicingAddress":"湖北省/武汉市/武昌区/","overHead":"0","parentIds":"[1,28]"},"children":[]},{"title":"一支党","label":"一支党","value":61,"data":{"id":61,"createBy":1,"createDate":"2018-07-09 17:41:25","updateBy":1,"updateDate":"2018-07-09 17:41:25","parentId":28,"groupName":"一支党","groupMember":0,"groupCode":"100021","abstractInfo":"一支党","address":"[\"湖北省\",\"武汉市\",\"江汉区\"]","mobile":"15854587454","establishTime":"2018-07-02 00:00:00","splicingAddress":"湖北省/武汉市/江汉区/","overHead":"0","parentIds":"[1,28]"},"children":[]}]},{"title":"华海通用电气有限公司党支部","label":"华海通用电气有限公司党支部","value":34,"data":{"id":34,"createBy":404,"createDate":"2018-06-28 16:23:41","updateBy":404,"updateDate":"2018-06-28 16:23:41","parentId":1,"groupName":"华海通用电气有限公司党支部","groupMember":0,"groupCode":"4005","abstractInfo":"中船重工七一九所 - 民品三产--华海通用电气有限公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"机关八党支部","label":"机关八党支部","value":27,"data":{"id":27,"createBy":404,"createDate":"2018-06-28 16:19:07","updateBy":404,"updateDate":"2018-06-28 16:19:07","parentId":1,"groupName":"机关八党支部","groupMember":0,"groupCode":"2008","abstractInfo":"中船重工七一九所 - 机关-机关八党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关二党支部","label":"机关二党支部","value":21,"data":{"id":21,"createBy":404,"createDate":"2018-06-28 16:17:18","updateBy":404,"updateDate":"2018-06-28 16:17:18","parentId":1,"groupName":"机关二党支部","groupMember":0,"groupCode":"2002","abstractInfo":"中船重工七一九所 - 机关-机关二党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关六党支部","label":"机关六党支部","value":25,"data":{"id":25,"createBy":404,"createDate":"2018-06-28 16:18:32","updateBy":404,"updateDate":"2018-06-28 16:18:32","parentId":1,"groupName":"机关六党支部","groupMember":0,"groupCode":"2006","abstractInfo":"中船重工七一九所 - 机关-机关六党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关七党支部","label":"机关七党支部","value":26,"data":{"id":26,"createBy":404,"createDate":"2018-06-28 16:18:46","updateBy":404,"updateDate":"2018-06-28 16:18:46","parentId":1,"groupName":"机关七党支部","groupMember":0,"groupCode":"2007","abstractInfo":"中船重工七一九所 - 机关-机关七党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关三党支部","label":"机关三党支部","value":22,"data":{"id":22,"createBy":404,"createDate":"2018-06-28 16:17:31","updateBy":404,"updateDate":"2018-06-28 16:17:31","parentId":1,"groupName":"机关三党支部","groupMember":0,"groupCode":"2003","abstractInfo":"中船重工七一九所 - 机关-机关三党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关四党支部","label":"机关四党支部","value":23,"data":{"id":23,"createBy":404,"createDate":"2018-06-28 16:17:43","updateBy":404,"updateDate":"2018-06-28 16:17:43","parentId":1,"groupName":"机关四党支部","groupMember":0,"groupCode":"2004","abstractInfo":"中船重工七一九所 - 机关-机关四党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关五党支部","label":"机关五党支部","value":24,"data":{"id":24,"createBy":404,"createDate":"2018-06-28 16:18:15","updateBy":404,"updateDate":"2018-06-28 16:18:15","parentId":1,"groupName":"机关五党支部","groupMember":0,"groupCode":"2005","abstractInfo":"中船重工七一九所 - 机关-机关五党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"机关一党支部","label":"机关一党支部","value":20,"data":{"id":20,"createBy":404,"createDate":"2018-06-28 16:17:02","updateBy":404,"updateDate":"2018-06-28 16:17:02","parentId":1,"groupName":"机关一党支部","groupMember":0,"groupCode":"2001","abstractInfo":"中船重工七一九所 - 机关-机关一党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,3]"},"children":[]},{"title":"夹江现场工作组临时党支部","label":"夹江现场工作组临时党支部","value":37,"data":{"id":37,"createBy":404,"createDate":"2018-06-28 16:25:01","updateBy":404,"updateDate":"2018-06-28 16:25:01","parentId":1,"groupName":"夹江现场工作组临时党支部","groupMember":0,"groupCode":"4008","abstractInfo":"中船重工七一九所 - 民品三产--夹江现场工作组临时党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"离退休社区党总支","label":"离退休社区党总支","value":29,"data":{"id":29,"createBy":404,"createDate":"2018-06-28 16:20:46","updateBy":404,"updateDate":"2018-06-28 16:20:46","parentId":1,"groupName":"离退休社区党总支","groupMember":0,"groupCode":"3002","abstractInfo":"中船重工七一九所 - 机关-离退休社区党总支","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,4]"},"children":[]},{"title":"设备生产中心党支部","label":"设备生产中心党支部","value":35,"data":{"id":35,"createBy":404,"createDate":"2018-06-28 16:24:03","updateBy":404,"updateDate":"2018-06-28 16:24:03","parentId":1,"groupName":"设备生产中心党支部","groupMember":0,"groupCode":"4006","abstractInfo":"中船重工七一九所 - 民品三产--设备生产中心党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"特-海党支部","label":"特-海党支部","value":33,"data":{"id":33,"createBy":404,"createDate":"2018-06-28 16:23:07","updateBy":404,"updateDate":"2018-06-28 16:23:07","parentId":1,"groupName":"特-海党支部","groupMember":0,"groupCode":"4004","abstractInfo":"中船重工七一九所 - 民品三产--特-海党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"文印中心党支部","label":"文印中心党支部","value":36,"data":{"id":36,"createBy":404,"createDate":"2018-06-28 16:24:24","updateBy":404,"updateDate":"2018-06-28 16:24:24","parentId":1,"groupName":"文印中心党支部","groupMember":0,"groupCode":"4007","abstractInfo":"中船重工七一九所 - 民品三产--文印中心党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"武汉海王机电工程技术公司党支部","label":"武汉海王机电工程技术公司党支部","value":30,"data":{"id":30,"createBy":404,"createDate":"2018-06-28 16:21:44","updateBy":404,"updateDate":"2018-06-28 16:21:44","parentId":1,"groupName":"武汉海王机电工程技术公司党支部","groupMember":0,"groupCode":"4001","abstractInfo":"中船重工七一九所 - 民品三产-武汉海王机电工程技术公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"武汉海王新能源工程技术公司党支部","label":"武汉海王新能源工程技术公司党支部","value":31,"data":{"id":31,"createBy":404,"createDate":"2018-06-28 16:22:12","updateBy":404,"updateDate":"2018-06-28 16:22:12","parentId":1,"groupName":"武汉海王新能源工程技术公司党支部","groupMember":0,"groupCode":"4002","abstractInfo":"中船重工七一九所 - 民品三产-武汉海王新能源工程技术公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]},{"title":"中船重工环境公司党支部","label":"中船重工环境公司党支部","value":32,"data":{"id":32,"createBy":404,"createDate":"2018-06-28 16:22:46","updateBy":404,"updateDate":"2018-06-28 16:22:46","parentId":1,"groupName":"中船重工环境公司党支部","groupMember":0,"groupCode":"4003","abstractInfo":"中船重工七一九所 - 民品三产--中船重工环境公司党支部","address":"[\"北京市\",\"市辖区\",\"东城区\"]","mobile":"15854587878","establishTime":"2018-06-01 00:00:00","splicingAddress":"北京市/市辖区/东城区/","overHead":"0","parentIds":"[1,5]"},"children":[]}]}]

给定一个value例如位value=61;
我们要获取到的是,每一个节点都有被选中的可能
values=[1,28,61]
一叶*秋的主页 一叶*秋 | 初学一级 | 园豆:8
提问于:2018-07-11 14:35
< >
分享
所有回答(2)
0

无限极分类 貌似 得用递归吧

思念断了线 | 园豆:263 (菜鸟二级) | 2018-07-11 15:05

递归没有看懂

支持(0) 反对(0) 一叶*秋 | 园豆:8 (初学一级) | 2018-07-11 15:06

@一叶*秋: 递归是整理无限极分类数据最常用的办法

支持(0) 反对(1) 思念断了线 | 园豆:263 (菜鸟二级) | 2018-07-11 15:09
0

循环匹配

或者 jsonpath

xiaohc | 园豆:23 (初学一级) | 2018-07-12 13:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册