Explorar o código

调整列框,修改日期字段

ith5 hai 5 meses
pai
achega
078faa12fc

+ 5 - 5
src/views/v1/gameLog/active/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -60,7 +60,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -115,8 +115,8 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
-  searchForm.value.reg_date[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
   await getGameList()
 }
 

+ 4 - 4
src/views/v1/gameLog/activeDay/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -39,7 +39,7 @@ const gameList = ref([])
 // 搜索表单
 const searchForm = ref({
   game_id: '',
-  reg_date: [],
+  tdate: [],
   days: '1',
 })
 
@@ -67,7 +67,7 @@ const columns = ref([])
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/agent/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -92,7 +92,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
   group: '',
   filter: [],
 })
@@ -224,7 +224,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/agentByDay/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
 
@@ -73,7 +73,7 @@ const searchForm = ref({
   agent_name: '',
   site_name: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -237,7 +237,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/hour/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -127,7 +127,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -172,7 +172,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/ltv/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
 
@@ -87,7 +87,7 @@ const searchForm = ref({
   agent_name: '',
   site_name: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
   data_type: 'recovery',
 })
 
@@ -378,7 +378,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/ltvm/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="month" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="month" />
           </a-form-item>
         </a-col>
 
@@ -86,7 +86,7 @@ const searchForm = ref({
   agent_name: '',
   site_name: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
   data_type: 'recovery',
 })
 
@@ -257,7 +257,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 14 - 14
src/views/v1/gameLog/pay/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-date-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-date-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
       </template>
@@ -35,7 +35,7 @@ const gameList = ref([])
 // 搜索表单
 const searchForm = ref({
   game_id: '',
-  reg_date: '',
+  tdate: '',
 })
 
 // SaTable 基础配置
@@ -91,53 +91,53 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '游戏ID', dataIndex: 'game_id', width: 70, fixed: 'left' },
-  { title: '游戏名', dataIndex: 'game_name', width: 140, fixed: 'left' },
+  { title: '游戏ID', dataIndex: 'game_id', width: 50, fixed: 'left' },
+  { title: '游戏名', dataIndex: 'game_name', width: 100, fixed: 'left' },
   {
     title: 'DAU',
     dataIndex: 'login_total',
-    width: 90,
+    width: 70,
   },
   {
     title: '付费人数',
     dataIndex: 'pay_num',
-    width: 90,
+    width: 70,
   },
   {
     title: '付费金额',
     dataIndex: 'pay_total',
-    width: 90,
+    width: 70,
   },
   {
     title: 'ARPU',
     dataIndex: 'pay_arpu',
-    width: 90,
+    width: 70,
   },
   {
     title: '收入比例',
     dataIndex: 'pay_ratio',
-    width: 90,
+    width: 70,
   },
   {
     title: '昨日充值',
     dataIndex: 'yestoday_pay_total',
-    width: 90,
+    width: 70,
   },
   {
     title: '昨日增长',
     dataIndex: 'pay_increase_yestoday',
-    width: 90,
+    width: 70,
   },
   {
     title: '上周增长',
     dataIndex: 'pay_increase_week',
-    width: 90,
+    width: 70,
   },
 ])
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
 }
 
 // SaTable 数据请求

