export const needApproveColumns = [

  {
    title: '文件编码',
    dataIndex: 'no',
    key: 'no',
    width: 70,
  },
  {
    title: '主题',
    dataIndex: 'title',
    key: 'title',
    width: 70,
  },
  {
    title: '审批摘要',
    dataIndex: 'description',
    key: 'description',
    width: 200,
  },
  {
    title: '发起时间',
    dataIndex: 'startDate',
    key: 'startDate',
    width: 90,
  },
  {
    title: '截止时间',
    dataIndex: 'dueDate',
    key: 'dueDate',
    width: 90,
  },
  {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    width: 120,
  },

].map(item => ({
  ...item,
  mainWidth: 60,
  maxWidth: 400,
}));
export const approvedColumns = [

  {
    title: '文件编码',
    dataIndex: 'no',
    key: 'no',
    width: 70,
  },
  {
    title: '主题',
    dataIndex: 'title',
    key: 'title',
    width: 70,
  },
  {
    title: '审批摘要',
    dataIndex: 'description',
    key: 'description',
    width: 200,
  },
  {
    title: '发起时间',
    dataIndex: 'startDate',
    key: 'startDate',
    width: 90,
  },
  {
    title: '完成时间',
    dataIndex: 'endDate',
    key: 'endDate',
    width: 90,
  },
  {
    title: '状态',
    dataIndex: 'documentStatus',
    key: 'documentStatus',
    width: 80,
  },
  {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    width: 80,
  },
].map(item => ({
  ...item,
  mainWidth: 60,
  maxWidth: 400,
}));