ith5 hace 5 meses
padre
commit
a504ea2691
Se han modificado 1 ficheros con 20 adiciones y 0 borrados
  1. 20 0
      src/views/v1/gameLog/hour/index.vue

+ 20 - 0
src/views/v1/gameLog/hour/index.vue

@@ -64,6 +64,25 @@
           </div>
         </div>
       </template>
+      <template #h0="{ record }">
+        <div>
+          <div style="color: purple">
+            {{ record['h0']?.cost }}
+          </div>
+          <div>
+            {{ record['h0']?.reg_total }}
+          </div>
+          <div style="color: blue">
+            {{ record['h0']?.reg_cost }}
+          </div>
+          <div style="color: green">
+            {{ record['h0']?.pay_rate }}
+          </div>
+          <div style="color: red">
+            {{ record['h0']?.roi }}
+          </div>
+        </div>
+      </template>
       <template v-for="i in 23" :key="i" #[`h${i}`]="{ record }">
         <div>
           <div style="color: purple">
@@ -125,6 +144,7 @@ const columns = reactive([
   { title: '渠道ID', dataIndex: 'agent_id', width: 120 },
   { title: '渠道名', dataIndex: 'agent_name', width: 120 },
   { title: '合计', dataIndex: 'total_raw', width: 120 },
+  { title: 'h0', dataIndex: 'h0', width: 120 },
   { title: 'h1', dataIndex: 'h1', width: 120 },
   { title: 'h2', dataIndex: 'h2', width: 120 },
   { title: 'h3', dataIndex: 'h3', width: 120 },