ith5 5 miesięcy temu
rodzic
commit
a87be2623c
40 zmienionych plików z 234 dodań i 132 usunięć
  1. 4 0
      src/views/v1/advert/agenList/index.vue
  2. 4 0
      src/views/v1/advert/agentSite/index.vue
  3. 4 0
      src/views/v1/advert/callbackPushLog/index.vue
  4. 4 0
      src/views/v1/advert/gamePackage/index.vue
  5. 4 0
      src/views/v1/advert/gamePackageLog/index.vue
  6. 4 0
      src/views/v1/advert/mediaAuth/index.vue
  7. 4 0
      src/views/v1/advert/mediaCost/index.vue
  8. 47 60
      src/views/v1/advert/mediaList/index.vue
  9. 4 0
      src/views/v1/center/game/index.vue
  10. 4 0
      src/views/v1/center/gameGroup/index.vue
  11. 4 0
      src/views/v1/center/gameMain/index.vue
  12. 4 0
      src/views/v1/center/gamePayChannel/index.vue
  13. 4 0
      src/views/v1/center/iosPayWay/index.vue
  14. 4 0
      src/views/v1/center/qxSwitch/index.vue
  15. 1 0
      src/views/v1/customer/account/banList/index.vue
  16. 32 53
      src/views/v1/customer/account/index.vue
  17. 4 0
      src/views/v1/customer/reconciliation/cwAgent/index.vue
  18. 5 1
      src/views/v1/customer/reconciliation/payChannelIncome/index.vue
  19. 5 1
      src/views/v1/customer/roleData/index.vue
  20. 5 1
      src/views/v1/customer/sdkOrder/index.vue
  21. 4 0
      src/views/v1/gameLog/active/index.vue
  22. 5 8
      src/views/v1/gameLog/activeDay/index.vue
  23. 4 0
      src/views/v1/gameLog/agent/index.vue
  24. 4 0
      src/views/v1/gameLog/agentByDay/index.vue
  25. 4 0
      src/views/v1/gameLog/chart/index.vue
  26. 4 0
      src/views/v1/gameLog/ltv/index.vue
  27. 4 0
      src/views/v1/gameLog/ltvm/index.vue
  28. 4 0
      src/views/v1/gameLog/pay/index.vue
  29. 4 0
      src/views/v1/gameLog/payRemain/index.vue
  30. 5 8
      src/views/v1/gameLog/regDay/index.vue
  31. 4 0
      src/views/v1/gameLog/regHour/index.vue
  32. 4 0
      src/views/v1/gameLog/roleData/index.vue
  33. 4 0
      src/views/v1/gameLog/sdkLoginLog/index.vue
  34. 4 0
      src/views/v1/gameLog/sdkOrderRank/index.vue
  35. 4 0
      src/views/v1/gameLog/sdkOrderSuccess/index.vue
  36. 5 0
      src/views/v1/gameLog/sdkRegLog/index.vue
  37. 4 0
      src/views/v1/gameLog/site/index.vue
  38. 4 0
      src/views/v1/gameLog/total/index.vue
  39. 4 0
      src/views/v1/gameLog/totalMonth/index.vue
  40. 4 0
      src/views/v1/material/cost/index.vue

+ 4 - 0
src/views/v1/advert/agenList/index.vue

@@ -148,3 +148,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/advert/agenList' }
+</script>

+ 4 - 0
src/views/v1/advert/agentSite/index.vue

@@ -307,3 +307,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/advert/agentSite' }
+</script>

+ 4 - 0
src/views/v1/advert/callbackPushLog/index.vue

@@ -146,3 +146,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/advert/callbackPushLog' }
+</script>

+ 4 - 0
src/views/v1/advert/gamePackage/index.vue

@@ -115,3 +115,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/gameLog/gamePackage' }
+</script>

+ 4 - 0
src/views/v1/advert/gamePackageLog/index.vue

@@ -126,3 +126,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/gameLog/gamePackageLog' }
+</script>

