瀏覽代碼

中文-累计点击量,英文-路演数量接口

cxmo 1 年之前
父節點
當前提交
1b88dd2482

+ 4 - 0
src/api/modules/crmApi.js

@@ -665,6 +665,10 @@ const customInterence = {
   roadShowList: (params) => {
     return http.get("/custom/roadShowList", params);
   },
+  //中文客户累计点击量
+  getZNCustomClickList:(params)=>{
+    return http.get('/custom/user/listByReport',params)
+  },
   /**
    * 销售ToDo
    */

+ 8 - 11
src/views/custom_manage/overseasList/components/roadShowsDialog.vue

@@ -66,17 +66,14 @@ export default {
     },
     methods: {
         getTableData(){
-            //只管中文的
-            if(this.customData.Source===2){
-                this.tableLoading = true
-                customInterence.roadShowList({
-                    CompanyId:this.customData.CompanyId
-                }).then(res=>{
-                    this.tableLoading = false
-                    if(res.Ret!==200) return 
-                    this.dataList = res.Data||[]
-                })
-            }
+            this.tableLoading = true
+            customInterence.roadShowList({
+                CompanyId:this.customData.CompanyId
+            }).then(res=>{
+                this.tableLoading = false
+                if(res.Ret!==200) return 
+                this.dataList = res.Data||[]
+            })
         }
     },
 };

+ 11 - 2
src/views/custom_manage/overseasList/components/totalClicksDialog.vue

@@ -87,9 +87,8 @@ export default {
     },
     methods: {
         getTableData(){
-            //目前只有英文的
+            this.tableLoading = true
             if(this.customData.Source===1){
-                this.tableLoading = true
                 customInterence.customEnHitNumber({
                     ...this.tableParams,
                     CompanyId:this.customData.CompanyId - 10000000,
@@ -100,6 +99,16 @@ export default {
                     this.dataList = res.Data.List || []
                     this.total = res.Data.Paging.Totals
                 })
+            }else{
+                customInterence.getZNCustomClickList({
+                    ...this.tableParams,
+                    CompanyId:this.customData.CompanyId
+                }).then(res=>{
+                    this.tableLoading = false
+                    if(res.Ret!==200) return 
+                    this.dataList = res.Data.List||[]
+                    this.total = res.Data.Paging.Totals
+                })
             }
         },
         handlePageChange(page){