|
|
@@ -67,8 +67,7 @@
|
|
|
}
|
|
|
|
|
|
.info-table,
|
|
|
- .score-table,
|
|
|
- .student-table {
|
|
|
+ .score-table {
|
|
|
overflow: hidden;
|
|
|
margin-bottom: 12px;
|
|
|
background: #fff;
|
|
|
@@ -159,44 +158,6 @@
|
|
|
font-size: 13px;
|
|
|
}
|
|
|
|
|
|
- .student-row {
|
|
|
- display: grid;
|
|
|
- grid-template-columns: minmax(0, 1fr) 1fr;
|
|
|
- gap: 8px;
|
|
|
- padding: 12px 14px;
|
|
|
- border-bottom: 1px solid var(--line);
|
|
|
- }
|
|
|
-
|
|
|
- .student-row:last-child {
|
|
|
- border-bottom: 0;
|
|
|
- }
|
|
|
-
|
|
|
- .student-main {
|
|
|
- min-width: 0;
|
|
|
- font-size: 15px;
|
|
|
- font-weight: 600;
|
|
|
- word-break: break-all;
|
|
|
- }
|
|
|
-
|
|
|
- .student-sub {
|
|
|
- min-width: 0;
|
|
|
- color: var(--muted);
|
|
|
- font-size: 13px;
|
|
|
- line-height: 1.5;
|
|
|
- text-align: right;
|
|
|
- word-break: break-all;
|
|
|
- }
|
|
|
-
|
|
|
- .student-class {
|
|
|
- display: block;
|
|
|
- }
|
|
|
-
|
|
|
- .roster-note {
|
|
|
- margin: -6px 0 12px;
|
|
|
- color: var(--muted);
|
|
|
- font-size: 12px;
|
|
|
- text-align: right;
|
|
|
- }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
@@ -259,21 +220,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="student-table">
|
|
|
- <div class="section-title">历史学员名单</div>
|
|
|
- <div v-if="!students.length" class="empty-container">历史名单未保存</div>
|
|
|
- <div v-for="student in students" :key="student.ryid" class="student-row">
|
|
|
- <div class="student-main">
|
|
|
- {{ student.xm || '未记录姓名' }}
|
|
|
- <span v-if="student.ryh" class="student-class">({{ student.ryh }})</span>
|
|
|
- </div>
|
|
|
- <div class="student-sub">
|
|
|
- <span>{{ student.bjmc || '未记录班级' }}</span>
|
|
|
- <span class="student-class">{{ student.cwmc || '未分配床位' }}</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="rosterSource === 'cdsy'" class="roster-note">名单由历史住宿记录回查</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
|
|
|
@@ -286,9 +232,7 @@
|
|
|
loading: true,
|
|
|
errorMsg: "",
|
|
|
record: {},
|
|
|
- jcxmList: [],
|
|
|
- students: [],
|
|
|
- rosterSource: "none"
|
|
|
+ jcxmList: []
|
|
|
};
|
|
|
},
|
|
|
async mounted() {
|
|
|
@@ -362,8 +306,6 @@
|
|
|
);
|
|
|
this.record = data && data.record ? data.record : {};
|
|
|
this.jcxmList = data && Array.isArray(data.jcxmList) ? data.jcxmList : [];
|
|
|
- this.students = data && Array.isArray(data.students) ? data.students : [];
|
|
|
- this.rosterSource = data && data.rosterSource ? data.rosterSource : "none";
|
|
|
}
|
|
|
}
|
|
|
});
|