diff --git a/SafeCampus.WEB/src/views/violation/portrait/detail.vue b/SafeCampus.WEB/src/views/violation/portrait/detail.vue
index 957fb53..2f8906e 100644
--- a/SafeCampus.WEB/src/views/violation/portrait/detail.vue
+++ b/SafeCampus.WEB/src/views/violation/portrait/detail.vue
@@ -6,7 +6,7 @@
-
+
- 编号:{{ formData.personId }}
+
-
+
-
+
姓名拼音:{{ pinyin(formData.name, { toneType: "none", type: "array" }).flat().join(" ") }}
- 编号:{{ formData.personId }}编号:{{ formData.personId }}
联系方式:{{ formData.phone }}
+ >联系方式:{{ formData.phone }}
所属院系:{{ formData.depName }}
+ >所属院系:{{ formData.depName }}
所属专业:{{ formData.majorName }}
+ >所属专业:{{ formData.majorName }}
所属班级:{{ formData.personSetName }}
+ >所属班级:{{ formData.personSetName }}
寝室名称:{{ formData.dormitoryName }}
+ >寝室名称:{{ formData.dormitoryName }}
{
}
}
.personId {
+ display: block;
+ max-width: 90%;
margin-bottom: 10px;
+ overflow: hidden;
font-size: 14px;
- display: block;
text-overflow: ellipsis;
- overflow: hidden;
white-space: nowrap;
- max-width: 90%;
}
}
.right {
@@ -647,6 +643,13 @@ onMounted(() => {
.el-col {
height: 50px;
line-height: 50px;
+ .ellipsis {
+ display: block;
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
}
}
}