Commit 5bb8226f by 王志慧

fixed

1 parent da5a5966
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<img src="@/assets/empty-2.png" /> <img src="@/assets/empty-2.png" />
</div> </div>
<div class="text"> <div class="text">
{{ detailObj.defence === 1 ? "数据分析中,请稍等" : "未发现攻防" }} {{ detailObj.defence === 1 ? '数据分析中,请稍等' : detailObj.defence === 3?'未发现攻防':'未进行攻防识别' }}
</div> </div>
</div> </div>
</template> </template>
...@@ -214,6 +214,7 @@ export default { ...@@ -214,6 +214,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
cursor: pointer;
.attack-score { .attack-score {
width: 24px; width: 24px;
height: 24px; height: 24px;
......
...@@ -148,10 +148,8 @@ export default { ...@@ -148,10 +148,8 @@ export default {
label: "攻防得分", label: "攻防得分",
formatter(row) { formatter(row) {
return row.defence === 2 return row.defence === 2
? `<div class="num">${ ? `<div class="num">${row.defencePoint}<span class="unit">分</span></div>`
row.defencePoint ? row.defencePoint : "-" : row.defence === 1 || row.defence === 0 || row.defence === 4
}<span class="unit">分</span></div>`
: row.defence === 1
? `<span style="font-size:22px;color:#999">分析中</span>` ? `<span style="font-size:22px;color:#999">分析中</span>`
: row.defence === 3 : row.defence === 3
? `<span style="font-size:22px;color:#999">未发现攻防</span>` ? `<span style="font-size:22px;color:#999">未发现攻防</span>`
......
...@@ -425,13 +425,13 @@ export default { ...@@ -425,13 +425,13 @@ export default {
} }
}, },
{ {
label: "话术质检评分/分", label: "质检得分/分",
prop: "score", prop: "score",
addHtml: "scoreHtml", addHtml: "scoreHtml",
width: "170px", width: "170px",
renderHeader: (createElement) => { renderHeader: (createElement) => {
return createElement("div", { style: "margin-left:-10px" }, [ return createElement("div", { style: "margin-left:-10px" }, [
"话术质检评分/分", "质检得分/分",
createElement( createElement(
"el-tooltip", "el-tooltip",
{ {
......
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<template v-if="scope.scope.defence === 2">{{ <template v-if="scope.scope.defence === 2">{{
scope.scope.defencePoint?scope.scope.defencePoint:'-' scope.scope.defencePoint?scope.scope.defencePoint:'-'
}}</template> }}</template>
<template v-else-if="scope.scope.defence === 1">分析中</template> <template v-else-if="scope.scope.defence === 1||scope.scope.defence === 0||scope.scope.defence === 4">分析中</template>
<template v-else-if="scope.scope.defence === 3" <template v-else-if="scope.scope.defence === 3"
>未发现攻防</template >未发现攻防</template
> >
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<template v-if="scope.scope.defence === 2">{{ <template v-if="scope.scope.defence === 2">{{
scope.scope.customerTypeName?scope.scope.customerTypeName:'-' scope.scope.customerTypeName?scope.scope.customerTypeName:'-'
}}</template> }}</template>
<template v-else-if="scope.scope.defence === 1">分析中</template> <template v-else-if="scope.scope.defence === 1||scope.scope.defence === 0||scope.scope.defence === 4">分析中</template>
<template v-else-if="scope.scope.defence === 3">未知</template> <template v-else-if="scope.scope.defence === 3">未知</template>
<template v-else>-</template> <template v-else>-</template>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!