el表格组件 数据结构转换?

这是后端返回的数据

[{

"cloth_type_name": "长袖衬衣",

"data": [

[{

"number": "764484",

"name": "袁帅",

"long_sleeve_shirt_size": "S",

"department": "BIW",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "811950",

"name": "杜玮",

"long_sleeve_shirt_size": "XL",

"department": "BIW-ME",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "737448",

"name": "易日星",

"long_sleeve_shirt_size": "L",

"department": "BIW-ME",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "835578",

"name": "王恒",

"long_sleeve_shirt_size": "M",

"department": "BIW2",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "801495",

"name": "田申甲",

"long_sleeve_shirt_size": "L",

"department": "EHS",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "801488",

"name": "武仲壮",

"long_sleeve_shirt_size": "2XL",

"department": "GA2",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "819553",

"name": "杨文晖",

"long_sleeve_shirt_size": "4XL",

"department": "ITOps",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "820450",

"name": "郑智文",

"long_sleeve_shirt_size": "6XL",

"department": "MO-RDC",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "828544",

"name": "王建华",

"long_sleeve_shirt_size": "XL",

"department": "MO-RDC",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "719622",

"name": "王维伦",

"long_sleeve_shirt_size": "M",

"department": "PC项目控制部",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "725910",

"name": "仝晓帅",

"long_sleeve_shirt_size": "XL",

"department": "PC项目控制部",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "668945",

"name": "冀全星",

"long_sleeve_shirt_size": "2XL",

"department": "R&D",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "742517",

"name": "王佳良",

"long_sleeve_shirt_size": "L",

"department": "R&D",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "770737",

"name": "高亚男",

"long_sleeve_shirt_size": "2XL",

"department": "质量部 ",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "768348",

"name": "谭宇根",

"long_sleeve_shirt_size": "3XL",

"department": "质量部(BMP2-1)",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}]

]

}, {

"cloth_type_name": "冬季工裤",

"data": [

[{

"number": "764484",

"name": "袁帅",

"winter_overalls_size": "S",

"department": "BIW",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "811950",

"name": "杜玮",

"winter_overalls_size": "XL",

"department": "BIW-ME",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "737448",

"name": "易日星",

"winter_overalls_size": "L",

"department": "BIW-ME",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "835578",

"name": "王恒",

"winter_overalls_size": "M",

"department": "BIW2",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "801495",

"name": "田申甲",

"winter_overalls_size": "L",

"department": "EHS",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "801488",

"name": "武仲壮",

"winter_overalls_size": "2XL",

"department": "GA2",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "819553",

"name": "杨文晖",

"winter_overalls_size": "4XL",

"department": "ITOps",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "820450",

"name": "郑智文",

"winter_overalls_size": "6XL",

"department": "MO-RDC",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "828544",

"name": "王建华",

"winter_overalls_size": "XL",

"department": "MO-RDC",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "719622",

"name": "王维伦",

"winter_overalls_size": "M",

"department": "PC项目控制部",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "725910",

"name": "仝晓帅",

"winter_overalls_size": "XL",

"department": "PC项目控制部",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "668945",

"name": "冀全星",

"winter_overalls_size": "2XL",

"department": "R&D",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}, {

"number": "742517",

"name": "王佳良",

"winter_overalls_size": "L",

"department": "R&D",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "770737",

"name": "高亚男",

"winter_overalls_size": "2XL",

"department": "质量部 ",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}],

[{

"number": "768348",

"name": "谭宇根",

"winter_overalls_size": "3XL",

"department": "质量部(BMP2-1)",

"collection_people": "",

"collection_phone": "",

"collection_date": 0

}]

]

}]

怎么转换成el表格组件 数据结构转换? 这种列表数据 表格用的是element的表格组件

以上是 el表格组件 数据结构转换? 的全部内容, 来源链接: utcz.com/p/936931.html

回到顶部