Parcourir la source

素材大盘发版测试

朱鑫波 il y a 3 ans
Parent
commit
d132faa2b3

+ 2 - 1
src/utils/request.js

@@ -21,9 +21,10 @@ else if (process.env.NODE_ENV === 'debug') {
 else if (process.env.NODE_ENV === 'production') {
 	// axios.defaults.baseURL = 'http://apipre.tjyourong.com.cn/jeecg-boot'; // 预生产
 	// axios.defaults.baseURL = 'http://gateway.tjyourong.com.cn/jeecg-boot';//测试
-	axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot'; // 生产环境
+	// axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot'; // 生产环境
 	// axios.defaults.baseURL = 'http://gateway.tjyourong.com.cn/jeecg-boot'; // 测试环境
 	// axios.defaults.baseURL = 'http://192.168.0.195:9999/jeecg-boot'; // 测试环境
+	axios.defaults.baseURL = 'http://192.168.1.134:7001/jeecg-boot'; // 泽宇环境
 
 }
 const service = axios.create({

+ 33 - 0
src/views/modules/Statistics/materialReport/materialReport.vue

@@ -577,6 +577,33 @@ const columnsFixd = [
         scopedSlots: { customRender: 'cost' }
     }
 ]
+const columnsTt = [
+    {
+        title: '排名',
+        dataIndex: 'rowNumber',
+        align: 'center',
+        customRender: (t, r, index) => {
+            return index + 1
+        }
+    },
+    {
+        title: '设计人员',
+        dataIndex: 'userName',
+        align: 'center'
+    },
+
+    {
+        title: '消耗(元)',
+        dataIndex: 'cost',
+        align: 'center',
+        scopedSlots: { customRender: 'cost' }
+    },
+	{
+        title: '爆款视频数',
+        dataIndex: 'videoHotCount',
+        align: 'center'
+    },
+]
 
 export default {
     components: {
@@ -1242,6 +1269,7 @@ export default {
             if (data == 'materialQuality') {
                 params.materialQuality = 1
             } else if (data == 'materialType') {
+				params.materialQuality = 0
                 params.materialType = this.videoType == 0 ? '' : this.videoType
             }
             params = JSON.stringify(params)
@@ -1319,6 +1347,11 @@ export default {
             } else {
                 this.timeShowEchartsStatus = true
             }
+			if (this.mediaDimension === 'b') {
+				this.columns = [...columnsFixd]
+            } else {
+				this.columns = [...columnsTt]
+            }
             this.getData()
         },
         resetSubmit() {