/**LiuKexin 20201229 更换图标 */
export const iconList = [
  'fa fa-file',
  'fa fa-mixcloud',
  'fa fa-cloud-upload',
  'fa fa-cloud-download',
  'fa fa-file-archive-o',
  'fa fa-archive',
  'fa fa-search',
  'fa fa-object-group',
  'fa fa-trophy',
  'fa fa-clipboard',
  'fa fa-comments-o',
  'fa fa-calendar-o',
  'fa fa-heart',
  'fa fa-id-card',
  'fa fa-bookmark',
  'fa fa-external-link',
  'fa fa-lightbulb-o',
  'fa fa-magic',
  'fa fa-hand-pointer-o',
  'fa fa-wrench',
  'fa fa-area-chart',
  'fa fa-bar-chart',
  'fa fa-pie-chart',
  'fa fa-line-chart',
  'fa fa-microchip',
  'fa fa-building',
  'fa fa-cogs',
  'fa fa-calendar',
  'fa fa-university',
  'fa fa-list-ul',
  'fa fa-print',
  'fa fa-table',
  'fa fa-sitemap',
  'fa fa-list-alt',
  'fa fa-columns',
  'fa fa-handshake-o',
  'fa fa-database',
  'fa fa-users',
  'fa fa-user-secret',
  'fa fa-trash',
  'fa fa-file-text',
  'fa fa-server',
  'fa fa-globe',
  'fa fa-crosshairs',
  'fa fa-warning',
  'fa fa-trello',
  'fa fa-files-o',
  'fa fa-modx',
  'fa fa-chain-broken',
  'fa fa-book',
  'fa fa-folder-open-o',
  'fa fa-shield',
  'fa fa-newspaper-o',
  'fa fa-home',
]

export const columns = [ //LiuKexin 20201225 文本省略号 提示
  {
    type: 'selection',
    width: 50, //LiuKexin 20201216 列宽
    align: 'center',
    fixed: 'left',
    className: 'compact-cell'
  },
  {
    title: '操作',
    width: 50,
    align: 'center',
    slot: 'operate',
    fixed: 'left',
    className: 'compact-cell'
  },
  {
    title: '名称',
    minWidth: 150,
    key: 'title',
    ellipsis:true,
    tooltip:true,
    resizable:true
  },
  {
    title: '英文标识',
    width: 150,
    key: 'name',
    ellipsis:true,
    tooltip:true,
    resizable:true
  },
  {
    title: '访问路径',
    width: 200,
    key: 'path',
    ellipsis:true,
    tooltip:true,
    resizable:true
  },
  {
    title: '图标',
    width: 150,
    key: 'icon',
    ellipsis:true,
    tooltip:true,
    resizable:true
  },
  /**
   * 暂时不需要展示该字段 liuyimeng 2020-03-02
   * **/
  // {
  //   title: '目标',
  //   width: 100,
  //   key: 'target'
  // },
  {
    title: '描述',
    width: 250,
    key: 'description',
    ellipsis:true,
    tooltip:true,
    resizable:true
  },
  {
    title: '是否隐藏',
    width: 100,
    key: 'hidden',
    render(h, params) {
      return h('div', [
        params.row.hidden?'是':'否'
      ])
    }
  }
]