wjx 6 tháng trước cách đây
mục cha
commit
ff479217d4

+ 10 - 0
config/routerConfig.ts

@@ -241,6 +241,16 @@ const iaaPlayletData = [
                 path: '/iaaData/playlet/tencent/dynamic',
                 name: '创意列表',
                 component: './iaaData/playlet/tencent/dynamic',
+            },
+            {
+                path: '/iaaData/playlet/tencent/pitcherEveryDay',
+                name: '投手每日数据',
+                component: './iaaData/playlet/tencent/pitcherEveryDay',
+            },
+            {
+                path: '/iaaData/playlet/tencent/appEveryDayData',
+                name: '应用每日数据',
+                component: './iaaData/playlet/tencent/appEveryDayData',
             }
         ]
     }

+ 2 - 2
src/pages/iaaData/novel/tencent/appEveryDayData/index.tsx

@@ -11,7 +11,7 @@ import QueryFormNovel from "@/components/QueryForm/queryFormNovel";
  * 应用每日数据
  * @returns 
  */
-const AppEveryDayData: React.FC = () => {
+const AppEveryDayData: React.FC<{ configName?: string }> = ({ configName }) => {
 
     /****************************************/
     const { initialState } = useModel('@@initialState');
@@ -67,7 +67,7 @@ const AppEveryDayData: React.FC = () => {
             isZj
             totalData={totalData}
             config={columns12()}
-            configName={'小说腾讯应用每日数据'}
+            configName={configName || '小说腾讯应用每日数据'}
             fixed={{ left: 4, right: 0 }}
             scroll={{ x: 1000, y: 620 }}
             title='应用每日数据'

+ 5 - 5
src/pages/iaaData/novel/tencent/appEveryDayData/tableConfig.tsx

@@ -88,11 +88,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
             label: '广告曝光指标(媒体)',
             data: [
                 {
-                    title: '点击量', dataIndex: 'clickCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, default: 11, sorter: true,
+                    title: '点击量', dataIndex: 'clickCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, default: 11, sorter: true,
                     render: (a: number) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '曝光量', dataIndex: 'viewCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, default: 12, sorter: true,
+                    title: '曝光量', dataIndex: 'viewCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, default: 12, sorter: true,
                     render: (a: number) => <Statistic value={a || 0} />
                 },
                 {
@@ -112,7 +112,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '转化量', dataIndex: 'conversionsCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, sorter: true, default: 17,
+                    title: '转化量', dataIndex: 'conversionsCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, sorter: true, default: 17,
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
@@ -129,7 +129,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '注册次数', dataIndex: 'regPv', label: '广告转化指标(媒体)', align: 'center', width: 65, sorter: true, default: 20,
+                    title: '注册次数', dataIndex: 'regPv', label: '广告转化指标(媒体)', align: 'center', width: 80, sorter: true, default: 20,
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
@@ -274,7 +274,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告变现金额', dataIndex: 'adMonetizationAmount', label: '广告变现指标(媒体)', align: 'right', width: 70, sorter: true, default: 29,
+                    title: '广告变现金额', dataIndex: 'adMonetizationAmount', label: '广告变现指标(媒体)', align: 'right', width: 85, sorter: true, default: 29,
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {

+ 2 - 2
src/pages/iaaData/novel/tencent/pitcherEveryDay/index.tsx

@@ -11,7 +11,7 @@ import QueryFormNovel from "@/components/QueryForm/queryFormNovel";
  * 投手每日数据
  * @returns 
  */
-const PitcherEveryDay: React.FC = () => {
+const PitcherEveryDay: React.FC<{ configName?: string }> = ({ configName }) => {
 
     /****************************************/
     const { initialState } = useModel('@@initialState');
@@ -68,7 +68,7 @@ const PitcherEveryDay: React.FC = () => {
             isZj
             totalData={totalData}
             config={columns12()}
-            configName={'小说腾讯投手每日数据'}
+            configName={configName || '小说腾讯投手每日数据'}
             fixed={{ left: 4, right: 0 }}
             scroll={{ x: 1000, y: 620 }}
             title='投手每日数据'

+ 5 - 5
src/pages/iaaData/novel/tencent/pitcherEveryDay/tableConfig.tsx

@@ -92,11 +92,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
             label: '广告曝光指标(媒体)',
             data: [
                 {
-                    title: '点击量', dataIndex: 'clickCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, default: 12, sorter: true,
+                    title: '点击量', dataIndex: 'clickCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, default: 12, sorter: true,
                     render: (a: number) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '曝光量', dataIndex: 'viewCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, default: 13, sorter: true,
+                    title: '曝光量', dataIndex: 'viewCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, default: 13, sorter: true,
                     render: (a: number) => <Statistic value={a || 0} />
                 },
                 {
@@ -116,7 +116,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '转化量', dataIndex: 'conversionsCount', label: '广告曝光指标(媒体)', align: 'center', width: 65, sorter: true, default: 18,
+                    title: '转化量', dataIndex: 'conversionsCount', label: '广告曝光指标(媒体)', align: 'center', width: 80, sorter: true, default: 18,
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
@@ -133,7 +133,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '注册次数', dataIndex: 'regPv', label: '广告转化指标(媒体)', align: 'center', width: 65, sorter: true, default: 21,
+                    title: '注册次数', dataIndex: 'regPv', label: '广告转化指标(媒体)', align: 'center', width: 80, sorter: true, default: 21,
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
@@ -278,7 +278,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {
-                    title: '广告变现金额', dataIndex: 'adMonetizationAmount', label: '广告变现指标(媒体)', align: 'right', width: 70, sorter: true, default: 30,
+                    title: '广告变现金额', dataIndex: 'adMonetizationAmount', label: '广告变现指标(媒体)', align: 'right', width: 90, sorter: true, default: 30,
                     render: (a: string) => <Statistic value={a || 0} precision={2} />
                 },
                 {

+ 11 - 0
src/pages/iaaData/playlet/tencent/appEveryDayData/index.tsx

@@ -0,0 +1,11 @@
+import AppEveryDayData from "@/pages/iaaData/novel/tencent/appEveryDayData"
+import React from "react"
+
+
+const AppEveryDayDataPlaylet: React.FC = () => {
+
+
+    return <AppEveryDayData configName="短剧腾讯应用每日数据" />
+}
+
+export default AppEveryDayDataPlaylet

+ 11 - 0
src/pages/iaaData/playlet/tencent/pitcherEveryDay/index.tsx

@@ -0,0 +1,11 @@
+import PitcherEveryDay from "@/pages/iaaData/novel/tencent/pitcherEveryDay"
+import React from "react"
+
+
+const PitcherEveryDayPlaylet: React.FC = () => {
+
+
+    return <PitcherEveryDay configName="短剧腾讯投手每日数据" />
+}
+
+export default PitcherEveryDayPlaylet