Commit 654c2401 by 王志慧

fixed

1 parent 26dee337
...@@ -100,3 +100,7 @@ html { ...@@ -100,3 +100,7 @@ html {
.el-tooltip__popper[x-placement^='top'] .popper__arrow:after { .el-tooltip__popper[x-placement^='top'] .popper__arrow:after {
border-bottom-color: #e4e7ed !important; border-bottom-color: #e4e7ed !important;
} }
.el-popover{
max-height:300px;
overflow: scroll;
}
\ No newline at end of file \ No newline at end of file
...@@ -135,7 +135,6 @@ export default { ...@@ -135,7 +135,6 @@ export default {
pageSize: 9999 pageSize: 9999
}) })
.then(res => { .then(res => {
console.log(res)
this.dialogList = res.list this.dialogList = res.list
}) })
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<img :src="require(`@/assets/${i.icon}.png`)" /> <img :src="require(`@/assets/${i.icon}.png`)" />
</div> </div>
<div class="info"> <div class="info">
<div style="position: relative"> <div>
{{ i.text }} {{ i.text }}
<el-tooltip effect="dark" :content="i.tooltip" placement="top" v-if="i.tooltip"> <el-tooltip effect="dark" :content="i.tooltip" placement="top" v-if="i.tooltip">
<img class="mark" src="@/assets/mark.png" /> <img class="mark" src="@/assets/mark.png" />
...@@ -193,7 +193,8 @@ export default { ...@@ -193,7 +193,8 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '录音日期', label: '录音日期',
prop: 'searchdate' prop: 'searchdate',
width: '120px'
}, },
{ {
label: '员工', label: '员工',
...@@ -238,7 +239,7 @@ export default { ...@@ -238,7 +239,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: 'AI对当日提交的营销录音进行分析得出的接待批次',
placement: 'top' placement: 'top'
} }
}, },
...@@ -259,7 +260,7 @@ export default { ...@@ -259,7 +260,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: '员工通过日报提报的当日触客数',
placement: 'top' placement: 'top'
} }
}, },
...@@ -280,7 +281,7 @@ export default { ...@@ -280,7 +281,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: '异常占比= (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工',
placement: 'top' placement: 'top'
} }
}, },
...@@ -301,7 +302,7 @@ export default { ...@@ -301,7 +302,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: 'AI通过分析营销录音对驻店人员当日表现进行整体打分。',
placement: 'top' placement: 'top'
} }
}, },
...@@ -483,10 +484,7 @@ export default { ...@@ -483,10 +484,7 @@ export default {
width: 16px; width: 16px;
height: 16px; height: 16px;
display: inline-block; display: inline-block;
position: absolute; vertical-align: middle;
right: 0x;
top: 0;
z-index: 999;
} }
img { img {
width: 100%; width: 100%;
...@@ -511,13 +509,5 @@ export default { ...@@ -511,13 +509,5 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
.mark {
width: 16px;
height: 16px;
display: inline-block;
position: absolute;
right: 0x;
top: 0;
z-index: 999;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -59,14 +59,13 @@ export default { ...@@ -59,14 +59,13 @@ export default {
{ {
text: '话术评分', text: '话术评分',
formatter: data => { formatter: data => {
console.log(data) return `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore ? data.averageQualityTestScore : '0'}</span>分`
return `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore ? data.score : '0'}</span>分`
} }
}, },
{ {
text: '预计营销结果', text: '预计营销结果',
formatter: data => { formatter: data => {
return `<span style="font-weight:700;font-size:22px;">${data.estimatedResult ? data.estimatedResult : '--'}</span>` return `<span style="font-weight:700;font-size:20px;">${data.estimatedResult ? data.estimatedResult : '--'}</span>`
} }
}, },
{ {
...@@ -172,7 +171,7 @@ export default { ...@@ -172,7 +171,7 @@ export default {
getPointCategory() { getPointCategory() {
this.classifyMap = new Map() this.classifyMap = new Map()
this.$apis.quality.getPointCategory().then(res => { this.$apis.quality.getPointCategory().then(res => {
console.log(res) // console.log(res)
this.baseData.firstClassifyList = Object.keys(res) this.baseData.firstClassifyList = Object.keys(res)
for (let item in res) { for (let item in res) {
this.classifyMap.set(item, res[item]) this.classifyMap.set(item, res[item])
...@@ -218,6 +217,7 @@ export default { ...@@ -218,6 +217,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom:20px;
.s-item { .s-item {
flex: 1; flex: 1;
// min-width: 248px; // min-width: 248px;
......
<!-- 关联活动订单弹窗 --> <!-- 关联活动订单弹窗 -->
<template> <template>
<GLDialog big-title="质检详情" mode="big" :visible.sync="isQualityVisible" class="qualityDailog" width="80%" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose"> <GLDialog big-title="质检详情" mode="big" :visible.sync="isQualityVisible" class="qualityDailog" width="80%" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose" @close="handleClose" >
<div> <div>
<el-tabs v-model="activeName" @tab-click="handleReset"> <el-tabs v-model="activeName" @tab-click="handleReset">
<el-tab-pane label="质检分析" name="analyse"> <el-tab-pane label="质检分析" name="analyse">
......
...@@ -9,11 +9,21 @@ ...@@ -9,11 +9,21 @@
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>门店:</label> <label>门店:</label>
<span>{{ queryData.storeList && queryData.storeList.join('、') }}</span> <template v-if="queryData.storeList">
<el-tooltip effect="dark" :content="queryData.storeList.join('、')" placement="top-start">
<span>{{ queryData.storeList.join('、') }}</span>
</el-tooltip>
</template>
<span v-else>-</span>
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>服务商:</label> <label>服务商:</label>
<span>{{ queryData.serviceList && queryData.serviceList.join('、') }}</span> <template v-if="queryData.serviceList">
<el-tooltip effect="dark" :content="queryData.serviceList.join('、')" placement="top-start">
<span>{{queryData.serviceList.join('、') }}</span>
</el-tooltip>
</template>
<span v-else>-</span>
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>质检日期:</label> <label>质检日期:</label>
...@@ -232,6 +242,7 @@ export default { ...@@ -232,6 +242,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #1d1d1d; color: #1d1d1d;
display: inline-block; display: inline-block;
cursor: pointer;
max-width: 300px; max-width: 300px;
overflow: hidden; overflow: hidden;
/* 防止文本换行 */ /* 防止文本换行 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!