Browse Source

修改灵敏感知-人员风险库详情界面

main
sjh 1 year ago
parent
commit
f4b2ea7816
  1. BIN
      src/assets/images/defaultPhoto.jpg
  2. 70
      src/views/sensitivePerception/RiskPersonnel.vue

BIN
src/assets/images/defaultPhoto.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

70
src/views/sensitivePerception/RiskPersonnel.vue

@ -146,27 +146,48 @@
</div> </div>
<el-dialog title="风险人员详情" v-model="show" width="80vw" top="2vh"> <el-dialog title="风险人员详情" v-model="show" width="80vw" top="2vh">
<h5>风险人员基本情况</h5>
<el-row> <el-row>
<el-col :span="5"></el-col> <el-col :span="1"></el-col>
<el-col :span="12"> <el-col :span="18">
<div class="row" style="--label-width: 60px">
<div class="col col-8">
<label>姓名</label> <el-col :span="18">
<span>{{ activeRow.name }}</span>
</div> <div class="col col-20">
<div class="col col-8"> <div class="person-photo">
<label>性别</label> <img src="@/assets/images/defaultPhoto.jpg" />
<span>{{ getGender(activeRow.gender) }}</span> </div>
</div> <div class="row" style="height: 100%">
<div class="col col-8"> <div class="col col-6">
<label>身份证号</label> <label>姓名</label>
<span>{{ activeRow.idCode }}</span> <span>{{ activeRow.name }}</span>
</div> </div>
<div class="col col-8"> <div class="col col-8">
<label>年龄</label> <label>性别</label>
<span>{{ activeRow.age }}</span> <span>{{ getGender(activeRow.gender) }}</span>
</div>
<div class="col col-10">
<label>身份证号</label>
<span>{{ activeRow.idCode }}</span>
</div>
<div class="row" style="width: 100%">
<div class="col col-6">
<label>年龄</label>
<span>{{ activeRow.age }}</span>
</div>
<div class="col col-8">
<label>管控单位</label>
<span>{{ activeRow.controlDepartName }}</span>
</div>
<div class="col col-10">
<label>电话</label>
<span>{{ activeRow.mobileNumber }}</span>
</div>
</div>
</div> </div>
</div> </div>
</el-col>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<div class="flex center column text-center"> <div class="flex center column text-center">
@ -179,9 +200,7 @@
</el-row> </el-row>
<div style="min-height: 50vh"> <div style="min-height: 50vh">
<div v-for="(item, index) in personal.riskClueList" :key="index"> <div v-for="(item, index) in personal.riskClueList" :key="index">
<div> <h5>{{ item.riskName }}</h5>
<span class="text-primary">{{ item.riskName }}</span>
</div>
<el-table :data="item.clues" max-height="300"> <el-table :data="item.clues" max-height="300">
<el-table-column <el-table-column
label="发生时间" label="发生时间"
@ -468,4 +487,13 @@ function getGender(val) {
font-size: 124px; font-size: 124px;
color: #fff; color: #fff;
} }
.person-photo {
text-align: center;
margin-bottom: 10px;
}
.person-photo img {
max-height: 100%;
width: 200px;
}
</style> </style>

Loading…
Cancel
Save