From 6c7e1c9308571897fe93dbc6a950b6808c2a4e7d Mon Sep 17 00:00:00 2001 From: lijing Date: Tue, 1 Sep 2026 15:46:39 +0800 Subject: [PATCH] 1 --- src/views/historySearch.vue | 2 +- src/views/studentManage/Christianity.vue | 10 +++++----- src/views/studentManage/HigherEducation.vue | 4 ++-- src/views/studentYDManage/Christianity.vue | 20 +++++++++---------- src/views/studentYDManage/HigherEducation.vue | 18 ++++++++--------- src/views/subjectSetzhi.vue | 2 +- src/views/teacherManage/teacherinfo.vue | 2 +- src/views/zhuanruinfostu/HigherEducation.vue | 2 +- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/historySearch.vue b/src/views/historySearch.vue index 7367913..1f36809 100644 --- a/src/views/historySearch.vue +++ b/src/views/historySearch.vue @@ -240,7 +240,7 @@ /* 左侧树固定宽度+固定高度滚动 */ .left-tree-box { - width: 260px; + width: 220px; border: 1px solid #e5e7eb; overflow-y: auto; flex-shrink: 0; diff --git a/src/views/studentManage/Christianity.vue b/src/views/studentManage/Christianity.vue index e392e33..6dc690f 100644 --- a/src/views/studentManage/Christianity.vue +++ b/src/views/studentManage/Christianity.vue @@ -501,13 +501,13 @@ // 初始化表格列 配置式columns initTableColumn() { this.tableColumns = [ - {type: 'selection',width: 55,align: 'center'}, + {type: 'selection',width: 60,align: 'center'}, { title: '姓名', key: 'name', align: 'center' }, { title: '用户名', key: 'account', align: 'center' }, - { title: '学号', key: 'stuClassNo', align: 'center', width: 140 }, - { title: '身份证', key: 'idCard', align: 'center' }, + { title: '学号', key: 'stuClassNo', align: 'center', width: 120 }, + { title: '身份证', key: 'idCard', align: 'center', minWidth: 130 }, { title: '班级', key: 'className', align: 'center' }, - { title: '状态', key: 'statusName', align: 'center', width: 90 }, + { title: '状态', key: 'statusName', align: 'center', width: 80 }, { title: '操作', align: 'center', @@ -853,7 +853,7 @@ } /* 左侧树固定高度 */ .left-tree-box { - width: 260px; + width: 220px; border: 1px solid #e6e6e6; overflow-y: auto; flex-shrink: 0; diff --git a/src/views/studentManage/HigherEducation.vue b/src/views/studentManage/HigherEducation.vue index 6fa74a3..c7071ea 100644 --- a/src/views/studentManage/HigherEducation.vue +++ b/src/views/studentManage/HigherEducation.vue @@ -486,7 +486,7 @@ export default { this.tableColumns = [ { type: 'selection', - width: 55, + width: 60, align: 'center' }, { title: '姓名', key: 'name', align: 'center', width: 110 }, @@ -836,7 +836,7 @@ export default { } /* 左侧树固定高度 */ .left-tree-box { - width: 260px; + width: 220px; border: 1px solid #e6e6e6; overflow-y: auto; flex-shrink: 0; diff --git a/src/views/studentYDManage/Christianity.vue b/src/views/studentYDManage/Christianity.vue index f689f48..ea8d04d 100644 --- a/src/views/studentYDManage/Christianity.vue +++ b/src/views/studentYDManage/Christianity.vue @@ -27,7 +27,7 @@ stripe :columns="tableColumns" :data="tableData" - :height="useTableHeight()-12" + :height="useTableHeight()+24" @on-selection-change="selectionChange" > @@ -179,13 +179,13 @@ // 初始化表格列 配置式columns initTableColumn() { this.tableColumns = [ - {type: 'selection',width: 55,align: 'center'}, - { title: '年级', key: 'gradeName', align: 'center' }, - { title: '班级', key: 'className', align: 'center' }, - { title: '姓名', key: 'name', align: 'center', width: 140 }, - { title: '异动详情', key: 'abnormalStatusName', align: 'center' }, - { title: '异动日期', key: 'className', align: 'center' }, - { title: '身份证', key: 'idCard', align: 'center', width: 90 }, + { type: 'selection',width: 60,align: 'center' }, + { title: '年级', key: 'gradeName', align: 'center', minWidth: 80 }, + { title: '班级', key: 'className', align: 'center', minWidth: 80 }, + { title: '姓名', key: 'name', align: 'center', minWidth: 100 }, + { title: '异动详情', key: 'abnormalStatusName', align: 'center', width: 100 }, + { title: '异动日期', key: 'abnormalDate', align: 'center', minWidth: 130 }, + { title: '身份证', key: 'idCard', align: 'center', minWidth: 140 }, { title: '操作', align: 'center', @@ -264,7 +264,7 @@ submitChangeStatus() { if (!this.selectedRows.length) return this.$Message.warning('请勾选学生'); const newItem = { - abnormalStatus: 0, + abnormalStatus: this.selectedStatus, stuIds:this.selectedRows.map(a=>a.id) } const url = APIConfig.BschClassSystem.studentsetAbnormalStatus; @@ -294,7 +294,7 @@ } /* 左侧树固定高度 */ .left-tree-box { - width: 260px; + width: 220px; border: 1px solid #e6e6e6; overflow-y: auto; flex-shrink: 0; diff --git a/src/views/studentYDManage/HigherEducation.vue b/src/views/studentYDManage/HigherEducation.vue index 8cc3990..386026a 100644 --- a/src/views/studentYDManage/HigherEducation.vue +++ b/src/views/studentYDManage/HigherEducation.vue @@ -27,7 +27,7 @@ stripe :columns="tableColumns" :data="tableData" - :height="useTableHeight()-12" + :height="useTableHeight()+24" @on-selection-change="selectionChange" > @@ -176,13 +176,13 @@ export default { // 初始化表格列 配置式columns initTableColumn() { this.tableColumns = [ - {type: 'selection',width: 55,align: 'center'}, - { title: '年级', key: 'gradeName', align: 'center' }, - { title: '班级', key: 'className', align: 'center' }, - { title: '姓名', key: 'name', align: 'center', width: 140 }, - { title: '异动详情', key: 'abnormalStatusName', align: 'center' }, - { title: '异动日期', key: 'className', align: 'center' }, - { title: '身份证', key: 'idCard', align: 'center', width: 90 }, + { type: 'selection',width: 60,align: 'center' }, + { title: '年级', key: 'gradeName', align: 'center', minWidth: 80 }, + { title: '班级', key: 'className', align: 'center', minWidth: 80 }, + { title: '姓名', key: 'name', align: 'center', minWidth: 100 }, + { title: '异动详情', key: 'abnormalStatusName', align: 'center', width: 100 }, + { title: '异动日期', key: 'abnormalDate', align: 'center', minWidth: 130 }, + { title: '身份证', key: 'idCard', align: 'center', minWidth: 140 }, { title: '操作', align: 'center', @@ -287,7 +287,7 @@ export default { } /* 左侧树固定高度 */ .left-tree-box { - width: 260px; + width: 220px; border: 1px solid #e6e6e6; overflow-y: auto; flex-shrink: 0; diff --git a/src/views/subjectSetzhi.vue b/src/views/subjectSetzhi.vue index 0f990f3..825366b 100644 --- a/src/views/subjectSetzhi.vue +++ b/src/views/subjectSetzhi.vue @@ -144,7 +144,7 @@ const url = APIConfig.BschClassSystem.subjectsave; this.$api.post(url, JSON.stringify(submitData), resp => { if (resp.code == 0) { - this.$Message.success("启用成功!"); + this.$Message.success(submap.enable?"启用成功!":"禁用成功!"); this.getsubjectlist(); } else if (resp.code == 4) { this.$Message.info(resp.msg); diff --git a/src/views/teacherManage/teacherinfo.vue b/src/views/teacherManage/teacherinfo.vue index 50c87a5..de0c385 100644 --- a/src/views/teacherManage/teacherinfo.vue +++ b/src/views/teacherManage/teacherinfo.vue @@ -929,7 +929,7 @@ export default { min-height: 0; /* 第一层修复 */ } .tree-sidebar { - width: 250px; + width: 225px; border: 1px solid #e8e8e8; display: flex; flex-direction: column; diff --git a/src/views/zhuanruinfostu/HigherEducation.vue b/src/views/zhuanruinfostu/HigherEducation.vue index 9fffcd9..f209cc6 100644 --- a/src/views/zhuanruinfostu/HigherEducation.vue +++ b/src/views/zhuanruinfostu/HigherEducation.vue @@ -153,7 +153,7 @@ export default { // 初始化表格列 initTableColumn() { this.tableColumns = [ - { type: 'selection', width: 55, align: 'center' }, + { type: 'selection', width: 60, align: 'center' }, { title: '序号', key: 'serial', align: 'center', width: 70 }, { title: '学校', key: 'school', align: 'center' }, { title: '年级', key: 'grade', align: 'center', width: 110 },