wjx 1 rok pred
rodič
commit
ad4b26fa5e

+ 2 - 2
src/pages/gameDataStatistics/medium/gameEvery/tableConfig.tsx

@@ -4,7 +4,7 @@ import React from "react"
 import { version } from "../../components/TableData"
 import moment from "moment"
 import style from '../../extensionData/everyday/index.less'
-import { gameClassifyEnum } from "@/components/QueryForm/const"
+import { TYPE, gameClassifyEnum } from "@/components/QueryForm/const"
 
 function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
 
@@ -187,7 +187,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: '推广媒体', dataIndex: 'accountType', label: '基本信息', align: 'center', width: 95, default: 4,
-                    render: (a: string, b: any) => (<WidthEllipsis value={a} />)
+                    render: (a: string, b: any) => (<WidthEllipsis value={TYPE[a]} />)
                 },
                 {
                     title: '时间', dataIndex: 'dt', label: '基本信息', align: 'center', width: 110, default: 5, sorter: true,

+ 2 - 2
src/pages/gameDataStatistics/medium/gameTotal/tableConfig.tsx

@@ -1,4 +1,4 @@
-import { gameClassifyEnum } from "@/components/QueryForm/const"
+import { TYPE, gameClassifyEnum } from "@/components/QueryForm/const"
 import WidthEllipsis from "@/components/widthEllipsis"
 import { Statistic } from "antd"
 import React from "react"
@@ -37,7 +37,7 @@ function columns12() {
                 },
                 {
                     title: '推广媒体', dataIndex: 'accountType', label: '基本信息', align: 'center', width: 95, default: 4,
-                    render: (a: string, b: any) => (<WidthEllipsis value={a} />)
+                    render: (a: string, b: any) => (<WidthEllipsis value={TYPE[a]} />)
                 },
                 {
                     title: '消耗', dataIndex: 'cost', label: '基本信息', align: 'center', width: 70, default: 5, sorter: true,

+ 2 - 2
src/pages/gameDataStatistics/medium/promotionEvery/tableConfig.tsx

@@ -4,7 +4,7 @@ import React from "react"
 import { version } from "../../components/TableData"
 import moment from "moment"
 import style from '../../extensionData/everyday/index.less'
-import { gameClassifyEnum } from "@/components/QueryForm/const"
+import { TYPE, gameClassifyEnum } from "@/components/QueryForm/const"
 
 function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
 
@@ -191,7 +191,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: '推广媒体', dataIndex: 'accountType', label: '基本信息', align: 'center', width: 95, default: 5,
-                    render: (a: string, b: any) => (<WidthEllipsis value={a} />)
+                    render: (a: string, b: any) => (<WidthEllipsis value={TYPE[a]} />)
                 },
                 {
                     title: '时间', dataIndex: 'dt', label: '基本信息', align: 'center', width: 110, default: 6, sorter: true,

+ 2 - 2
src/pages/gameDataStatistics/medium/promotionTotal/tableConfig.tsx

@@ -1,4 +1,4 @@
-import { gameClassifyEnum } from "@/components/QueryForm/const"
+import { TYPE, gameClassifyEnum } from "@/components/QueryForm/const"
 import WidthEllipsis from "@/components/widthEllipsis"
 import { Statistic } from "antd"
 import React from "react"
@@ -41,7 +41,7 @@ function columns12() {
                 },
                 {
                     title: '推广媒体', dataIndex: 'accountType', label: '基本信息', align: 'center', width: 95, default: 5,
-                    render: (a: string, b: any) => (<WidthEllipsis value={a} />)
+                    render: (a: string, b: any) => (<WidthEllipsis value={TYPE[a]} />)
                 },
                 {
                     title: '消耗', dataIndex: 'cost', label: '基本信息', align: 'center', width: 70, default: 6, sorter: true,