Browse Source

禅道bug处理938

master
suyanyan 1 month ago
parent
commit
b30f937a88
1 changed files with 20 additions and 17 deletions
  1. +20
    -17
      SafeCampus.WEB/src/views/violation/portrait/detail.vue

+ 20
- 17
SafeCampus.WEB/src/views/violation/portrait/detail.vue View File

@@ -6,7 +6,7 @@
</div> </div>
<div class="topContent"> <div class="topContent">
<el-row> <el-row>
<el-col :span="4" :offset="2">
<el-col :span="4" :offset="1">
<div class="left"> <div class="left">
<el-image <el-image
class="avatar" class="avatar"
@@ -25,13 +25,13 @@
<Female class="gender GENDER_FEMALE" v-if="formData.gender == 'GENDER_FEMALE'"></Female> <Female class="gender GENDER_FEMALE" v-if="formData.gender == 'GENDER_FEMALE'"></Female>
</span> </span>


<span class="personId" :title="formData.personId">编号:{{ formData.personId }}</span>
<!-- <span class="personId" :title="formData.personId">编号:{{ formData.personId }}</span> -->
<!-- <el-tag type="primary">学霸型</el-tag> --> <!-- <el-tag type="primary">学霸型</el-tag> -->
</div></el-col </div></el-col
> >
<el-col :span="16">
<el-col :span="17">
<div class="right"> <div class="right">
<el-row>
<el-row :gutter="20">
<el-col :span="6"> <el-col :span="6">
<span v-if="formData.name" <span v-if="formData.name"
>姓名拼音:{{ pinyin(formData.name, { toneType: "none", type: "array" }).flat().join(" ") }}</span >姓名拼音:{{ pinyin(formData.name, { toneType: "none", type: "array" }).flat().join(" ") }}</span
@@ -42,11 +42,7 @@
> >


<el-col :span="6"> <el-col :span="6">
<span
:title="formData.personId"
style="display: block; text-overflow: ellipsis; max-width: 100%; overflow: hidden; white-space: nowrap"
>编号:{{ formData.personId }}</span
></el-col
<span :title="formData.personId" class="ellipsis">编号:{{ formData.personId }}</span></el-col
> >


<el-col :span="6" <el-col :span="6"
@@ -57,20 +53,20 @@
> >


<el-col :span="6" <el-col :span="6"
><span>联系方式:{{ formData.phone }}</span>
><span :title="formData.phone" class="ellipsis">联系方式:{{ formData.phone }}</span>
</el-col> </el-col>


<el-col :span="6" <el-col :span="6"
><span>所属院系:{{ formData.depName }}</span>
><span :title="formData.depName" class="ellipsis">所属院系:{{ formData.depName }}</span>
</el-col> </el-col>
<el-col :span="6" <el-col :span="6"
><span>所属专业:{{ formData.majorName }}</span>
><span :title="formData.majorName" class="ellipsis">所属专业:{{ formData.majorName }}</span>
</el-col> </el-col>
<el-col :span="6" <el-col :span="6"
><span>所属班级:{{ formData.personSetName }}</span>
><span :title="formData.personSetName" class="ellipsis">所属班级:{{ formData.personSetName }}</span>
</el-col> </el-col>
<el-col :span="6" <el-col :span="6"
><span>寝室名称:{{ formData.dormitoryName }}</span>
><span :title="formData.dormitoryName" class="ellipsis">寝室名称:{{ formData.dormitoryName }}</span>
</el-col> </el-col>
</el-row> </el-row>
</div></el-col </div></el-col
@@ -631,13 +627,13 @@ onMounted(() => {
} }
} }
.personId { .personId {
display: block;
max-width: 90%;
margin-bottom: 10px; margin-bottom: 10px;
overflow: hidden;
font-size: 14px; font-size: 14px;
display: block;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap; white-space: nowrap;
max-width: 90%;
} }
} }
.right { .right {
@@ -647,6 +643,13 @@ onMounted(() => {
.el-col { .el-col {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
.ellipsis {
display: block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
} }
} }


Loading…
Cancel
Save