Browse Source

fix: 完善风险人员库

main
wxc 1 year ago
parent
commit
cb0ad7c964
  1. 40
      src/views/sensitivePerception/RiskPersonnel.vue
  2. 2
      src/views/work/NegativeImport.vue

40
src/views/sensitivePerception/RiskPersonnel.vue

@ -13,31 +13,41 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="年龄">
<el-form-item label="身份证号">
<el-input
placeholder="请输入"
v-model="query.age"
type="number"
v-model="query.idCode"
clearable
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="管控单位">
<depart-tree-select
v-model="query.controlDepartId"
<el-form-item label="手机号">
<el-input
placeholder="请输入"
v-model="query.mobileNumber"
clearable
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="身份证号">
<el-form-item label="年龄">
<el-input
placeholder="请输入"
v-model="query.idCode"
v-model="query.age"
type="number"
clearable
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="管控单位">
<depart-tree-select
v-model="query.controlDepartId"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div class="mb-25 flex end">
@ -54,7 +64,7 @@
</header>
<div class="table-container">
<el-table :data="list">
<el-table-column label="姓名" prop="name" width="120" />
<el-table-column label="姓名" prop="name" width="100" />
<el-table-column
label="性别"
prop="gender"
@ -90,7 +100,14 @@
</el-table-column>
<el-table-column label="高风险因素">
<template #default="{ row }">
<div class="flex gap"></div>
<div class="flex gap" v-if="row.smallTags">
<el-tag
type="danger"
v-for="item in row.smallTags"
:key="item"
>{{ item }}</el-tag
>
</div>
</template>
</el-table-column>
<el-table-column
@ -99,7 +116,6 @@
width="120"
align="center"
/>
<el-table-column label="操作" width="160">
<template #default="{ row }">
<el-button
@ -157,7 +173,7 @@
<el-col :span="5">
<div class="flex center column text-center">
<div class="socre-box">
{{ 99 }}
{{ personal.riskPersonal.riskScore.toFixed(1) }}
</div>
<span style="font-size: 24px" class="mt-10">风险指数</span>
</div>

2
src/views/work/NegativeImport.vue

@ -22,7 +22,7 @@
</el-upload>
<a
class="link"
:href="`${BASE_PATH}/templates/数字督察警员权限导入模板.xlsx`"
:href="`${BASE_PATH}/templates/黄赌问题问题下发模板.xls`"
target="__blank"
style="padding: 8px"
v-perms="['police:import']"

Loading…
Cancel
Save