From b30f937a881fcdab016b9b026ab7a2c02a8d1c4c Mon Sep 17 00:00:00 2001
From: suyanyan <1321717064@qq.com>
Date: Tue, 8 Oct 2024 09:54:07 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A6=85=E9=81=93bug=E5=A4=84=E7=90=86938?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/violation/portrait/detail.vue | 37 ++++++++++---------
1 file changed, 20 insertions(+), 17 deletions(-)
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;
+ }
}
}
}