+ 4 - 0
src/views/v1/advert/mediaAuth/index.vue

@@ -111,3 +111,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/advert/mediaAuth' }
+</script>

+ 4 - 0
src/views/v1/advert/mediaCost/index.vue

@@ -178,3 +178,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/advert/mediaCost' }
+</script>

+ 47 - 60
src/views/v1/advert/mediaList/index.vue

@@ -1,38 +1,21 @@
 <template>
   <div class="ma-content-block">
-    <sa-table
-      ref="crudRef"
-      :options="options"
-      :columns="columns"
-      :searchForm="searchForm"
-    >
+    <sa-table ref="crudRef" :options="options" :columns="columns" :searchForm="searchForm">
       <!-- 搜索区 tableSearch -->
       <template #tableSearch>
         <a-col :sm="8" :xs="24">
           <a-form-item label="媒体id" field="id">
-            <a-input
-              v-model="searchForm.id"
-              placeholder="请输入媒体id"
-              allow-clear
-            />
+            <a-input v-model="searchForm.id" placeholder="请输入媒体id" allow-clear />
           </a-form-item>
         </a-col>
         <a-col :sm="8" :xs="24">
           <a-form-item label="媒体名称" field="name">
-            <a-input
-              v-model="searchForm.name"
-              placeholder="请输入媒体名称"
-              allow-clear
-            />
+            <a-input v-model="searchForm.name" placeholder="请输入媒体名称" allow-clear />
           </a-form-item>
         </a-col>
         <a-col :sm="8" :xs="24">
           <a-form-item label="媒体渠道简称" field="channel_name">
-            <a-input
-              v-model="searchForm.channel_name"
-              placeholder="请输入媒体渠道简称"
-              allow-clear
-            />
+            <a-input v-model="searchForm.channel_name" placeholder="请输入媒体渠道简称" allow-clear />
           </a-form-item>
         </a-col>
       </template>
@@ -46,22 +29,22 @@
 </template>
 
 <script setup>
-import { onMounted, ref, reactive } from "vue";
-import { Message } from "@arco-design/web-vue";
-import EditForm from "./edit.vue";
-import api from "../../api/advert/mediaList";
+import { onMounted, ref, reactive } from 'vue'
+import { Message } from '@arco-design/web-vue'
+import EditForm from './edit.vue'
+import api from '../../api/advert/mediaList'
 
 // 引用定义
