瀏覽代碼

联系人数据展示调整

qymljy 1 周之前
父節點
當前提交
992319e309

+ 2 - 2
src/HDrpManagement/contactData/components/contactsAddAnalysis.vue

@@ -60,7 +60,7 @@ export default {
     }
   },
   methods:{
-    async listData(type,id,isleave,state,init){
+    async listData(id,type,isleave,state,init){
       this.param.content.type = type
       this.param.content.dataid = id
       this.param.content.where.isleave = isleave
@@ -141,7 +141,7 @@ export default {
     },
     changeDate(){
       this.param.content.enddate = this.enddate
-      this.listData(this.param.content.type,this.param.content.dataid,this.param.content.where.isleave)
+      this.listData(this.param.content.dataid,this.param.content.type,this.param.content.where.isleave)
     },
     /*全屏*/
     onFull(){

+ 2 - 2
src/HDrpManagement/contactData/components/contactsFollowAnalysis.vue

@@ -60,7 +60,7 @@ export default {
     }
   },
   methods:{
-    async listData(type,id,isleave,state,init){
+    async listData(id,type,isleave,state,init){
       this.param.content.type = type
       this.param.content.dataid = id
       this.param.content.where.isleave = isleave
@@ -141,7 +141,7 @@ export default {
     },
     changeDate(){
       this.param.content.enddate = this.enddate
-      this.listData(this.param.content.type,this.param.content.dataid,this.param.content.where.isleave)
+      this.listData(this.param.content.dataid,this.param.content.type,this.param.content.where.isleave)
     },
     /*全屏*/
     onFull(){

+ 7 - 7
src/HDrpManagement/contactData/index.vue

@@ -540,48 +540,48 @@ export default {
       this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
-      this.$refs.contactsAddAnalysisRef.listData(0,dataid,1,state,null)
+      this.$refs.contactsAddAnalysisRef.listData(dataid,type,1,state,null)
 
       /*联系人关联线索情况统计*/
       this.$refs.statisticsOfCluesRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.statisticsOfCluesRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.statisticsOfCluesRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
       this.$refs.statisticsOfCluesRef.paramTable.content.pageNumber = 1
-      this.$refs.statisticsOfCluesRef.listData(dataid,0,1,state,null)
+      this.$refs.statisticsOfCluesRef.listData(dataid,type,1,state,null)
 
       /*联系人关联客户情况统计*/
       this.$refs.statisticsOfCustomerRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.statisticsOfCustomerRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.statisticsOfCustomerRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
       this.$refs.statisticsOfCustomerRef.paramTable.content.pageNumber = 1
-      this.$refs.statisticsOfCustomerRef.listData(dataid,0,1,state,null)
+      this.$refs.statisticsOfCustomerRef.listData(dataid,type,1,state,null)
 
       /*联系人关联项目情况统计*/
       this.$refs.statisticsOfProjectRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.statisticsOfProjectRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.statisticsOfProjectRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
       this.$refs.statisticsOfProjectRef.paramTable.content.pageNumber = 1
-      this.$refs.statisticsOfProjectRef.listData(dataid,0,1,state,null)
+      this.$refs.statisticsOfProjectRef.listData(dataid,type,1,state,null)
 
       /*联系人跟进情况统计*/
       this.$refs.statisticsOfFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.statisticsOfFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.statisticsOfFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
       this.$refs.statisticsOfFollowRef.paramTable.content.pageNumber = 1
-      this.$refs.statisticsOfFollowRef.listData(dataid,0,1,state,null)
+      this.$refs.statisticsOfFollowRef.listData(dataid,type,1,state,null)
 
       /*近12月联系人跟进分析*/
       this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
-      this.$refs.contactsFollowAnalysisRef.listData(0,dataid,1,state,null)
+      this.$refs.contactsFollowAnalysisRef.listData(dataid,type,1,state,null)
 
       /*联系人未跟进天数分析*/
       this.$refs.statisticsOfUnFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = state == '状态' ? '' : type == 0  ? dataid : ''
       this.$refs.statisticsOfUnFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = type == 0 ? '' : dataid
       this.$refs.statisticsOfUnFollowRef.$refs.dataTemPlateRef.$refs.depStatusRef.isleave = isleave
       this.$refs.statisticsOfUnFollowRef.paramTable.content.pageNumber = 1
-      this.$refs.statisticsOfUnFollowRef.listData(dataid,0,1,state,null)
+      this.$refs.statisticsOfUnFollowRef.listData(dataid,type,1,state,null)
     },
     /*联系人数据概况*/
     async queryMainData(dataid,dateType){