Commit 5bb8226f by 王志慧

fixed

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