import WidthEllipsis from "@/components/widthEllipsis" import { Progress, Statistic } from "antd" import React from "react" import { AdUnitType_Enum, PRODUCT_TYPE_ENUM } from "../../../const" import {APPTYPE } from "@/pages/iaaSystem/manage/const" function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] { return [ { label: '基本信息', data: [ { title: '日期', dataIndex: 'dt', label: '基本信息', align: 'center', width: 80, default: 1, render: (a: string) => () }, { title: '应用', dataIndex: 'appName', label: '基本信息', align: 'center', width: 120, default: 2, render: (a: string) => () }, { title: '应用ID', dataIndex: 'iaaAppId', label: '基本信息', align: 'center', width: 80, render: (a: string) => () }, { title: '小程序名称', dataIndex: 'mpName', label: '基本信息', align: 'center', width: 85, default: 3, render: (a: string) => () }, { title: '小程序ID', dataIndex: 'mpId', label: '基本信息', align: 'center', width: 80, render: (a: string) => () }, { title: '账号归属', dataIndex: 'adUnitType', label: '基本信息', align: 'center', width: 80, render: (a: string) => () }, { title: '业务类型', dataIndex: 'productType', label: '基本信息', align: 'center', width: 80, default: 4, render: (a: string) => () }, { title: '应用类型', dataIndex: 'appType', label: '基本信息', align: 'center', width: 80, default: 5, render: (a: string) => () }, { title: '消耗', dataIndex: 'cost', label: '基本信息', align: 'right', width: 125, default: 6, sorter: true, className: 'padding_0', render: (a: number) =>
= 20000 ? { color: '#000', fontWeight: 'bold' } : { fontWeight: 'bold' }} />
}, { title: '广告变现成本', dataIndex: 'adMonetizationCost', label: '基本信息', align: 'right', width: 110, default: 7, sorter: true, render: (a: number) => }, { title: '广告变现人数', dataIndex: 'appAdPayingUsers', label: '基本信息', align: 'center', width: 110, default: 8, sorter: true, render: (a: number) => }, { title: '广告变现arpu', dataIndex: 'arpu', label: '基本信息', align: 'center', width: 110, default: 9, sorter: true, render: (a: number) => }, { title: '广告变现arppu', dataIndex: 'arppu', label: '基本信息', align: 'center', width: 120, default: 10, sorter: true, render: (a: number) => }, { title: '广告变现金额', dataIndex: 'appAdPayingAmount', label: '基本信息', align: 'center', width: 110, default: 11, sorter: true, render: (a: number) => }, { title: '广告变现roi', dataIndex: 'appAdPayingRoi', label: '基本信息', align: 'center', width: 105, default: 12, sorter: true, render: (a: number) => = 0.5 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" /> }, { title: '注册人数', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 13, sorter: true, render: (a: number, b: any) => }, { title: 'D1', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 14, sorter: true, render: (a: number, b: any) => }, { title: 'D2', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 15, sorter: true, render: (a: number, b: any) => }, { title: 'D3', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 16, sorter: true, render: (a: number, b: any) => }, { title: 'D4', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 17, sorter: true, render: (a: number, b: any) => }, { title: 'D5', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 18, sorter: true, render: (a: number, b: any) => }, { title: 'D6', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 19, sorter: true, render: (a: number, b: any) => }, { title: 'D7', dataIndex: 'reg_dedup_pv', label: '基本信息', align: 'center', width: 80, default: 20, sorter: true, render: (a: number, b: any) => }, ] } ] } export default columns12