|
|
|
|
@ -130,7 +130,11 @@
|
|
|
|
|
prop="riskScore" |
|
|
|
|
width="100" |
|
|
|
|
align="center" |
|
|
|
|
/> |
|
|
|
|
> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<span>{{ row.riskScore.toFixed(1) }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" width="90"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<div> |
|
|
|
|
@ -279,7 +283,7 @@
|
|
|
|
|
> |
|
|
|
|
{{ |
|
|
|
|
personal.riskPersonal?.riskScore.toFixed( |
|
|
|
|
0 |
|
|
|
|
1 |
|
|
|
|
) |
|
|
|
|
}} |
|
|
|
|
</div> |
|
|
|
|
@ -335,7 +339,7 @@
|
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<span |
|
|
|
|
v-if="row.scoreResult != null" |
|
|
|
|
>{{ row.scoreResult.toFixed(0) }}</span |
|
|
|
|
>{{ row.scoreResult }}</span |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
@ -861,7 +865,15 @@ function getSmallTagObj(item) {
|
|
|
|
|
item.includes("重点上访人员") || |
|
|
|
|
item.includes("已被打击处理") || |
|
|
|
|
item.includes("受到刑政处罚") || |
|
|
|
|
item.includes("受到刑事处罚") |
|
|
|
|
item.includes("受到刑事处罚") || |
|
|
|
|
item.includes("精神病") || |
|
|
|
|
item.includes("自杀") || |
|
|
|
|
item.includes("报复社会") || |
|
|
|
|
item.includes("厌世情绪") || |
|
|
|
|
item.includes("安排后事") || |
|
|
|
|
item.includes("作案") || |
|
|
|
|
item.includes("诱发刺激事件") || |
|
|
|
|
item.includes("暴力伤害行为") |
|
|
|
|
) { |
|
|
|
|
return { |
|
|
|
|
type: "danger", |
|
|
|
|
@ -918,7 +930,7 @@ function getScoreType(score) {
|
|
|
|
|
return "red"; |
|
|
|
|
} |
|
|
|
|
if (score >= 60) { |
|
|
|
|
return "orange"; |
|
|
|
|
return "red"; |
|
|
|
|
} |
|
|
|
|
if (score >= 40) { |
|
|
|
|
return "yellow"; |
|
|
|
|
|