hook项目实例之原始数据形成ant design table表格

简介: hook项目实例之原始数据形成ant design table表格

数据格式

[
  {
    "id": 1,
    "code": "JP",
    "name": "皮夹克",
    "t_base_style": [
      {
        "id": 66,
        "code": "JPAP12019",
        "name": "JPAP12019",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 430,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 66,
            "t_qc_reference_standard": [
              {
                "id": 27,
                "style_id": 66,
                "region_id": 430,
                "size_id": null,
                "standard": 1212
              }
            ]
          }
        ]
      },
      {
        "id": 44,
        "code": "JPQJ2422",
        "name": "JPQJ2422",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 11,
            "code": "内胆包边",
            "name": "内胆包边",
            "style_id": 44,
            "t_qc_reference_standard": []
          },
          {
            "id": 12,
            "code": "领面帽檐",
            "name": "领面帽檐",
            "style_id": 44,
            "t_qc_reference_standard": []
          },
          {
            "id": 13,
            "code": "门襟",
            "name": "门襟",
            "style_id": 44,
            "t_qc_reference_standard": []
          },
          {
            "id": 14,
            "code": "下摆",
            "name": "下摆",
            "style_id": 44,
            "t_qc_reference_standard": []
          },
          {
            "id": 15,
            "code": "帽子",
            "name": "帽子",
            "style_id": 44,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 97,
        "code": "JPLJ9513",
        "name": "JPLJ9513",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 431,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 97,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 112,
        "code": "JPTZS3149",
        "name": "JPTZS3149",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 9,
            "code": "口袋内包边",
            "name": "口袋内包边",
            "style_id": 112,
            "t_qc_reference_standard": []
          },
          {
            "id": 432,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 112,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 63,
        "code": "ZS3148",
        "name": "ZS3148",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 429,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 63,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 150,
        "code": "LJ9541",
        "name": "LJ9541",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 434,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 150,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 152,
        "code": "JPLJ1207",
        "name": "JPLJ1207",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 435,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 152,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 155,
        "code": "JP9562",
        "name": "JP9562",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 436,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 155,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 157,
        "code": "JPLJ9513/202组",
        "name": "JPLJ9513/202组",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 437,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 157,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 169,
        "code": "JPQJ2315",
        "name": "JPQJ2315",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 438,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 169,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 179,
        "code": "JPQJ2320",
        "name": "JPQJ2320",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 439,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 179,
            "t_qc_reference_standard": []
          }
        ]
      },
      {
        "id": 140,
        "code": "JP82131",
        "name": "JP82131",
        "category_id": 1,
        "t_base_part_region": [
          {
            "id": 433,
            "code": "下摆袖口",
            "name": "下摆袖口",
            "style_id": 140,
            "t_qc_reference_standard": []
          }
        ]
      }
    ]
  }
]
相关文章
|
数据处理 数据格式
hook项目实例之原始数据形成ant design table表格 2
hook项目实例之原始数据形成ant design table表格
62 0
|
前端开发
ant design table中增加按钮的两种方式
ant design table中增加按钮的两种方式
217 0
|
前端开发
【React工作记录九十】ant design table实现上下行拖拽功能(类组件)
【React工作记录九十】ant design table实现上下行拖拽功能(类组件)
198 0
|
索引
Ant Design:表格自定义渲染
Ant Design:表格自定义渲染
195 0
Ant Design表格列拖拽,部分源码 #44
Ant Design表格列拖拽,部分源码 #44
216 0
|
数据处理 数据格式
ant design table项目中遇到的数据处理实例
ant design table项目中遇到的数据处理实例
70 0
|
前端开发
#yyds干货盘点 ant design table实现上下行拖拽功能(类组件)
#yyds干货盘点 ant design table实现上下行拖拽功能(类组件)
179 0
|
前端开发
ant design table实现上下行拖拽功能(类组件)
ant design table实现上下行拖拽功能(类组件)
269 0
ant design table实现上下行拖拽功能(类组件)(1)
ant design table实现上下行拖拽功能(类组件)
145 0