|
|
@@ -123,12 +123,6 @@
|
|
|
white-space: pre-wrap;
|
|
|
word-break: break-all;
|
|
|
}
|
|
|
- .student-link-meta {
|
|
|
- display: block;
|
|
|
- margin-top: 4px;
|
|
|
- color: var(--green);
|
|
|
- font-size: 13px;
|
|
|
- }
|
|
|
.native-textarea {
|
|
|
width: 100%;
|
|
|
min-height: 100px;
|
|
|
@@ -279,9 +273,6 @@
|
|
|
<span class="student-link-text">
|
|
|
{{ roomInfo.xymcStr || (form.kfid ? '该房间暂无有效住宿学员' : '请先选择房间') }}
|
|
|
</span>
|
|
|
- <span v-if="roomInfo.students.length" class="student-link-meta">
|
|
|
- 剩余 {{ roomInfo.students.length }} 人<template v-if="removedCount">,已移除 {{ removedCount }} 人</template>,点击维护
|
|
|
- </span>
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -390,10 +381,6 @@
|
|
|
computed: {
|
|
|
roomPlaceholder() {
|
|
|
return "";
|
|
|
- },
|
|
|
- removedCount() {
|
|
|
- const originalCount = (this.roomInfo.originalStudents || []).length;
|
|
|
- return Math.max(0, originalCount - this.roomInfo.students.length);
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|