|
|
@@ -7,30 +7,6 @@
|
|
|
<template #content>
|
|
|
<div style="overflow: auto;height: calc(100vh - 220px)" ref="rollRef" @scroll="handleScroll">
|
|
|
<div style="display: flex;justify-content: space-between;margin: 10px 24px 20px 24px;">
|
|
|
-<!-- <div>-->
|
|
|
-<!-- <div class="inline-16">-->
|
|
|
-<!-- <label class="search__label" >{{$t('部门')}}:</label>-->
|
|
|
-<!-- <el-cascader class="inline-16" placement="bottom" ref="selectdep" size="small" v-model="depment" :options="deplist" :props="{emitPath:true,expandTrigger:'hover',checkStrictly:true,label:'label',value:'departmentid',children:'children'}" @change="selectDep" clearable></el-cascader>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="inline-16">-->
|
|
|
-<!-- <label class="search__label" >{{$t('业务员')}}:</label>-->
|
|
|
-<!-- <el-select v-model="person" filterable :placeholder="$t('请选择')" size="small" clearable @change="selectPerson">-->
|
|
|
-<!-- <el-option-->
|
|
|
-<!-- v-for="item in personnelList"-->
|
|
|
-<!-- :key="item.index"-->
|
|
|
-<!-- :label="$t(item.name)"-->
|
|
|
-<!-- :value="item.userid">-->
|
|
|
-<!-- </el-option>-->
|
|
|
-<!-- </el-select>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="mt-10 inline-16">-->
|
|
|
-<!-- <p class="search__label">{{$t('状态')}}:</p>-->
|
|
|
-<!-- <el-select v-model="isleave" clearable style="margin-right:10px" size="small" :placeholder="$t('请选择状态')" @change="leaveChange" >-->
|
|
|
-<!-- <el-option :label="$t('在职')" value="1"></el-option>-->
|
|
|
-<!-- <el-option :label="$t('离职')" value="2"></el-option>-->
|
|
|
-<!-- </el-select>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
<depStatus ref="allDepRef" @depData="depData" @personData="depData" @leaveData="depData"></depStatus>
|
|
|
<div>
|
|
|
<btnSelect :btn-title="['全部','本年','本季','本月','上月','去年']" :date-type="dateType" @btnClick="btnClick"></btnSelect>
|
|
|
@@ -472,6 +448,7 @@ export default {
|
|
|
/*联系人数据概况*/
|
|
|
this.paramMain.content.type = '0'
|
|
|
this.queryMainData(dataid,this.dateType)
|
|
|
+ this.$refs.salesContributionRef.listData(dataid)
|
|
|
},
|
|
|
/*其他页面再次调用*/
|
|
|
otherModel(dataid,type,isleave,state){
|
|
|
@@ -479,6 +456,13 @@ export default {
|
|
|
this.paramMain.content.where.isleave = isleave
|
|
|
this.paramMain.content.dataid = dataid
|
|
|
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)
|
|
|
},
|
|
|
/*联系人数据概况*/
|
|
|
async queryMainData(dataid,dateType){
|