This commit is contained in:
lijing
2026-08-26 08:37:13 +08:00
parent f9205ccf77
commit 79ab93547c
6 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -310,7 +310,7 @@
// 表格列配置:操作第一个改为编辑图标按钮
tableColumns: [
{ type: "selection", width: 50 },
{ type: "selection", width: 60 },
{ title: "#", type: "index", align: "center", width: 70 },
{ title: "班级名称", key: "className", align: "left" },
{ title: "开班时间", key: "openTime", align: "center", width: 160 },
+1 -1
View File
@@ -132,7 +132,7 @@
selectedStudentRows: [],
// 表格列配置
tableColumns: [
{ type: "selection", width: 50 },
{ type: "selection", width: 60 },
{ title: "序号", type: "index", align: "center", width: 70 },
{ title: "姓名", key: "name", align: "left" },
{ title: "年级", key: "grade", align: "center" },
+3 -3
View File
@@ -48,8 +48,8 @@
</div>
<!-- 历史学生布局 -->
<div class="student-wrap">
<div class="item-card student-card" style="cursor: pointer;" v-for="(itt,idx) in item.student" :key="idx" @click="tolink(item)">
{{ itt.StuName }}
<div class="item-card student-card" style="cursor: pointer;" v-for="(itt,idx) in item.student" :key="idx" @click="tolink(itt)">
{{ itt.name }}
<!-- <span v-if="itt.teacherName">({{ itt.teacherName }})</span> -->
</div>
</div>
@@ -222,7 +222,7 @@
},
//跳转详情
tolink(item){
this.$router.push({path:'/historySearchDetail?stuId='+item.stuId+'&studentName='+item.studentName+'&className='+item.className});
this.$router.push({path:'/historySearchDetail?stuId='+item.id});
},
}
}
+8 -4
View File
@@ -4,9 +4,9 @@
<div class="top-header-bar">
<div class="left-info">
<span class="label">当前学生:</span>
<span class="text">{{ $route.query.studentName }}</span>
<span class="text">{{ studentName }}</span>
<span class="label" style="margin-left: 24px;">当前班级:</span>
<span class="text">{{ $route.query.className }}</span>
<span class="text">{{ className }}</span>
</div>
<Button type="primary" @click="goBack">返回上一级</Button>
</div>
@@ -15,7 +15,7 @@
<!-- 时间段+学校班级栏 -->
<div class="time-school-bar">
<span>日期:{{ item.yearDate }}</span>
<span style="margin-left: 20px;">{{ item.schoolName }} &nbsp;&nbsp;{{ item.className }}</span>
<span style="margin-left: 20px;">{{ item.schName }} &nbsp;&nbsp;{{ item.gradeName }}</span>
</div>
<!-- 科目教师卡片流式容器,超出纵向滚动 -->
@@ -37,6 +37,8 @@
name: 'StudentTeachDetail',
data() {
return {
studentName:'',
className:'',
// 科目+教师数据源(完全匹配截图)
HistoryClassTeachByStuIdList: []
}
@@ -56,7 +58,9 @@
_this.$api.get(APIConfig.BschClassSystem.getHistoryClassTeachByStuId, item, resp => {
if(resp.code==0)
{
this.HistoryClassTeachByStuIdList=resp.data;
this.studentName=resp.data.stuName;
this.className=resp.data.className;
this.HistoryClassTeachByStuIdList=resp.data.classTeachs;
}
});
},
+1 -1
View File
@@ -719,7 +719,7 @@
//按照学生学号导入
openStuIdImportModal() { this.stuIdImportModalVisible = true },
//导入成功返回
importFil2(response, file, fileList){
importFile2(response, file, fileList){
const _this=this;
console.log(response);
console.log(file);
+1 -1
View File
@@ -368,7 +368,7 @@ export default {
},
tableColumns: [
{ type: 'selection', width: 50 },
{ type: 'selection', width: 60 },
{ title: '序号', type: 'index', align: 'center', width: 70 },
{ title: '教师账号', key: 'account', align: 'center' },
{ title: '教师姓名', key: 'name', align: 'center' },