### CTable 表格组件


1，util 自定义表格解析工具文件

- 自定义显示列实现思路
 使用filter 函数，key 相同就ok
 
 - 文档功能？文件自动解析成html文件，并部署
 
 - 数据导出？ 为了做到通用性，还是后端生成SVG格式的文件，直接下载即可
 
 
 
 2, 表格解析函数识别的格式
 
test | test| test
|---|---|---|
|ddde|ste|ste|
 
 功能：
  - 支持解析多个对象，使用 ';' 来隔离
  
  
  
 
 
 
标准的 columns 的 map 对象如下：
 
```javascript
export const columns=[
  {
    title:'工单号',
    dataIndex:'order_number',
    type:'normal',
    dataPath:'order_number',
    nonEditable:true,
  },{
    title:'优先级',
    dataIndex:'priority_id',
    type:'priority',
    dataPath:'priority/code'
  },{
    title:'飞机编号',
    dataIndex:'plane_number',
    type:'normal',
    dataPath:'plane/plane_number',
    nonEditable:true,
    nonSorter:true,
  },{
    title:'机型',
    dataIndex:'plane_type_id',
    type:'planeType',
    dataPath:'plane_type/code',
    nonEditable:true,
  },{
    title:'故障类型',
    dataIndex:'repair_type',
    type:'repairType',
    dataPath:'repair_extended/repair_type/code',
    nonSorter:true,
  },{
    title:'进度',
    dataIndex:'progress',
    type:'progress',
    dataPath:'progress',
    nonSorter:true,
  },{
    title:'客户名称',
    dataIndex:'client_name',
    type:'normal',
    dataPath:'repair_extended/client_name',
    nonSorter:true,
  },{
    title:'联系人',
    dataIndex:'client_contact_name',
    type:'normal',
    dataPath:'repair_extended/client_contact_name'
  },{
    title:'下单日期',
    dataIndex:'create_time',
    type:'datetime',
    dataPath:'create_time'
  }
];
```