-const crudRef = ref();
-const editRef = ref();
-const viewRef = ref();
+const crudRef = ref()
+const editRef = ref()
+const viewRef = ref()
 
 // 搜索表单
 const searchForm = ref({
-  id: "",
-  name: "",
-  channel_name: "",
-});
+  id: '',
+  name: '',
+  channel_name: '',
+})
 
 // SaTable 基础配置
 const options = reactive({
@@ -69,61 +52,65 @@ const options = reactive({
   rowSelection: { showCheckedAll: true },
   add: {
     show: true,
-    auth: ["/v1/advert/MediaList/save"],
+    auth: ['/v1/advert/MediaList/save'],
     func: async () => {
-      editRef.value?.open();
+      editRef.value?.open()
     },
   },
   edit: {
     show: true,
-    auth: ["/v1/advert/MediaList/update"],
+    auth: ['/v1/advert/MediaList/update'],
     func: async (record) => {
-      editRef.value?.open("edit");
-      editRef.value?.setFormData(record);
+      editRef.value?.open('edit')
+      editRef.value?.setFormData(record)
     },
   },
   delete: {
     show: true,
-    auth: ["/v1/advert/MediaList/destroy"],
+    auth: ['/v1/advert/MediaList/destroy'],
     func: async (params) => {
-      const resp = await api.destroy(params);
+      const resp = await api.destroy(params)
       if (resp.code === 200) {
-        Message.success(`删除成功!`);
-        crudRef.value?.refresh();
+        Message.success(`删除成功!`)
+        crudRef.value?.refresh()
       }
     },
   },
-});
+})
 
 // SaTable 列配置
 const columns = reactive([
-  { title: "媒体id", dataIndex: "id", width: 180 },
-  { title: "媒体名称", dataIndex: "name", width: 180 },
-  { title: "媒体渠道简称", dataIndex: "channel_name", width: 180 },
-  { title: "安卓监测链接", dataIndex: "andurl", width: 180 },
-  { title: "ios监测链接", dataIndex: "iosurl", width: 180 },
-  { title: "小游戏监测链接", dataIndex: "xyxurl", width: 180 },
-  { title: "小游戏路径参数补充", dataIndex: "appleturl", width: 180 },
+  { title: '媒体id', dataIndex: 'id', width: 180 },
+  { title: '媒体名称', dataIndex: 'name', width: 180 },
+  { title: '媒体渠道简称', dataIndex: 'channel_name', width: 180 },
+  { title: '安卓监测链接', dataIndex: 'andurl', width: 180 },
+  { title: 'ios监测链接', dataIndex: 'iosurl', width: 180 },
+  { title: '小游戏监测链接', dataIndex: 'xyxurl', width: 180 },
+  { title: '小游戏路径参数补充', dataIndex: 'appleturl', width: 180 },
   {
-    title: "状态",
-    dataIndex: "status",
-    type: "dict",
-    dict: "nomal_or_stop",
+    title: '状态',
+    dataIndex: 'status',
+    type: 'dict',
+    dict: 'nomal_or_stop',
     width: 120,
   },
-]);
+])
 
 // 页面数据初始化
-const initPage = async () => {};
+const initPage = async () => {}
 
 // SaTable 数据请求
 const refresh = async () => {
-  crudRef.value?.refresh();
-};
+  crudRef.value?.refresh()
+}
 
 // 页面加载完成执行
 onMounted(async () => {
-  initPage();
-  refresh();
-});
+  initPage()
+  refresh()
+})
+</script>
+
+<script>
+export default { name: 'v1/advert/mediaList' }
 </script>

+ 4 - 0
src/views/v1/center/game/index.vue

@@ -167,3 +167,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/game' }
+</script>

+ 4 - 0
src/views/v1/center/gameGroup/index.vue

@@ -93,3 +93,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/gameGroup' }
+</script>

+ 4 - 0
src/views/v1/center/gameMain/index.vue

@@ -93,3 +93,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/gameMain' }
+</script>

+ 4 - 0
src/views/v1/center/gamePayChannel/index.vue

@@ -81,3 +81,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/gamePayChannel' }
+</script>

+ 4 - 0
src/views/v1/center/iosPayWay/index.vue

@@ -103,3 +103,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/iosPayWay' }
+</script>

+ 4 - 0
src/views/v1/center/qxSwitch/index.vue

@@ -122,3 +122,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/center/qxSwitch' }
+</script>

+ 1 - 0
src/views/v1/customer/account/banList/index.vue

@@ -0,0 +1 @@
+ 

+ 32 - 53
src/views/v1/customer/account/index.vue

@@ -1,11 +1,6 @@
 <template>
   <div class="ma-content-block">
-    <sa-table
-      ref="crudRef"
-      :options="options"
-      :searchForm="searchForm"
-      @search="search"
-    >
+    <sa-table ref="crudRef" :options="options" :searchForm="searchForm" @search="search">
       <!-- 搜索区 tableSearch -->
       <template #tableSearch>
         <a-col :sm="8" :xs="24">
@@ -24,12 +19,7 @@
 
       <!-- Table 自定义渲染 -->
       <template #crudContent>
-        <a-descriptions
-          direction="vertical"
-          size="large"
-          title="账号信息"
-          bordered
-        >
+        <a-descriptions direction="vertical" size="large" title="账号信息" bordered>
           <a-descriptions-item label="账号">
             {{ data[0]?.user_name }}
           </a-descriptions-item>
