|
@@ -54,6 +54,26 @@ |
|
|
> |
|
|
> |
|
|
</el-date-picker> |
|
|
</el-date-picker> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="label" style="margin-left: 20px">销讲业务:</div> |
|
|
|
|
|
<el-select |
|
|
|
|
|
class="div-inp" |
|
|
|
|
|
@change="packtaps" |
|
|
|
|
|
v-model="marketingBusiness" |
|
|
|
|
|
multiple |
|
|
|
|
|
clearable |
|
|
|
|
|
filterable |
|
|
|
|
|
collapse-tags |
|
|
|
|
|
placeholder="请选择" |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="item in templateList" |
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
:label="item.templateName" |
|
|
|
|
|
:value="item.id" |
|
|
|
|
|
> |
|
|
|
|
|
</el-option> |
|
|
|
|
|
</el-select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@@ -355,11 +375,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
v-if="Zxllist.length != 0" |
|
|
v-if="Zxllist.length != 0" |
|
|
style=" |
|
|
|
|
|
min-height: 320px; |
|
|
|
|
|
width: 94%; |
|
|
|
|
|
margin: -18px auto 16px; |
|
|
|
|
|
" |
|
|
|
|
|
|
|
|
style="min-height: 320px; width: 94%; margin: -18px auto 16px" |
|
|
> |
|
|
> |
|
|
<div class="jinbox" v-for="(item, i) in Zxllist" :key="i"> |
|
|
<div class="jinbox" v-for="(item, i) in Zxllist" :key="i"> |
|
|
<!-- <div class="jinboxtit">{{ item.name }}</div> --> |
|
|
<!-- <div class="jinboxtit">{{ item.name }}</div> --> |
|
@@ -469,11 +485,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
v-if="Zxllistchildren.length != 0" |
|
|
v-if="Zxllistchildren.length != 0" |
|
|
style=" |
|
|
|
|
|
min-height: 320px; |
|
|
|
|
|
width: 94%; |
|
|
|
|
|
margin: -18px auto 16px; |
|
|
|
|
|
" |
|
|
|
|
|
|
|
|
style="min-height: 320px; width: 94%; margin: -18px auto 16px" |
|
|
> |
|
|
> |
|
|
<div class="jinbox" v-for="(item, i) in Zxllistchildren" :key="i"> |
|
|
<div class="jinbox" v-for="(item, i) in Zxllistchildren" :key="i"> |
|
|
<!-- <div class="jinboxtit">{{ item.name }}</div> --> |
|
|
<!-- <div class="jinboxtit">{{ item.name }}</div> --> |
|
@@ -617,6 +629,9 @@ export default { |
|
|
|
|
|
|
|
|
activeName: localStorage.getItem("activeName") || "0", // 顾问选项卡选中变量值 |
|
|
activeName: localStorage.getItem("activeName") || "0", // 顾问选项卡选中变量值 |
|
|
activeIndex: localStorage.getItem("activeIndex") || "", // 系统访问来源的下标 |
|
|
activeIndex: localStorage.getItem("activeIndex") || "", // 系统访问来源的下标 |
|
|
|
|
|
|
|
|
|
|
|
templateList: [], // 销讲业务列表 |
|
|
|
|
|
marketingBusiness: [], // 选中的销讲业务 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
@@ -641,6 +656,7 @@ export default { |
|
|
this.overviewreceptionOverviewZxl(); |
|
|
this.overviewreceptionOverviewZxl(); |
|
|
this.overviewteamOrAccountSellingTrends(); |
|
|
this.overviewteamOrAccountSellingTrends(); |
|
|
this.overviewteamOrAccountSellingTrends1(); |
|
|
this.overviewteamOrAccountSellingTrends1(); |
|
|
|
|
|
this.getMarketingBusiness() |
|
|
} else { |
|
|
} else { |
|
|
this.zkhousePage(); |
|
|
this.zkhousePage(); |
|
|
} |
|
|
} |
|
@@ -659,6 +675,17 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 获取销讲业务 |
|
|
|
|
|
getMarketingBusiness() { |
|
|
|
|
|
this.$api.http |
|
|
|
|
|
.marketingBusiness({ houseId: this.houseId }) |
|
|
|
|
|
.then((res) => { |
|
|
|
|
|
console.log(res); |
|
|
|
|
|
if (res.code == 10000) { |
|
|
|
|
|
this.templateList = res.data; |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
// 选项卡切换事件 |
|
|
// 选项卡切换事件 |
|
|
handleClick(tab) { |
|
|
handleClick(tab) { |
|
|
this.activeName = tab; |
|
|
this.activeName = tab; |
|
@@ -735,6 +762,7 @@ export default { |
|
|
dateType: this.TimetoAhoose, |
|
|
dateType: this.TimetoAhoose, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -760,6 +788,7 @@ export default { |
|
|
dateType: this.TimetoAhoose, |
|
|
dateType: this.TimetoAhoose, |
|
|
type: this.activeName, |
|
|
type: this.activeName, |
|
|
...this.fromobj, |
|
|
...this.fromobj, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1000,6 +1029,7 @@ export default { |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
flag: this.activeIndex, |
|
|
flag: this.activeIndex, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1042,6 +1072,7 @@ export default { |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
deptId: this.departmentsri, |
|
|
deptId: this.departmentsri, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1070,6 +1101,7 @@ export default { |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
accountId: this.consultantsri, |
|
|
accountId: this.consultantsri, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1131,6 +1163,7 @@ export default { |
|
|
dateType: this.TimetoAhoose, |
|
|
dateType: this.TimetoAhoose, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1149,6 +1182,7 @@ export default { |
|
|
dateType: this.TimetoAhoose, |
|
|
dateType: this.TimetoAhoose, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateStart: this.fromobj.statDateStart, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
statDateEnd: this.fromobj.statDateEnd, |
|
|
|
|
|
marketingBusiness: this.marketingBusiness.join(','), |
|
|
}; |
|
|
}; |
|
|
if (this.TimetoAhoose == 8) { |
|
|
if (this.TimetoAhoose == 8) { |
|
|
parmo.dateType = null; |
|
|
parmo.dateType = null; |
|
@@ -1566,6 +1600,17 @@ export default { |
|
|
this.systemAccessranking(); |
|
|
this.systemAccessranking(); |
|
|
this.overviewreceptionOverviewZxl(); |
|
|
this.overviewreceptionOverviewZxl(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
packtaps() { |
|
|
|
|
|
this.overviewreceptionOverview(); |
|
|
|
|
|
this.overviewreceptionData(); |
|
|
|
|
|
this.overviewteamOrAccountSellingTrends(); |
|
|
|
|
|
this.overviewteamOrAccountSellingTrends1(); |
|
|
|
|
|
this.overviewreceptionRanking(); |
|
|
|
|
|
this.systemAccessranking(); |
|
|
|
|
|
this.overviewreceptionOverviewZxl(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 计算百分比 |
|
|
// 计算百分比 |
|
|
dealData(arr) { |
|
|
dealData(arr) { |
|
|
let num = Math.max.apply( |
|
|
let num = Math.max.apply( |
|
|