iview 做tree树结构3级结构,绑定模拟接口数据

iview 做(Tree)树结构3级结构,模拟接口数据

先上效果图

后台接口数据返回是这个格式

data2:[

{

"line": { "lineId": "02", "lineName": "2号线", "lineSname": null, "lineEname": null, "stationSName": null, "stationEName": null, "stationNum": 0, "openDate": null, "bulidCompany": null, "manageNodeid": "01010200100000001", "paProtocolId": "02" },

"stationInfo": [

{

"stationInfo": { "tccStationId": "0218", "stationSname": "积水潭", "stationFname": "积水潭", "stationEname": "Jishuitan",                                       "tccLineId": "02", "paProtocolId": "0218", "tccLineName": null, "

猜你喜欢

转载自blog.csdn.net/qq_41646249/article/details/90489345
今日推荐