+ 19 - 19
src/views/v1/gameLog/payRemain/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -59,7 +59,7 @@ const showTypeOptions = ref([
 // 搜索表单
 const searchForm = ref({
   game_id: '',
-  reg_date: [],
+  tdate: [],
   auth_id: '',
   media_id: '',
   show_type: 'rate',
@@ -75,7 +75,7 @@ const options = reactive({
   summary: [
     {
       action: 'totalRow',
-      dataIndex: 'reg_date',
+      dataIndex: 'tdate',
     },
     {
       action: 'totalRow',
@@ -134,74 +134,74 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '注册日期', dataIndex: 'reg_date', width: 120, fixed: 'left' },
+  { title: '注册日期', dataIndex: 'tdate', width: 120, fixed: 'left' },
   { title: '付费人数', dataIndex: 'reg_pay_num', width: 120 },
   {
     title: '次留',
     dataIndex: 'remain_2',
-    width: 90,
+    width: 60,
   },
   {
     title: '3留',
     dataIndex: 'remain_3',
-    width: 90,
+    width: 60,
   },
   {
     title: '4留',
     dataIndex: 'remain_4',
-    width: 90,
+    width: 60,
   },
   {
     title: '5留',
     dataIndex: 'remain_5',
-    width: 90,
+    width: 60,
   },
   {
     title: '6留',
     dataIndex: 'remain_6',
-    width: 90,
+    width: 60,
   },
   {
     title: '7留',
     dataIndex: 'remain_7',
-    width: 90,
+    width: 60,
   },
   {
     title: '15留',
     dataIndex: 'remain_15',
-    width: 90,
+    width: 60,
   },
   {
     title: '30留',
     dataIndex: 'remain_30',
-    width: 90,
+    width: 60,
   },
   {
     title: '35留',
     dataIndex: 'remain_35',
-    width: 90,
+    width: 60,
   },
   {
     title: '40留',
     dataIndex: 'remain_40',
-    width: 90,
+    width: 60,
   },
   {
     title: '55留',
     dataIndex: 'remain_55',
-    width: 90,
+    width: 60,
   },
   {
     title: '60留',
     dataIndex: 'remain_60',
-    width: 90,
+    width: 60,
   },
 ])
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
-  searchForm.value.reg_date[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/regDay/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
       </template>
@@ -38,7 +38,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -57,7 +57,7 @@ const columns = ref([])
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 4 - 4
src/views/v1/gameLog/regHour/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-date-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-date-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
       </template>
@@ -39,7 +39,7 @@ const searchForm = ref({
   agent_name: '',
   site_name: '',
   site_id: '',
-  reg_date: '',
+  tdate: '',
   data_type: 'recovery',
 })
 
@@ -194,7 +194,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = dayjs().format('YYYY-MM-DD')
+  searchForm.value.tdate = dayjs().format('YYYY-MM-DD')
 }
 
 // SaTable 数据请求

+ 5 - 5
src/views/v1/gameLog/sdkLoginLog/index.vue

@@ -116,12 +116,12 @@ const columns = reactive([
   { title: '游戏', dataIndex: 'game_name', width: 120 },
   { title: '媒体ID', dataIndex: 'media_id', width: 80 },
   { title: '广告位id', dataIndex: 'site_id', width: 100 },
-  { title: '登录IP', dataIndex: 'ip', width: 180 },
-  { title: '登录IMEI/IDFA', dataIndex: 'imei', width: 180 },
-  { title: '登录OAID/CID', dataIndex: 'oaid', width: 180 },
+  { title: '登录IP', dataIndex: 'ip', width: 120 },
+  { title: '登录IMEI/IDFA', dataIndex: 'imei', width: 120 },
+  { title: '登录OAID/CID', dataIndex: 'oaid', width: 120 },
 
-  { title: '登录时间', dataIndex: 'login_time', width: 140 },
-  { title: '注册时间', dataIndex: 'reg_time', width: 140 },
+  { title: '登录时间', dataIndex: 'login_time', width: 120 },
+  { title: '注册时间', dataIndex: 'reg_time', width: 120 },
 
   { title: '手机品牌', dataIndex: 'brand', width: 120 },
   { title: '手机型号', dataIndex: 'model', width: 120 },

+ 7 - 7
src/views/v1/gameLog/sdkOrderRank/index.vue

@@ -138,16 +138,16 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '用户名', dataIndex: 'user_name', width: 250 },
-  { title: '渠道ID', dataIndex: 'agent_id', width: 120 },
-  { title: '广告位ID', dataIndex: 'site_id', width: 120 },
+  { title: '用户名', dataIndex: 'user_name', width: 150 },
+  { title: '渠道ID', dataIndex: 'agent_id', width: 60 },
+  { title: '广告位ID', dataIndex: 'site_id', width: 80 },
 
   { title: '游戏名', dataIndex: 'game_name', width: 120 },
 
   // { title: "服务器ID", dataIndex: "server_id", width: 120 },
   { title: '服务器名', dataIndex: 'server_name', width: 120 },
   { title: '角色名', dataIndex: 'role_name', width: 120 },
-  { title: '角色ID', dataIndex: 'role_id', width: 120 },
+  { title: '角色ID', dataIndex: 'role_id', width: 80 },
 
   { title: '支付方式', dataIndex: 'pay_channel_name', width: 120 },
   { title: '历史充值金额', dataIndex: 'totalMoney', width: 120 },
@@ -159,10 +159,10 @@ const columns = reactive([
   { title: '最近登录时间', dataIndex: 'login_time', width: 180 },
   { title: '最近充值时间', dataIndex: 'pay_time', width: 180 },
 
-  { title: '告警', dataIndex: 'alert', width: 120 },
+  { title: '告警', dataIndex: 'alert', width: 80 },
 
-  { title: '渠道名', dataIndex: 'agent_name', width: 180 },
-  { title: '负责人', dataIndex: 'auth_name', width: 180 },
+  { title: '渠道名', dataIndex: 'agent_name', width: 100 },
+  { title: '负责人', dataIndex: 'auth_name', width: 80 },
 ])
 
 // 获取媒体类型

+ 5 - 5
src/views/v1/gameLog/sdkOrderSuccess/index.vue

@@ -138,12 +138,12 @@ const columns = reactive([
   { title: '支付方式', dataIndex: 'pay_channel_name', width: 120 },
   { title: '充值金额', dataIndex: 'money', width: 120 },
 
-  { title: '充值日期', dataIndex: 'pay_date', width: 180 },
-  { title: '注册日期', dataIndex: 'reg_date', width: 180 },
-  { title: '是否首次充值', dataIndex: 'first_payment', width: 180 },
+  { title: '充值日期', dataIndex: 'pay_date', width: 120 },
+  { title: '注册日期', dataIndex: 'reg_date', width: 120 },
+  { title: '是否首次充值', dataIndex: 'first_payment', width: 120 },
 
-  { title: '渠道名', dataIndex: 'agent_name', width: 180 },
-  { title: '负责人', dataIndex: 'auth_name', width: 180 },
+  { title: '渠道名', dataIndex: 'agent_name', width: 120 },
+  { title: '负责人', dataIndex: 'auth_name', width: 90 },
 ])
 
 // 获取媒体类型

+ 16 - 15
src/views/v1/gameLog/sdkRegLog/index.vue

@@ -115,23 +115,24 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '用户名', dataIndex: 'user_name', width: 180 },
-  { title: '游戏', dataIndex: 'game_name', width: 180 },
-  { title: '渠道id', dataIndex: 'agent_id', width: 180 },
-  { title: '广告位id', dataIndex: 'site_id', width: 180 },
-  { title: '注册IMEI/IDFA', dataIndex: 'imei', width: 180 },
-  { title: '注册OAID/CID', dataIndex: 'oaid', width: 180 },
+  { title: '用户名', dataIndex: 'user_name', width: 100 },
+  { title: '游戏', dataIndex: 'game_name', width: 100 },
+  { title: '设备类型', dataIndex: 'vt', type: 'dict', dict: 'vt', width: 120 },
+  { title: '渠道id', dataIndex: 'agent_id', width: 100 },
+  { title: '广告位id', dataIndex: 'site_id', width: 100 },
 
-  { title: '注册IP', dataIndex: 'ip', width: 180 },
-  { title: '注册时间', dataIndex: 'reg_time', width: 180 },
+  { title: '注册IP', dataIndex: 'ip', width: 120 },
+  { title: '注册时间', dataIndex: 'reg_time', width: 120 },
 
-  { title: '手机品牌', dataIndex: 'brand', width: 180 },
-  { title: '手机型号', dataIndex: 'model', width: 180 },
-  { title: '系统版本', dataIndex: 'system_version', width: 180 },
-  { title: 'sdk版本', dataIndex: 'sdk_version', width: 180 },
-  { title: '设备类型', dataIndex: 'vt', type: 'dict', dict: 'vt', width: 120 },
-  { title: '渠道名', dataIndex: 'agent_name', width: 180 },
-  { title: '负责人', dataIndex: 'auth_name', width: 180 },
+  { title: '手机品牌', dataIndex: 'brand', width: 100 },
+  { title: '手机型号', dataIndex: 'model', width: 100 },
+  { title: '系统版本', dataIndex: 'system_version', width: 100 },
+  { title: 'sdk版本', dataIndex: 'sdk_version', width: 100 },
+  { title: '注册IMEI/IDFA', dataIndex: 'imei', width: 120 },
+  { title: '注册OAID/CID', dataIndex: 'oaid', width: 120 },
+
+  { title: '渠道名', dataIndex: 'agent_name', width: 100 },
+  { title: '负责人', dataIndex: 'auth_name', width: 100 },
 ])
 
 // 获取媒体类型

+ 4 - 4
src/views/v1/gameLog/site/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
 
@@ -78,7 +78,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   site_id: '',
-  reg_date: [],
+  tdate: [],
   group: '',
   filter: [],
 })
@@ -230,7 +230,7 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = () => {
-  searchForm.value.reg_date = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
+  searchForm.value.tdate = [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')]
 }
 
 // SaTable 数据请求

+ 5 - 5
src/views/v1/gameLog/total/index.vue

@@ -9,8 +9,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册日期" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册日期" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
 
@@ -48,7 +48,7 @@ const searchForm = ref({
   game_id: '',
   media_id: '',
   auth_id: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -241,8 +241,8 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
-  searchForm.value.reg_date[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[0] = dayjs().subtract(8, 'day').format('YYYY-MM-DD')
+  searchForm.value.tdate[1] = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
   await getGameList()
 }
 

+ 5 - 5
src/views/v1/gameLog/totalMonth/index.vue

@@ -14,8 +14,8 @@
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
-          <a-form-item label="注册月份" field="reg_date">
-            <a-range-picker class="w-full" v-model="searchForm.reg_date" :show-time="false" mode="date" />
+          <a-form-item label="注册月份" field="tdate">
+            <a-range-picker class="w-full" v-model="searchForm.tdate" :show-time="false" mode="date" />
           </a-form-item>
         </a-col>
         <a-col :sm="6" :xs="24">
@@ -77,7 +77,7 @@ const searchForm = ref({
   auth_id: '',
   agent_id: '',
   agent_name: '',
-  reg_date: [],
+  tdate: [],
 })
 
 // SaTable 基础配置
@@ -270,8 +270,8 @@ const columns = reactive([
 
 // 页面数据初始化
 const initPage = async () => {
-  searchForm.value.reg_date[0] = dayjs().subtract(8, 'days').format('YYYY-MM-DD')
-  searchForm.value.reg_date[1] = dayjs().subtract(1, 'days').format('YYYY-MM-DD')
+  searchForm.value.tdate[0] = dayjs().subtract(8, 'days').format('YYYY-MM-DD')
+  searchForm.value.tdate[1] = dayjs().subtract(1, 'days').format('YYYY-MM-DD')
 }
 
 // SaTable 数据请求

+ 12 - 12
src/views/v1/material/cost/index.vue

@@ -155,18 +155,18 @@ const options = reactive({
 // SaTable 列配置
 const columns = reactive([
   { title: '素材ID', dataIndex: 'material_id', width: 120 },
-  { title: '素材名称', dataIndex: 'material_name', width: 290 },
-  { title: '作者', dataIndex: 'author_name', width: 120 },
-  { title: '投手', dataIndex: 'auth_name', width: 120 },
-  { title: '消耗', dataIndex: 'cost', width: 120 },
-  { title: '展示数', dataIndex: 'ad_show', width: 120 },
-  { title: '点击数', dataIndex: 'click', width: 120 },
-  { title: '点击率', dataIndex: 'ad_click_rate', width: 120 },
-  { title: '激活数', dataIndex: 'active', width: 120 },
-  { title: '注册数', dataIndex: 'register', width: 120 },
-  { title: '注册成本', dataIndex: 'reg_cost', width: 120 },
-  { title: '付费数', dataIndex: 'pay_amount', width: 120 },
-  { title: '付费成本', dataIndex: 'pay_cost', width: 120 },
+  { title: '素材名称', dataIndex: 'material_name', width: 190 },
+  { title: '作者', dataIndex: 'author_name', width: 90 },
+  { title: '投手', dataIndex: 'auth_name', width: 90 },
+  { title: '消耗', dataIndex: 'cost', width: 90 },
+  { title: '展示数', dataIndex: 'ad_show', width: 90 },
+  { title: '点击数', dataIndex: 'click', width: 90 },
+  { title: '点击率', dataIndex: 'ad_click_rate', width: 90 },
+  { title: '激活数', dataIndex: 'active', width: 90 },
+  { title: '注册数', dataIndex: 'register', width: 90 },
+  { title: '注册成本', dataIndex: 'reg_cost', width: 90 },
+  { title: '付费数', dataIndex: 'pay_amount', width: 90 },
+  { title: '付费成本', dataIndex: 'pay_cost', width: 90 },
 ])
 
 // 页面数据初始化