ringcode 3 anos atrás
pai
commit
a67c1e58d3
2 arquivos alterados com 179 adições e 167 exclusões
  1. 175 164
      src/views/_pageOptions/table-put.ts
  2. 4 3
      src/views/put/ad-group.vue

+ 175 - 164
src/views/_pageOptions/table-put.ts

@@ -697,7 +697,7 @@ export const AdgroupCloumn: Array<colunm> = [
     width: 80,
   },
   {
-    title: "点击率",
+    title: "点击率(%)",
     dataIndex: "ctr",
     width: 80,
   },
@@ -707,7 +707,7 @@ export const AdgroupCloumn: Array<colunm> = [
     width: 80,
   },
   {
-    title: "平均千次展现费用",
+    title: "平均千次展现费用(元)",
     dataIndex: "avg_show_cost",
     width: 80,
   },
@@ -717,12 +717,12 @@ export const AdgroupCloumn: Array<colunm> = [
     width: 80,
   },
   {
-    title: "转化成本",
+    title: "转化成本(元)",
     dataIndex: "convert_cost",
     width: 80,
   },
   {
-    title: "转化率",
+    title: "转化率(%)",
     dataIndex: "convert_rate",
     width: 80,
   },
@@ -732,123 +732,127 @@ export const AdgroupCloumn: Array<colunm> = [
     width: 80,
   },
   {
-    title: "充值人数",
+    title: "付费用户数",
     dataIndex: "paid_user_num",
     width: 80,
   },
+  // {
+  //   title: "充值金额",
+  //   dataIndex: "paid_order_num",
+  //   width: 80,
+  // },
   {
-    title: "充值金额",
-    dataIndex: "paid_order_num",
-    width: 80,
-  },
-  {
-    title: "付费用户成本",
+    title: "付费用户成本(元)",
     dataIndex: "paid_user_cost",
     width: 80,
   },
   {
-    title: "订单数(小额)",
+    title: "小额订单数",
     dataIndex: "bellow_thirty_paid_order_num",
     width: 80,
   },
   {
-    title: "订单数(包年)",
+    title: "包年订单数",
     dataIndex: "year_paid_order_num",
     width: 80,
   },
   {
-    title: "付费率",
+    title: "付费率(%)",
     dataIndex: "paid_user_rate",
     width: 80,
   },
   {
-    title: "回本率",
-    dataIndex: "back_rate",
+    title: "累计充值(元)",
+    dataIndex: "paid_order_amount",
     width: 80,
   },
   {
-    title: "复充人数(小额)",
-    dataIndex: "bellow_thirty_mult_paid_user_num",
-    width: 80,
-  },
-  {
-    title: "充值人数(小额)",
-    dataIndex: "bellow_thirty_paid_user_num",
-    width: 80,
-  },
-
-  {
-    title: "充值金额(小额)",
+    title: "小额充值(元)",
     dataIndex: "bellow_thirty_paid_order_amount",
     width: 80,
   },
   {
-    title: "复充人数(包年)",
-    dataIndex: "year_mult_paid_user_num",
-    width: 80,
-  },
-
-  {
-    title: "充值金额(包年)",
+    title: "包年充值(元)",
     dataIndex: "year_paid_order_amount",
     width: 80,
   },
   {
-    title: "充值人数(包年)",
-    dataIndex: "year_paid_user_num",
-    width: 80,
-  },
-  {
-    title: "注册用户成本",
-    dataIndex: "register_user_cost",
-    width: 80,
-  },
-  {
-    title: "充值金额(非小额非包年)",
-    dataIndex: "over_thirty_not_year_paid_order_amount",
+    title: "累计回本率",
+    dataIndex: "back_rate",
     width: 80,
   },
   {
-    title: "回本率(非小额非包年",
+    title: "无包年和小额的回本率(%)",
     dataIndex: "over_thirty_not_year_back_rate",
     width: 80,
   },
-  {
-    title: "回本率(非包年",
-    dataIndex: "not_year_back_rate",
-    width: 80,
-  },
+  // {
+  //   title: "复充人数(小额)",
+  //   dataIndex: "bellow_thirty_mult_paid_user_num",
+  //   width: 80,
+  // },
+  // {
+  //   title: "充值人数(小额)",
+  //   dataIndex: "bellow_thirty_paid_user_num",
+  //   width: 80,
+  // },
 