@@ -63,24 +53,9 @@
           </a-descriptions-item>
           <a-descriptions-item label="操作">
             <a-space v-if="data[0]?.status == 1">
-              <a-button
-                status="danger"
-                type="primary"
-                @click="edit('pwd', data[0])"
-                size="small"
-                >修改密码</a-button
-              >
-              <a-button
-                type="primary"
-                @click="edit('mobile', data[0])"
-                size="small"
-                >修改绑定手机号码</a-button
-              >
-              <a-button
-                status="warning"
-                type="primary"
-                @click="edit('real', data[0])"
-                size="small"
+              <a-button status="danger" type="primary" @click="edit('pwd', data[0])" size="small">修改密码</a-button>
+              <a-button type="primary" @click="edit('mobile', data[0])" size="small">修改绑定手机号码</a-button>
+              <a-button status="warning" type="primary" @click="edit('real', data[0])" size="small"
                 >修改实名信息</a-button
               >
             </a-space>
@@ -95,50 +70,54 @@
 </template>
 
 <script setup>
-import { onMounted, ref, reactive } from "vue";
+import { onMounted, ref, reactive } from 'vue'
 // import { Message } from "@arco-design/web-vue";
-import EditForm from "./edit.vue";
-import api from "../../api/customer/account";
+import EditForm from './edit.vue'
+import api from '../../api/customer/account'
 
 // 引用定义
-const crudRef = ref();
-const editRef = ref();
-const viewRef = ref();
-const data = ref([]);
+const crudRef = ref()
+const editRef = ref()
+const viewRef = ref()
+const data = ref([])
 
 // 搜索表单
 const searchForm = ref({
-  val: "",
-  type: "1",
-});
+  val: '',
+  type: '1',
+})
 
 // SaTable 基础配置
 const options = reactive({
   api: api.getPageList,
   pageSimple: true,
-});
+})
 
 // 页面数据初始化
-const initPage = async () => {};
+const initPage = async () => {}
 
 // SaTable 数据请求
 const refresh = async () => {
-  crudRef.value?.refresh();
-  data.value = crudRef.value?.getTableData() || [];
-  console.log("===>", crudRef.value?.getTableData());
-};
+  crudRef.value?.refresh()
+  data.value = crudRef.value?.getTableData() || []
+  console.log('===>', crudRef.value?.getTableData())
+}
 
 const edit = async (type, data) => {
-  editRef.value?.open(type, data);
-};
+  editRef.value?.open(type, data)
+}
 
 const search = async () => {
-  data.value = crudRef.value?.getTableData() || [];
-};
+  data.value = crudRef.value?.getTableData() || []
+}
 
 // 页面加载完成执行
 onMounted(async () => {
-  initPage();
-  // refresh();
-});
+  initPage()
+  refresh()
+})
+</script>
+
+<script>
+export default { name: 'v1/customer/account' }
 </script>

+ 4 - 0
src/views/v1/customer/reconciliation/cwAgent/index.vue

@@ -133,3 +133,7 @@ const handleRequestData = () => {
   total.value = res.totalData
 }
 </script>
+
+<script>
+export default { name: 'v1/reconciliation/channel_summary' }
+</script>

+ 5 - 1
src/views/v1/customer/reconciliation/payChannelIncome/index.vue

