

export const setMainColumns = (self, expData) => {
  return [
    { dataIndex: 'id', title: 'id', width: 120, hidden: true },
    { dataIndex: 'name', title: '策略名称', width: 120 },
    { dataIndex: 'conditionName', title: '满足条件', width: 120 },
    { dataIndex: 'businessRules', title: '业务规则', width: 120 },
    { dataIndex: 'memo', title: '备注',  },
    { dataIndex: 'statusName', title: '状态', width: 120 },

    { dataIndex: 'createperson', title: '创建人', width: 120 },
    { dataIndex: 'createtime', title: '创建时间' },
    { dataIndex: 'updateperson', title: '修改人' },
    { dataIndex: 'updatetime', title: '修改时间' },


    {
      key: 'operation',
      title: '操作',
      width: 140,
      fixed: 'right',
      align: 'center',
      scopedSlots: { customRender: 'operation' },
    },
  ];
};