-  {
-    title: "点赞",
-    dataIndex: "like",
-    width: 80,
-  },
-  {
-    title: "播完率",
-    dataIndex: "play_over_rate",
-    width: 80,
-  },
-  {
-    title: "激活数",
-    dataIndex: "active",
-    width: 80,
-  },
-  {
-    title: "播放数",
-    dataIndex: "total_play",
-    width: 80,
-  },
-  {
-    title: "播完数",
-    dataIndex: "play_100_feed_break",
-    width: 80,
-  },
-  {
-    title: "注册数(头条)",
-    dataIndex: "register",
-    width: 80,
-  },
+  // {
+  //   title: "复充人数(包年)",
+  //   dataIndex: "year_mult_paid_user_num",
+  //   width: 80,
+  // },
+  // {
+  //   title: "充值人数(包年)",
+  //   dataIndex: "year_paid_user_num",
+  //   width: 80,
+  // },
+  // {
+  //   title: "注册用户成本",
+  //   dataIndex: "register_user_cost",
+  //   width: 80,
+  // },
+  // {
+  //   title: "充值金额(非小额非包年)",
+  //   dataIndex: "over_thirty_not_year_paid_order_amount",
+  //   width: 80,
+  // },
+  // {
+  //   title: "回本率(非包年)",
+  //   dataIndex: "not_year_back_rate",
+  //   width: 80,
+  // },
+
+  // {
+  //   title: "点赞",
+  //   dataIndex: "like",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播完率",
+  //   dataIndex: "play_over_rate",
+  //   width: 80,
+  // },
+  // {
+  //   title: "激活数",
+  //   dataIndex: "active",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播放数",
+  //   dataIndex: "total_play",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播完数",
+  //   dataIndex: "play_100_feed_break",
+  //   width: 80,
+  // },
+  // {
+  //   title: "注册数(头条)",
+  //   dataIndex: "register",
+  //   width: 80,
+  // },
 ];
 
 export const AdCoundCloumn: Array<colunm> = [
@@ -861,7 +865,7 @@ export const AdCoundCloumn: Array<colunm> = [
       {
         title: "合计",
         dataIndex: "campaign_name",
-        width: 160,
+        width: 240,
         slots: {
           customRender: "info",
         },
@@ -871,7 +875,7 @@ export const AdCoundCloumn: Array<colunm> = [
   {
     title: "账户预算(最低1000元)",
     dataIndex: "firle",
-    width: 110,
+    width: 140,
     slots: {
       customRender: "budget",
     },
@@ -941,123 +945,130 @@ export const AdCoundCloumn: Array<colunm> = [
     width: 80,
   },
   {
-    title: "充值人数",
+    title: "付费用户数",
     dataIndex: "paid_user_num",
     width: 80,
   },
+  // {
+  //   title: "充值金额",
+  //   dataIndex: "paid_order_num",
+  //   width: 80,
+  // },
   {
-    title: "充值金额",
-    dataIndex: "paid_order_num",
-    width: 80,
-  },
-  {
-    title: "付费用户成本",
+    title: "付费用户成本(元)",
     dataIndex: "paid_user_cost",
     width: 80,
   },
   {
-    title: "订单数(小额)",
+    title: "小额订单数",
     dataIndex: "bellow_thirty_paid_order_num",
     width: 80,
   },
   {
-    title: "订单数(包年)",
+    title: "包年订单数",
     dataIndex: "year_paid_order_num",
     width: 80,
   },
   {
-    title: "付费率",
+    title: "付费率(%)",
     dataIndex: "paid_user_rate",
     width: 80,
   },
   {
-    title: "回本率",
-    dataIndex: "back_rate",
-    width: 80,
-  },
-  {
-    title: "复充人数(小额)",
-    dataIndex: "bellow_thirty_mult_paid_user_num",
+    title: "累计充值(元)",
+    dataIndex: "paid_order_amount",
     width: 80,
   },
   {
-    title: "充值人数(小额)",
-    dataIndex: "bellow_thirty_paid_user_num",
-    width: 80,
-  },
-
-  {
-    title: "充值金额(小额)",
+    title: "小额充值(元)",
     dataIndex: "bellow_thirty_paid_order_amount",
     width: 80,
   },
   {
-    title: "复充人数(包年)",
-    dataIndex: "year_mult_paid_user_num",
-    width: 80,
-  },
-
-  {
-    title: "充值金额(包年)",
+    title: "包年充值(元)",
     dataIndex: "year_paid_order_amount",
     width: 80,
   },
   {
-    title: "充值人数(包年)",
-    dataIndex: "year_paid_user_num",
-    width: 80,
-  },
-  {
-    title: "注册用户成本",
-    dataIndex: "register_user_cost",
-    width: 80,
-  },
-  {
-    title: "充值金额(非小额非包年)",
-    dataIndex: "over_thirty_not_year_paid_order_amount",
+    title: "累计回本率(%)",
+    dataIndex: "back_rate",
     width: 80,
   },
   {
-    title: "回本率(非小额非包年",
+    title: "无包年和小额的回本率(%)",
     dataIndex: "over_thirty_not_year_back_rate",
     width: 80,
   },
-  {
-    title: "回本率(非包年",
-    dataIndex: "not_year_back_rate",
-    width: 80,
-  },
+  // {
+  //   title: "复充人数(小额)",
+  //   dataIndex: "bellow_thirty_mult_paid_user_num",
+  //   width: 80,
+  // },
+  // {
+  //   title: "充值人数(小额)",
+  //   dataIndex: "bellow_thirty_paid_user_num",
+  //   width: 80,
+  // },
 
-  {
-    title: "点赞",
-    dataIndex: "like",
-    width: 80,
-  },
-  {
-    title: "播完率",
-    dataIndex: "play_over_rate",
-    width: 80,
-  },
-  {
-    title: "激活数",
-    dataIndex: "active",
-    width: 80,
-  },
-  {
-    title: "播放数",
-    dataIndex: "total_play",
-    width: 80,
-  },
-  {
-    title: "播完数",
-    dataIndex: "play_100_feed_break",
-    width: 80,
-  },
-  {
-    title: "注册数(头条)",
-    dataIndex: "register",
-    width: 80,
-  },
+
+  // {
+  //   title: "复充人数(包年)",
+  //   dataIndex: "year_mult_paid_user_num",
+  //   width: 80,
+  // },
+
+
+  // {
+  //   title: "充值人数(包年)",
+  //   dataIndex: "year_paid_user_num",
+  //   width: 80,
+  // },
+  // {
+  //   title: "注册用户成本",
+  //   dataIndex: "register_user_cost",
+  //   width: 80,
+  // },
+  // {
+  //   title: "充值金额(非小额非包年)",
+  //   dataIndex: "over_thirty_not_year_paid_order_amount",
+  //   width: 80,
+  // },
+  // {
+  //   title: "回本率(非包年)",
+  //   dataIndex: "not_year_back_rate",
+  //   width: 80,
+  // },
+
+  // {
+  //   title: "点赞",
+  //   dataIndex: "like",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播完率",
+  //   dataIndex: "play_over_rate",
+  //   width: 80,
+  // },
+  // {
+  //   title: "激活数",
+  //   dataIndex: "active",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播放数",
+  //   dataIndex: "total_play",
+  //   width: 80,
+  // },
+  // {
+  //   title: "播完数",
+  //   dataIndex: "play_100_feed_break",
+  //   width: 80,
+  // },
+  // {
+  //   title: "注册数(头条)",
+  //   dataIndex: "register",
+  //   width: 80,
+  // },
 ];
 
 export const landingCloumn: Array<colunm> = [

+ 4 - 3
src/views/put/ad-group.vue

@@ -147,7 +147,7 @@ const Adgroup = defineComponent({
     const { router, route, store } = useApp();
 
     const state = reactive({
-      is_enable: '',
+      is_enable: "",
       inSearching: false,
       visibleChange: false,
       open: false,
@@ -177,10 +177,11 @@ const Adgroup = defineComponent({
     });
     if (route.query && route.query.advertiser_id) {
       state.defaultToolvalue = {
-        advertiser_id: route.query.advertiser_id as string,
+        campaign_id: route.query.advertiser_id as string,
       };
+      console.log("TEST:", state.defaultToolvalue);
       state.fields = {
-        advertiser_id: route.query.advertiser_id as string,
+        campaign_id: route.query.advertiser_id as string,
       };
     }