import { FundStatusEnum } from "@/services/launchAdq/enum" import { EditOutlined, FileSearchOutlined, SettingOutlined, SwapOutlined, UploadOutlined, UserSwitchOutlined } from "@ant-design/icons" import { Badge, Button, Popconfirm, Space, Tooltip } from "antd" import React from "react" import DivideIntoGroups from "./divideIntoGroups" import './index.less' export function columnsMp(edit: (params: any) => void, setOpenServer: (data: any) => void, del: (groupId: number, accountId: number) => void, checkAccount: (value: any[]) => void, changeRecord: (accountId: number, id: number) => void, putUserHandle: (data: any) => void, activeKey: string, userId: string | undefined, groupId?: number, getAdAccountList?: any): any { return [ { title: 'ID', dataIndex: 'id', key: 'id', align: 'center', width: 55, fixed: 'left' }, { title: '广告主ID', dataIndex: 'accountId', key: 'accountId', align: 'center', width: 80, fixed: 'left' }, { title: '类型', dataIndex: 'sourceType', key: 'sourceType', align: 'center', width: 60, render: (a: any, b: any) => { return {a == 0 ? '微信' : 'QQ'} } }, { title: '投手', dataIndex: 'putUserInfo', key: 'putUserInfo', width: 70, align: 'center', ellipsis: true, render: (a: any, b: any) => { return {a?.nickname || '-1'} } }, { title: '投放助理', dataIndex: 'accountUsers', key: 'accountUsers', width: 70, align: 'center', ellipsis: true, render: (a: any[], b: any) => { return a && a?.length > 0 ? a.map((item: { putUserName: string, putUseId: number }) => item.putUserName).toString() : '-1' } }, { title: '投放信息', dataIndex: 'putResourceName', key: 'putResourceName', width: 110, align: 'center', ellipsis: true, }, { title: '腾讯备注', dataIndex: 'memo', key: 'memo', align: 'center', width: 100, ellipsis: true, }, { title: '本地备注', dataIndex: 'remark', key: 'remark', align: 'center', width: 100, ellipsis: true, }, // { // title: '公众号信息', // dataIndex: 'wechatAccountName', // key: 'wechatAccountName', // width: 150, // align: 'center', // render: (a: any, b: any) => { // return
{ a }
//