Browse Source

提交修改

newStyle
风继续吹 1 year ago
parent
commit
1672775c5a
2 changed files with 26 additions and 609 deletions
  1. +13
    -600
      src/page/wel.vue
  2. +13
    -9
      src/views/Customer/index.vue

+ 13
- 600
src/page/wel.vue View File

@@ -1544,11 +1544,14 @@
</div>

<div class="sys-box">
<img
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
class="l-img"
:src="`/img/companyicon/${data.paramsName}.png`"
alt=""
/>
<img v-else class="l-img" :src="data.paramsNamePath" alt="">
<div class="syc">
<span class="syc-bi">环比:</span>
<span class="sys-val">{{ sysCompare[data.paramsName] }}</span>
@@ -1575,606 +1578,6 @@
</div>
</div>
</div>
<!-- To Doing 待删除 -->
<template v-if="false">
<!-- 接待量 companyElCardList -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>接待量</div>
<el-tooltip
effect="light"
content="筛选时间内,已经结束的接待条数,不包含待接单;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">{{ sysSec.receptionCount || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon4.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.receptionCount || 0 }}</span
>

<span class="span2-2" v-if="orderBy.receptionCount > 0">
+{{ orderBy.receptionCount || 0 }}
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.receptionCount < 0">
{{ orderBy.receptionCount || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.receptionCount > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.receptionCount < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 有效接待 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>有效接待</div>
<el-tooltip
effect="light"
content="筛选时间内,标记为有效的接待数,不包含待接单;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">{{ sysSec.activeCustomer || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon5.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.activeCustomer || 0 }}</span
>

<span class="span2-2" v-if="orderBy.activeCustomer > 0">
+{{ orderBy.activeCustomer || 0 }}
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.activeCustomer < 0">
{{ orderBy.activeCustomer || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.activeCustomer > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.activeCustomer < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 平均销讲执行率 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>平均销讲执行率</div>
<el-tooltip
effect="light"
content="筛选时间内,有效接待(不包含待接单)的平均执行率;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">{{ sysSec.avgFration || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon11.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.avgFration || 0 }}</span
>

<span class="span2-2" v-if="orderBy.avgFration > 0">
+{{ orderBy.avgFration || 0 }}%
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.avgFration < 0">
{{ orderBy.avgFration || 0 }}%
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.avgFration > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.avgFration < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 平均挖掘执行率 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>平均挖掘执行率</div>
<el-tooltip
effect="light"
content="筛选时间内,已标记的有效接待挖掘执行的平均值;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">{{ sysSec.wordFraction || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon11.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.wordFraction || 0 }}</span
>

<span class="span2-2" v-if="orderBy.wordFraction > 0">
+{{ orderBy.wordFraction || 0 }}%
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.wordFraction < 0">
{{ orderBy.wordFraction || 0 }}%
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.wordFraction > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.wordFraction < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 平均挖掘成功率 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>平均挖掘成功率</div>
<el-tooltip
effect="light"
content="筛选时间内,已标记的有效接待挖掘成功的平均值;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">
{{ sysSec.wordFinishFraction || 0 }}
</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon11.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.wordFinishFraction || 0 }}</span
>

<span class="span2-2" v-if="orderBy.wordFinishFraction > 0">
+{{ orderBy.wordFinishFraction || 0 }}%
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.wordFinishFraction < 0">
{{ orderBy.wordFinishFraction || 0 }}%
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.wordFinishFraction > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.wordFinishFraction < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 违禁接待次数 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>违禁接待次数</div>
<el-tooltip
effect="light"
content="筛选时间内,出现违禁的接待次数,不包含待接单/无效接待/无效违禁;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">{{ sysSec.prohibitedCount || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon6.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.prohibitedCount || 0 }}</span
>

<span class="span2-2" v-if="orderBy.prohibitedCount > 0">
+{{ orderBy.prohibitedCount || 0 }}
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.prohibitedCount < 0">
{{ orderBy.prohibitedCount || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.prohibitedCount > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.prohibitedCount < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 平均接待时长 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>平均接待时长(分钟)</div>
<el-tooltip
effect="light"
content="筛选时间内,有效接待(不包含待接单)的平均录音时长,单位分钟;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">
{{ sysSec.receptionTimeWithAvg || 0 }}
</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon7.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span
>

<span
class="span2-2"
v-if="orderBy.receptionTimeWithAvg > 0"
>
+{{ orderBy.receptionTimeWithAvg || 0 }}
<i class="up"></i>
</span>
<span
class="span2-3"
v-if="orderBy.receptionTimeWithAvg < 0"
>
{{ orderBy.receptionTimeWithAvg || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.receptionTimeWithAvg > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.receptionTimeWithAvg < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 平均客户意向度 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
平均客户意向度
<div class="span1">{{ sysSec.sumLevelFraction || 0 }}</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon16.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.sumLevelFraction || 0 }}</span
>

<span class="span2-2" v-if="orderBy.sumLevelFraction > 0">
+{{ orderBy.sumLevelFraction || 0 }}
<i class="up"></i>
</span>
<span class="span2-3" v-if="orderBy.sumLevelFraction < 0">
{{ orderBy.sumLevelFraction || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.sumLevelFraction > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.sumLevelFraction < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 活跃项目 -->
<div
class="pagechen"
@click="toDetail('/building/Count', '', '项目统计')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
活跃项目
<div class="span1">
{{ sysSec.activeHouseQuantity || 0 }}
</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon1.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.activeHouseQuantity || 0 }}</span
>

<span
class="span2-2"
v-if="orderBy.activeHouseQuantity > 0"
>
+{{ orderBy.activeHouseQuantity || 0 }}
<i class="up"></i>
</span>
<span
class="span2-3"
v-if="orderBy.activeHouseQuantity < 0"
>
{{ orderBy.activeHouseQuantity || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.activeHouseQuantity > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.activeHouseQuantity < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>

<!-- 活跃设备 -->
<div
class="pagechen"
@click="toDetail('/Equipment/state', '', '设备监控')"
>
<div style="width: 100%">
<div class="pageboxtitle1 projectCardItem">
<div class="sum">
<div class="sum-top">
<div>活跃设备</div>
<el-tooltip
effect="light"
content="筛选时间内,有接待并上传录音的设备;"
placement="bottom-end"
>
<i class="pop"></i>
</el-tooltip>
</div>
<div class="span1">
{{ sysSec.activeEquipmentQuantity || 0 }}
</div>
</div>

<div class="cardicon">
<img
src="../../public/img/indexIcon/indexCardIcon2.png"
alt=""
srcset=""
/>
</div>
</div>
<div class="pageboxtitle2 projectColumn">
<div class="span2">
<span class="span2-1">
环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span
>

<span
class="span2-2"
v-if="orderBy.activeEquipmentQuantity > 0"
>
+{{ orderBy.activeEquipmentQuantity || 0 }}
<i class="up"></i>
</span>
<span
class="span2-3"
v-if="orderBy.activeEquipmentQuantity < 0"
>
{{ orderBy.activeEquipmentQuantity || 0 }}
<i class="down"></i>
</span>

<span
style="margin-left: 15px"
v-if="orderBy.activeEquipmentQuantity > 0"
>数据有所增长</span
>
<span
style="margin-left: 15px"
v-if="orderBy.activeEquipmentQuantity < 0"
>数据有所下降</span
>
</div>
</div>
</div>
</div>
</template>
</div>

<!-- 公司后台折线统计图 -->
@@ -2672,6 +2075,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "receptionCount", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon4s.png', // 接待量icon路径
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2682,6 +2086,7 @@ export default {
tooltip: "筛选时间内,标记为有效的接待数,不包含待接单;", // 描述name文字的
path: "/building/Count",
pathName: "项目统计",
paramsNamePath: '/img/indexIcon/indexCardIcon20s.png', // 接待量icon路径
paramsName: "activeCustomer", // 接待量变量名称
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
@@ -2693,6 +2098,7 @@ export default {
tooltip: "筛选时间内,有效接待(不包含待接单)的平均执行率;", // 描述name文字的
path: "/building/Count",
pathName: "项目统计",
paramsNamePath: '/img/indexIcon/jiedaishichang.png', //
paramsName: "avgFration", // 接待量变量名称
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
@@ -2705,6 +2111,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "wordFraction", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon115s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2716,6 +2123,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "wordFinishFraction", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon116s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2728,6 +2136,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "prohibitedCount", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon6s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2740,6 +2149,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "receptionTimeWithAvg", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon7s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2752,6 +2162,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "sumLevelFraction", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon114s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2763,6 +2174,7 @@ export default {
path: "/building/Count",
pathName: "项目统计",
paramsName: "activeHouseQuantity", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon1s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1
@@ -2774,6 +2186,7 @@ export default {
path: "/Equipment/state",
pathName: "设备监控",
paramsName: "activeEquipmentQuantity", // 接待量变量名称
paramsNamePath: '/img/indexIcon/indexCardIcon2s.png', //
data1Name: "sysSec", // 变量名称1
data2Name: "sysCompare", // 环比
data3Name: "orderBy", // 变量名称1


+ 13
- 9
src/views/Customer/index.vue View File

@@ -284,8 +284,8 @@
</el-select>

<el-select
style="margin-left: 12px;"
v-if="result1.length > 0 && trendAnalysisAllLevelListChildren.length > 0"
v-if="trendAnalysisAllLevelListChildren.length > 0 && result1.length > 0"
style="margin-left: 12px"
v-model="result2"
multiple
clearable
@@ -604,14 +604,18 @@ export default {
this.$db.upDate(params);
},

'result1' () {
this.trendAnalysisAllLevelListChildren = []
this.trendAnalysisAllLevelList.filter(item => {
result1() {
this.trendAnalysisAllLevelListChildren = [];
this.result2 = []
this.trendAnalysisAllLevelList.filter((item) => {
if (this.result1.includes(item.name)) {
this.trendAnalysisAllLevelListChildren = [...this.trendAnalysisAllLevelListChildren, ...item.children]
this.trendAnalysisAllLevelListChildren = [
...this.trendAnalysisAllLevelListChildren,
...item.children,
];
}
})
}
});
},
},

created() {
@@ -761,7 +765,7 @@ export default {
current: this.page.currentPage,
size: this.page.pageSize,
...this.searchForm,
result: this.result2.join(',')
result: this.result2.join(","),
};
obj.marketingBusiness = obj.marketingBusiness.join(",");
obj.keywordIds = obj.keywordsId.join(",");


Loading…
Cancel
Save