@@ -122,6 +122,10 @@ const refresh = async () => {
 // 页面加载完成执行
 onMounted(async () => {
   initPage()
-  // refresh();
+  refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/reconciliation/channelInCome' }
+</script>

+ 5 - 1
src/views/v1/customer/roleData/index.vue

@@ -117,6 +117,10 @@ const refresh = async () => {
 // 页面加载完成执行
 onMounted(async () => {
   initPage()
-  // refresh();
+  refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/customer/roleData' }
+</script>

+ 5 - 1
src/views/v1/customer/sdkOrder/index.vue

@@ -185,6 +185,10 @@ const refresh = async () => {
 // 页面加载完成执行
 onMounted(async () => {
   initPage()
-  // refresh();
+  refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/customer/sdkOrder' }
+</script>

+ 4 - 0
src/views/v1/gameLog/active/index.vue

@@ -131,3 +131,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/active' }
+</script>

+ 5 - 8
src/views/v1/gameLog/activeDay/index.vue

@@ -119,14 +119,11 @@ const handleRequestData = () => {
 
 // 页面加载完成执行
 onMounted(async () => {
-  await initPage()
-  // 设置一些默认列,以防API没有返回列信息
-  if (columns.value.length === 0) {
-    columns.value = [
-      { title: '注册日期', dataIndex: 'reg_date', width: 120 },
-      { title: '注册数', dataIndex: 'reg_count', width: 100 },
-    ]
-  }
+  initPage()
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/activeDay' }
+</script>

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

@@ -159,3 +159,7 @@ const handleRequestData = () => {
   total.value = res.totalData
 }
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/agent' }
+</script>

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

@@ -250,3 +250,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/agentByDay' }
+</script>

+ 4 - 0
src/views/v1/gameLog/chart/index.vue

@@ -489,3 +489,7 @@ const resetSearch = async () => {
   initPage()
 }
 </script>
+
+<script>
+export default { name: 'v1/analyse/chart' }
+</script>

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

@@ -392,3 +392,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/ltvd' }
+</script>

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

@@ -271,3 +271,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/ltvm' }
+</script>

+ 4 - 0
src/views/v1/gameLog/pay/index.vue

@@ -151,3 +151,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/pay' }
+</script>

+ 4 - 0
src/views/v1/gameLog/payRemain/index.vue

@@ -215,3 +215,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/pay_remain' }
+</script>

+ 5 - 8
src/views/v1/gameLog/regDay/index.vue

@@ -108,14 +108,11 @@ const handleRequestData = () => {
 
 // 页面加载完成执行
 onMounted(async () => {
-  await initPage()
-  // 设置一些默认列,以防API没有返回列信息
-  if (columns.value.length === 0) {
-    columns.value = [
-      { title: '注册日期', dataIndex: 'reg_date', width: 120 },
-      { title: '注册数', dataIndex: 'reg_count', width: 100 },
-    ]
-  }
+  initPage()
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/regDay' }
+</script>

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

@@ -208,3 +208,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/regHour' }
+</script>

+ 4 - 0
src/views/v1/gameLog/roleData/index.vue

@@ -134,3 +134,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/gameLog/roleData' }
+</script>

+ 4 - 0
src/views/v1/gameLog/sdkLoginLog/index.vue

@@ -155,3 +155,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/user-logs/sdkLoginLog' }
+</script>

+ 4 - 0
src/views/v1/gameLog/sdkOrderRank/index.vue

@@ -188,3 +188,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/user-logs/sdkOrderRank' }
+</script>

+ 4 - 0
src/views/v1/gameLog/sdkOrderSuccess/index.vue

@@ -169,3 +169,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/user-logs/sdkOrderSuccess' }
+</script>

+ 5 - 0
src/views/v1/gameLog/sdkRegLog/index.vue

@@ -154,5 +154,10 @@ const refresh = async () => {
 // 页面加载完成执行
 onMounted(async () => {
   initPage()
+  refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/user-logs/sdkRegLog' }
+</script>

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

@@ -244,3 +244,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/channelAnalysis/site' }
+</script>

+ 4 - 0
src/views/v1/gameLog/total/index.vue

@@ -257,3 +257,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/total' }
+</script>

+ 4 - 0
src/views/v1/gameLog/totalMonth/index.vue

@@ -285,3 +285,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/analyse/total_month' }
+</script>

+ 4 - 0
src/views/v1/material/cost/index.vue

@@ -186,3 +186,7 @@ onMounted(async () => {
   refresh()
 })
 </script>
+
+<script>
+export default { name: 'v1/material/cost' }
+</script>