Kaynağa Gözat

上线视频、账户报表(新)

朱鑫波 3 yıl önce
ebeveyn
işleme
9eff9ed544

+ 4 - 3
.env.development

@@ -1,9 +1,10 @@
 #音乐调用接口地址
 VUE_APP_BASE_API_URL = http://118.24.244.213:3030
 
-#账户报表/素材报表接口地址
-VUE_APP_BASE_REPORT_URL = http://192.168.1.134:9999/reportModule
+#快手账户报表/素材报表接口地址
+VUE_APP_BASE_REPORT_URL = http://api.tjyourong.com.cn/reportModule
 # 测试地址 http://gateway.tjyourong.com.cn
 # 线上地址 http://api.tjyourong.com.cn
 # 宋英豪 http://192.168.1.67:9999
-# 周泽宇 http://192.168.1.134:7006
+# 周泽宇 http://192.168.1.134:9999
+# 杨字安 http://192.168.1.43:9999

+ 3 - 3
src/views/modules/Statistics/toutiaoReport/accountReport.vue

@@ -564,8 +564,8 @@ export default {
             chartData: [],
             form: this.$form.createForm(this),
             reqUrl: process.env.VUE_APP_BASE_REPORT_URL + '/material/report/getProjectAccountByUserId',
-            accountListUrl: process.env.VUE_APP_BASE_REPORT_URL + '/account/report/bytedance/list',
-            charUrl: process.env.VUE_APP_BASE_REPORT_URL + '/account/report/bytedance/chart',
+            accountListUrl: process.env.VUE_APP_BASE_REPORT_URL + '/account/bytedance/report/bytedance/list',
+            charUrl: process.env.VUE_APP_BASE_REPORT_URL + '/account/bytedance/report/bytedance/chart',
 
             dataLoading: false,
             dateRanges: {
@@ -1084,7 +1084,7 @@ export default {
             let columns = column.splice(3)
             this.exportLoading = true
             // console.log(columns)
-            downFilePost(process.env.VUE_APP_BASE_REPORT_URL + '/account/report/bytedance/excelV2', {
+            downFilePost(process.env.VUE_APP_BASE_REPORT_URL + '/account/bytedance/report/bytedance/excelV2', {
                 mediaId: this.mediaId,
                 discount: this.discount,
                 accountIds: this.getFormData('accountIds'),

+ 8 - 8
src/views/modules/Statistics/toutiaoReport/videoReport.vue

@@ -327,10 +327,10 @@ const initVariableColimns = [
     },
     {
         title: '点击数',
-        dataIndex: 'clickMaterial',
+        dataIndex: 'click',
         align: 'center',
 
-        scopedSlots: { customRender: 'clickMaterial' },
+        scopedSlots: { customRender: 'click' },
         sorter: () => {}
     },
     {
@@ -344,17 +344,17 @@ const initVariableColimns = [
 
     {
         title: '展示数',
-        dataIndex: 'showMaterial',
+        dataIndex: 'show',
         align: 'center',
-        scopedSlots: { customRender: 'showMaterial' },
+        scopedSlots: { customRender: 'show' },
         sorter: () => {}
     },
 
     {
         title: '转化数',
-        dataIndex: 'convertMaterial',
+        dataIndex: 'convert',
         align: 'center',
-        scopedSlots: { customRender: 'convertMaterial' },
+        scopedSlots: { customRender: 'convert' },
         sorter: () => {}
     },
     {
@@ -473,7 +473,7 @@ export default {
                     this.ipagination.pageSize = pageSize
                 }
             },
-            videoUrl: process.env.VUE_APP_BASE_REPORT_URL + '/material/report/bytedance/list',
+            videoUrl: process.env.VUE_APP_BASE_REPORT_URL + '/material/bytedance/report/bytedance/list',
             reqUrl: process.env.VUE_APP_BASE_REPORT_URL + '/material/report/getProjectAccountByUserId',
             dateRanges: {
                 昨天: [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
@@ -736,7 +736,7 @@ export default {
                 })
                 columns = column.splice(this.columnsFixd.length)
             }
-            downFilePost(process.env.VUE_APP_BASE_REPORT_URL + '/material/report/excelV2', {
+            downFilePost(process.env.VUE_APP_BASE_REPORT_URL + '/material/bytedance/report/excelV2', {
                 columns,
                 userId: this.userInfo().id,
                 target: this.target,

+ 1 - 1
src/views/modules/Statistics/videoStatics/TTvideoStatics.vue

@@ -631,7 +631,7 @@ export default {
           return item.dataIndex
         })
       
-        columns=column.splice(7)
+        columns=column.splice(columnsFixd.length)
       }else{
         this.visibleLoading = true
       }

+ 2 - 2
vue.config.js

@@ -108,7 +108,7 @@ module.exports = {
         // target: 'http://192.168.1.59:7001', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要jeecg-boot后台项目  李煜一
-        // target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
+        target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目
@@ -118,7 +118,7 @@ module.exports = {
         // target: 'http://192.168.1.8:9999', // 学超
         // target:'http://gateway.tjyourong.com.cn', //测试
         // target:'http://apipre.tjyourong.com.cn', //预生产
-        target: 'http://192.168.1.134:7001', //请求本地 需要jeecg-boot后台项目  周泽宇
+        // target: 'http://192.168.1.134:7001', //请求本地 需要jeecg-boot后台项目  周泽宇
 
         // target:'http://gateway.tjyourong.com.cn/',//测试