|
@@ -161,6 +161,8 @@
|
|
|
</template>
|
|
</template>
|
|
|
</dataDetail>
|
|
</dataDetail>
|
|
|
<salesContribution class="mt-10" ref="salesContributionRef"></salesContribution>
|
|
<salesContribution class="mt-10" ref="salesContributionRef"></salesContribution>
|
|
|
|
|
+ <contactsAddAnalysis class="mt-10" ref="contactsAddAnalysisRef"></contactsAddAnalysis>
|
|
|
|
|
+ <contactsFollowAnalysis class="mt-10" ref="contactsFollowAnalysisRef"></contactsFollowAnalysis>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</normal-layout>
|
|
</normal-layout>
|
|
@@ -174,9 +176,11 @@ import dataBoard from '@/components/dataBoard/index'
|
|
|
import dataDetail from '@/template/dataDetail/index'
|
|
import dataDetail from '@/template/dataDetail/index'
|
|
|
import salesContribution from './components/salesContribution'
|
|
import salesContribution from './components/salesContribution'
|
|
|
import depStatus from './components/depStatus'
|
|
import depStatus from './components/depStatus'
|
|
|
|
|
+import contactsAddAnalysis from './components/contactsAddAnalysis'
|
|
|
|
|
+import contactsFollowAnalysis from './components/contactsFollowAnalysis'
|
|
|
export default {
|
|
export default {
|
|
|
name: "index",
|
|
name: "index",
|
|
|
- components:{normalLayout,btnSelect,dataBoard,dataDetail,salesContribution,depStatus},
|
|
|
|
|
|
|
+ components:{normalLayout,btnSelect,dataBoard,dataDetail,salesContribution,depStatus,contactsAddAnalysis,contactsFollowAnalysis},
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
|
scrollData:'',
|
|
scrollData:'',
|
|
@@ -327,21 +331,29 @@ export default {
|
|
|
this.$refs.allDepRef.deplist = this.deplist
|
|
this.$refs.allDepRef.deplist = this.deplist
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.deplist = this.deplist
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.deplist = this.deplist
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.deplist = this.deplist
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.deplist = this.deplist
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.deplist = this.deplist
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.deplist = this.deplist
|
|
|
|
|
|
|
|
this.personnelList = res.data.hr
|
|
this.personnelList = res.data.hr
|
|
|
this.$refs.allDepRef.personnelList = this.personnelList
|
|
this.$refs.allDepRef.personnelList = this.personnelList
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.personnelList = this.personnelList
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.personnelList = this.personnelList
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.personnelList = this.personnelList
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.personnelList = this.personnelList
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.personnelList = this.personnelList
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.personnelList = this.personnelList
|
|
|
|
|
|
|
|
this.depment = ''
|
|
this.depment = ''
|
|
|
this.$refs.allDepRef.depment = this.depment
|
|
this.$refs.allDepRef.depment = this.depment
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.depment = this.depment
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.depment = this.depment
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.depment = this.depment
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.depment = this.depment
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = this.depment
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.depment = this.depment
|
|
|
|
|
|
|
|
this.person = JSON.parse(window.sessionStorage.getItem('active_account')).name
|
|
this.person = JSON.parse(window.sessionStorage.getItem('active_account')).name
|
|
|
this.$refs.allDepRef.person = this.person
|
|
this.$refs.allDepRef.person = this.person
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.person = this.person
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.person = this.person
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.person = this.person
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.person = this.person
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = this.person
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.$refs.dataTemPlateRef.$refs.depStatusRef.person = this.person
|
|
|
|
|
|
|
|
const userid = JSON.parse(sessionStorage.getItem('active_account')).userid
|
|
const userid = JSON.parse(sessionStorage.getItem('active_account')).userid
|
|
|
this.otherMethod(userid)
|
|
this.otherMethod(userid)
|
|
@@ -455,6 +467,8 @@ export default {
|
|
|
this.$refs.salesContributionRef.paramCus.content.dateType = '本年'
|
|
this.$refs.salesContributionRef.paramCus.content.dateType = '本年'
|
|
|
this.$refs.salesContributionRef.paramPro.content.dateType = '本年'
|
|
this.$refs.salesContributionRef.paramPro.content.dateType = '本年'
|
|
|
this.$refs.salesContributionRef.listData(dataid,0,1)
|
|
this.$refs.salesContributionRef.listData(dataid,0,1)
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.listData(0,dataid,1,null,true)
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.listData(0,dataid,1,null,true)
|
|
|
},
|
|
},
|
|
|
/*其他页面再次调用*/
|
|
/*其他页面再次调用*/
|
|
|
otherModel(dataid,type,isleave,state){
|
|
otherModel(dataid,type,isleave,state){
|
|
@@ -469,6 +483,8 @@ export default {
|
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.isleave = isleave
|
|
this.$refs.salesContributionRef.$refs.depStatusProRef.isleave = isleave
|
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.isleave = isleave
|
|
this.$refs.salesContributionRef.$refs.depStatusCusRef.isleave = isleave
|
|
|
this.$refs.salesContributionRef.listData(dataid,type,isleave,state)
|
|
this.$refs.salesContributionRef.listData(dataid,type,isleave,state)
|
|
|
|
|
+ this.$refs.contactsAddAnalysisRef.listData(0,dataid,1,state,null)
|
|
|
|
|
+ this.$refs.contactsFollowAnalysisRef.listData(0,dataid,1,state,null)
|
|
|
},
|
|
},
|
|
|
/*联系人数据概况*/
|
|
/*联系人数据概况*/
|
|
|
async queryMainData(dataid,dateType){
|
|
async queryMainData(dataid,dateType){
|