From 79ab93547c8c691fd5f5cb7501c113f4f69deea1 Mon Sep 17 00:00:00 2001 From: lijing Date: Wed, 26 Aug 2026 08:37:13 +0800 Subject: [PATCH] 1 --- src/views/electiveClassManage.vue | 2 +- src/views/electiveClassManageDetail.vue | 2 +- src/views/historySearch.vue | 6 +++--- src/views/historySearchDetail.vue | 12 ++++++++---- src/views/studentManage/Christianity.vue | 2 +- src/views/teacherManage/teacherinfo.vue | 2 +- 6 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/views/electiveClassManage.vue b/src/views/electiveClassManage.vue index bbf64d9..726f0ce 100644 --- a/src/views/electiveClassManage.vue +++ b/src/views/electiveClassManage.vue @@ -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 }, diff --git a/src/views/electiveClassManageDetail.vue b/src/views/electiveClassManageDetail.vue index e221a17..e06d13c 100644 --- a/src/views/electiveClassManageDetail.vue +++ b/src/views/electiveClassManageDetail.vue @@ -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" }, diff --git a/src/views/historySearch.vue b/src/views/historySearch.vue index 55e0f66..7367913 100644 --- a/src/views/historySearch.vue +++ b/src/views/historySearch.vue @@ -48,8 +48,8 @@
-
- {{ itt.StuName }} +
+ {{ itt.name }}
@@ -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}); }, } } diff --git a/src/views/historySearchDetail.vue b/src/views/historySearchDetail.vue index c186490..1d4a0ca 100644 --- a/src/views/historySearchDetail.vue +++ b/src/views/historySearchDetail.vue @@ -4,9 +4,9 @@
当前学生: - {{ $route.query.studentName }} + {{ studentName }} 当前班级: - {{ $route.query.className }} + {{ className }}
@@ -15,7 +15,7 @@
日期:{{ item.yearDate }} - {{ item.schoolName }}   {{ item.className }} + {{ item.schName }}   {{ item.gradeName }}
@@ -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; } }); }, diff --git a/src/views/studentManage/Christianity.vue b/src/views/studentManage/Christianity.vue index 6071cc0..aa9edae 100644 --- a/src/views/studentManage/Christianity.vue +++ b/src/views/studentManage/Christianity.vue @@ -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); diff --git a/src/views/teacherManage/teacherinfo.vue b/src/views/teacherManage/teacherinfo.vue index e69c7bc..50c87a5 100644 --- a/src/views/teacherManage/teacherinfo.vue +++ b/src/views/teacherManage/teacherinfo.vue @@ -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' },