Browse Source

fix: 优化完善个人/单位画像

master
wxc 1 month ago
parent
commit
b1a2591a2b
  1. 2
      src/components/model-tree.vue
  2. 22
      src/components/negativeInfo/depart-dialog.vue
  3. 8
      src/components/negativeInfo/police-dialog.vue
  4. 11
      src/views/sensitivePerception/DepartNegative.vue
  5. 6
      src/views/sensitivePerception/ModelClue.vue
  6. 11
      src/views/sensitivePerception/PoliceNegative.vue

2
src/components/model-tree.vue

@ -1,5 +1,5 @@
<template> <template>
<el-input v-model="filterText" placeholder="搜索" class="mb-10"> <el-input v-model="filterText" placeholder="搜索" class="mb-10" clearable>
<template #prefix> <template #prefix>
<el-icon class="el-input__icon"><search /></el-icon> <el-icon class="el-input__icon"><search /></el-icon>
</template> </template>

22
src/components/negativeInfo/depart-dialog.vue

@ -142,11 +142,11 @@
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<h5 style="margin-bottom: 0">风险指数</h5> <h5 style="margin-bottom: 0">风险</h5>
<div class="flex center"> <div class="flex center">
<el-progress <el-progress
type="dashboard" type="dashboard"
:percentage="score" :percentage="100"
:stroke-width="16" :stroke-width="16"
:width="220" :width="220"
:color="colors2" :color="colors2"
@ -161,12 +161,12 @@
> >
<span></span> <span></span>
</div> </div>
<div <!-- <div
style="font-size: 14px" style="font-size: 14px"
class="mb-16" class="mb-16"
> >
分险指标值 分险指标值
</div> </div> -->
</div> </div>
<div <div
v-else v-else
@ -178,12 +178,12 @@
> >
- -
</div> </div>
<div <!-- <div
class="score-progress_title score-theme" class="score-progress_title score-theme"
:type="getType(score)" :type="getType(score)"
> >
{{ getScoreLabel() }} {{ getScoreLabel() }}
</div> </div> -->
</div> </div>
</el-progress> </el-progress>
</div> </div>
@ -255,14 +255,8 @@
<el-table-column label="问题来源" prop="problemSources"/> <el-table-column label="问题来源" prop="problemSources"/>
<el-table-column label="业务类别" prop="businessTypeName"/> <el-table-column label="业务类别" prop="businessTypeName"/>
<el-table-column <el-table-column
label="涉及单位" label="问题详情"
prop="involveDepartName" prop="thingDesc"
/>
<el-table-column
label="核查情况"
prop="checkStatusName"
width="140"
align="center"
/> />
<el-table-column label="操作" width="160"> <el-table-column label="操作" width="160">
<template #default="{ row }"> <template #default="{ row }">

8
src/components/negativeInfo/police-dialog.vue

@ -163,7 +163,7 @@
<div class="flex center"> <div class="flex center">
<el-progress <el-progress
type="dashboard" type="dashboard"
:percentage="score" :percentage="100"
:stroke-width="16" :stroke-width="16"
:width="220" :width="220"
:color="colors" :color="colors"
@ -182,7 +182,7 @@
style="font-size: 14px" style="font-size: 14px"
class="mb-16" class="mb-16"
> >
风险指数 风险
</div> </div>
</div> </div>
<div <div
@ -195,12 +195,12 @@
> >
- -
</div> </div>
<div <!-- <div
class="score-progress_title score-theme" class="score-progress_title score-theme"
:type="getType(score)" :type="getType(score)"
> >
{{ getScoreLabel() }} {{ getScoreLabel() }}
</div> </div> -->
</div> </div>
</el-progress> </el-progress>
</div> </div>

11
src/views/sensitivePerception/DepartNegative.vue

@ -107,16 +107,7 @@
align="center" align="center"
width="160" width="160"
/> />
<el-table-column label="风险指数" align="center" width="160"> <el-table-column label="风险值" align="center" width="160" prop="score"></el-table-column>
<template #default="{ row }">
<span
:style="{ color: getColor(score) }"
v-if="row.score"
>{{ Math.round(row.score) }}</span
>
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="操作" width="240"> <el-table-column label="操作" width="240">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

6
src/views/sensitivePerception/ModelClue.vue

@ -76,7 +76,7 @@
</div> </div>
</div> </div>
</header> </header>
<div class="table-container"> <div class="table-container" v-loading="loading">
<el-table :data="list"> <el-table :data="list">
<el-table-column <el-table-column
label="预警时间" label="预警时间"
@ -374,10 +374,14 @@ watch(
} }
); );
const loading = ref(false)
function getList() { function getList() {
loading.value = true
listModelClue(query.value).then((data) => { listModelClue(query.value).then((data) => {
list.value = data.records; list.value = data.records;
total.value = data.total; total.value = data.total;
loading.value = false
}); });
} }

11
src/views/sensitivePerception/PoliceNegative.vue

@ -120,16 +120,7 @@
width="120" width="120"
align="center" align="center"
/> />
<el-table-column label="风险指数" align="center" width="160"> <el-table-column label="风险值" align="center" width="160" prop="score"></el-table-column>
<template #default="{ row }">
<span
:style="{ color: getColor(score) }"
v-if="row.score"
>{{ Math.round(row.score) }}</span
>
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="操作" width="160"> <el-table-column label="操作" width="160">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button

Loading…
Cancel
Save