Compare commits
3 Commits
1a15772f08
...
65e5bd2814
| Author | SHA1 | Date | |
|---|---|---|---|
| 65e5bd2814 | |||
| f008ef0d09 | |||
| 5ffa3f3d9e |
@ -65,8 +65,8 @@
|
|||||||
<div class="reciceOrderIWrap" v-if="indexData">
|
<div class="reciceOrderIWrap" v-if="indexData">
|
||||||
<circle-char ref="Doughnut1" :data="indexData && indexData.complainOrderRate" :title-text="'投诉率'" :bg-color="Number(indexData?.complainOrderRate || 0) <= 0.1 ? 'green' : 'red'"
|
<circle-char ref="Doughnut1" :data="indexData && indexData.complainOrderRate" :title-text="'投诉率'" :bg-color="Number(indexData?.complainOrderRate || 0) <= 0.1 ? 'green' : 'red'"
|
||||||
:is-store="false" @clickComplain="clickJumpHandle(7)"></circle-char>
|
:is-store="false" @clickComplain="clickJumpHandle(7)"></circle-char>
|
||||||
<circle-char ref="Doughnut2" :data="indexData && indexData.customerSatisfaction" :title-text="'平安好评率'"
|
<circle-char ref="Doughnut2" :data="indexData && indexData.pinganFavorableRate" :title-text="'平安好评率'" :is-store="false"
|
||||||
:bg-color="Number(indexData?.customerSatisfaction || 0) >= 99.4 ? 'green' : 'red'"></circle-char>
|
:bg-color="Number(indexData?.pinganFavorableRate || 0) >= 99.4 ? 'green' : 'red'"></circle-char>
|
||||||
<circle-char ref="Doughnut3" :data="indexData && indexData.urgeRate" :title-text="'催促率'"
|
<circle-char ref="Doughnut3" :data="indexData && indexData.urgeRate" :title-text="'催促率'"
|
||||||
:bg-color="Number(indexData?.urgeRate || 0) >= 3 ? 'red' : 'green'"></circle-char>
|
:bg-color="Number(indexData?.urgeRate || 0) >= 3 ? 'red' : 'green'"></circle-char>
|
||||||
</div>
|
</div>
|
||||||
@ -78,7 +78,7 @@
|
|||||||
:is-store="false"
|
:is-store="false"
|
||||||
@clickUse="clickJumpHandle(8)"></circle-char>
|
@clickUse="clickJumpHandle(8)"></circle-char>
|
||||||
<circle-char ref="Doughnut5" :data="indexData && indexData.threeMinutesContactRate" :title-text="'3′联系客户率'" :bg-color="Number(indexData?.threeMinutesContactRate || 0) >= 90 ? 'green' : 'red'"></circle-char>
|
<circle-char ref="Doughnut5" :data="indexData && indexData.threeMinutesContactRate" :title-text="'3′联系客户率'" :bg-color="Number(indexData?.threeMinutesContactRate || 0) >= 90 ? 'green' : 'red'"></circle-char>
|
||||||
<circle-char ref="Doughnut6" :data="indexData && indexData.polymerizationSuccessRate" :title-text="'总聚合成功率'" :bg-color="Number(indexData?.polymerizationSuccessRate || 0) >= 80 ? 'green' : 'red'"></circle-char>
|
<circle-char ref="Doughnut6" :data="indexData && indexData.wholeJuheSuccessRate" :title-text="'总聚合成功率'" :is-store="false" :bg-color="Number(indexData?.wholeJuheSuccessRate || 0) >= 80 ? 'green' : 'red'"></circle-char>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :class="{'reciceOrder':true,'webCom':!isMobile}">
|
<div :class="{'reciceOrder':true,'webCom':!isMobile}">
|
||||||
@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<div class="center common">
|
<div class="center common">
|
||||||
<div class="num" :class="{'numRed': Number(indexData?.polymerizationSuccessArriving) > 22, 'numGreen': Number(indexData?.polymerizationSuccessArriving) <= 22 }">{{ indexData && indexData.polymerizationSuccessArriving }}</div>
|
<div class="num" :class="{'numRed': Number(indexData?.pinganJuheSuccessArriving) > 22, 'numGreen': Number(indexData?.pinganJuheSuccessArriving) <= 22 }">{{ indexData && indexData.pinganJuheSuccessArriving }}</div>
|
||||||
<div class="itemTitle">平安聚合成功到达时效(分)</div>
|
<div class="itemTitle">平安聚合成功到达时效(分)</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
@ -991,7 +991,9 @@ export default {
|
|||||||
'threeMinutesContactRate',
|
'threeMinutesContactRate',
|
||||||
'urgeRate',
|
'urgeRate',
|
||||||
'appRate',
|
'appRate',
|
||||||
'polymerizationSuccessRate'
|
'polymerizationSuccessRate',
|
||||||
|
'pinganFavorableRate',
|
||||||
|
'wholeJuheSuccessRate',
|
||||||
];
|
];
|
||||||
for (let key in this.indexData){
|
for (let key in this.indexData){
|
||||||
if (propertiesToProcess.includes(key)) {
|
if (propertiesToProcess.includes(key)) {
|
||||||
@ -1373,7 +1375,7 @@ export default {
|
|||||||
if (this.value == 1) {
|
if (this.value == 1) {
|
||||||
this.detailList?.map(item => {
|
this.detailList?.map(item => {
|
||||||
this.v1.push(item.receiving)
|
this.v1.push(item.receiving)
|
||||||
this.v2.push(item.threeMinutesReceivingRate.replace('%', ''))
|
this.v2.push(item.threeMinutesContactRate.replace('%', ''))
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.detailList?.map(item => {
|
this.detailList?.map(item => {
|
||||||
@ -1387,7 +1389,7 @@ export default {
|
|||||||
columnObj.label = item.month // 每一列的标题的名称
|
columnObj.label = item.month // 每一列的标题的名称
|
||||||
columnObj.prop = props + index //自定义每一列标题字段名称
|
columnObj.prop = props + index //自定义每一列标题字段名称
|
||||||
this.etlLabelList.push(columnObj)
|
this.etlLabelList.push(columnObj)
|
||||||
let mappings = [ 'receiving', 'threeMinutesReceivingRate', 'arriving','fortyMinutesArrivalRate','polymerizationSuccessArriving'];
|
let mappings = [ 'receiving', 'threeMinutesContactRate', 'arriving','fortyMinutesArrivalRate','polymerizationSuccessArriving'];
|
||||||
for (let i = 0; i < mappings.length; i++) {
|
for (let i = 0; i < mappings.length; i++) {
|
||||||
this.$set(this.etlDetailList[i], columnObj.prop, item[mappings[i]]);
|
this.$set(this.etlDetailList[i], columnObj.prop, item[mappings[i]]);
|
||||||
}
|
}
|
||||||
@ -1395,7 +1397,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.detailList?.map(item => {
|
this.detailList?.map(item => {
|
||||||
this.v1.push(item.receiving)
|
this.v1.push(item.receiving)
|
||||||
this.v2.push(item.threeMinutesReceivingRate.replace('%', ''))
|
this.v2.push(item.threeMinutesContactRate.replace('%', ''))
|
||||||
})
|
})
|
||||||
if (this.swithVal) {
|
if (this.swithVal) {
|
||||||
this.detailList?.map(item => {
|
this.detailList?.map(item => {
|
||||||
@ -1414,7 +1416,7 @@ export default {
|
|||||||
this.labelList = [
|
this.labelList = [
|
||||||
{label: '月份', prop: 'month'},
|
{label: '月份', prop: 'month'},
|
||||||
{label: '接单时效', prop: 'receiving'},
|
{label: '接单时效', prop: 'receiving'},
|
||||||
{label: '3分钟联系客户率', prop: 'threeMinutesReceivingRate'},
|
{label: '3分钟联系客户率', prop: 'threeMinutesContactRate'},
|
||||||
{label: '到达时效', prop: 'arriving'},
|
{label: '到达时效', prop: 'arriving'},
|
||||||
{label: '平安聚合成功到达时效', prop: 'pinganJuheSuccessArriving'},
|
{label: '平安聚合成功到达时效', prop: 'pinganJuheSuccessArriving'},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user