浏览代码

提交修改

newStyle
douzhuo 1年前
父节点
当前提交
08e5b8d38a
共有 1 个文件被更改,包括 55 次插入10 次删除
  1. +55
    -10
      src/views/Statistics/ReceptionOverview.vue

+ 55
- 10
src/views/Statistics/ReceptionOverview.vue 查看文件

@@ -54,6 +54,26 @@
>
</el-date-picker>
</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>

@@ -355,11 +375,7 @@
</div>
<div
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="jinboxtit">{{ item.name }}</div> -->
@@ -469,11 +485,7 @@
</div>
<div
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="jinboxtit">{{ item.name }}</div> -->
@@ -617,6 +629,9 @@ export default {

activeName: localStorage.getItem("activeName") || "0", // 顾问选项卡选中变量值
activeIndex: localStorage.getItem("activeIndex") || "", // 系统访问来源的下标

templateList: [], // 销讲业务列表
marketingBusiness: [], // 选中的销讲业务
};
},
watch: {
@@ -641,6 +656,7 @@ export default {
this.overviewreceptionOverviewZxl();
this.overviewteamOrAccountSellingTrends();
this.overviewteamOrAccountSellingTrends1();
this.getMarketingBusiness()
} else {
this.zkhousePage();
}
@@ -659,6 +675,17 @@ export default {
}
},
methods: {
// 获取销讲业务
getMarketingBusiness() {
this.$api.http
.marketingBusiness({ houseId: this.houseId })
.then((res) => {
console.log(res);
if (res.code == 10000) {
this.templateList = res.data;
}
});
},
// 选项卡切换事件
handleClick(tab) {
this.activeName = tab;
@@ -735,6 +762,7 @@ export default {
dateType: this.TimetoAhoose,
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -760,6 +788,7 @@ export default {
dateType: this.TimetoAhoose,
type: this.activeName,
...this.fromobj,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1000,6 +1029,7 @@ export default {
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
flag: this.activeIndex,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1042,6 +1072,7 @@ export default {
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
deptId: this.departmentsri,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1070,6 +1101,7 @@ export default {
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
accountId: this.consultantsri,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1131,6 +1163,7 @@ export default {
dateType: this.TimetoAhoose,
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1149,6 +1182,7 @@ export default {
dateType: this.TimetoAhoose,
statDateStart: this.fromobj.statDateStart,
statDateEnd: this.fromobj.statDateEnd,
marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 8) {
parmo.dateType = null;
@@ -1566,6 +1600,17 @@ export default {
this.systemAccessranking();
this.overviewreceptionOverviewZxl();
},

packtaps() {
this.overviewreceptionOverview();
this.overviewreceptionData();
this.overviewteamOrAccountSellingTrends();
this.overviewteamOrAccountSellingTrends1();
this.overviewreceptionRanking();
this.systemAccessranking();
this.overviewreceptionOverviewZxl();
},

// 计算百分比
dealData(arr) {
let num = Math.max.apply(


正在加载...
取消
保存