|
|
@@ -521,24 +521,66 @@ export default {
|
|
|
this.paramMain.content.type = type
|
|
|
this.paramMain.content.where.isleave = isleave
|
|
|
this.paramMain.content.dataid = dataid
|
|
|
+ this.person = state == '状态' ? '' : type == 0 ? dataid : ''
|
|
|
+ this.depment = type == 0 ? '' : dataid
|
|
|
+ this.isleave = isleave
|
|
|
this.queryMainData(dataid,this.dateType)
|
|
|
+
|
|
|
+ /*联系人销售贡献度排行*/
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.person = state == '状态' ? '' : type == 0 ? dataid : ''
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.person = state == '状态' ? '' : type == 0 ? dataid : ''
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.depment = type == 0 ? '' : dataid
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.depment = type == 0 ? '' : dataid
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.isleave = isleave
|
|
|
+
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.isleave = isleave
|
|
|
this.$refs.salesContributionRef.listData(dataid,type,isleave,state)
|
|
|
+
|
|
|
+ /*近12月联系人新增分析*/
|
|
|
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.contactsFollowAnalysisRef.listData(0,dataid,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.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.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.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)
|
|
|
+
|
|
|
+ /*近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.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)
|
|
|
},
|
|
|
/*联系人数据概况*/
|
|
|
@@ -582,14 +624,19 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label:'关联客户成交金额',
|
|
|
- value:this.tool.formatAmount(this.mainData.amount_customer,2,'¥'),
|
|
|
+ // value:this.tool.formatAmount(this.mainData.amount_customer,2,'¥'),
|
|
|
+ value:this.mainData.amount_customer < 10000 ? this.tool.formatAmount(this.mainData.amount_customer,2,'¥'):
|
|
|
+ this.tool.formatAmount(this.tool.unitConversion(this.mainData.amount_customer,10000),2,'¥'),
|
|
|
isTooltip:true,
|
|
|
+ isTitle:this.mainData.amount_customer < 10000?false:true,
|
|
|
tooltip:'统计联系人关联的客户标准、特殊订单下单金额。'
|
|
|
},
|
|
|
{
|
|
|
label:'关联项目成交金额',
|
|
|
- value:this.tool.formatAmount(this.mainData.amount_project,2,'¥'),
|
|
|
+ value:this.mainData.amount_project < 10000 ? this.tool.formatAmount(this.mainData.amount_project,2,'¥'):
|
|
|
+ this.tool.formatAmount(this.tool.unitConversion(this.mainData.amount_project,10000),2,'¥'),
|
|
|
isTooltip:true,
|
|
|
+ isTitle:this.mainData.amount_project < 10000?false:true,
|
|
|
tooltip:'统计联系人关联的项目订单下单金额。'
|
|
|
}
|
|
|
]
|