This commit is contained in:
lijing
2026-09-01 15:46:39 +08:00
parent 8529add85d
commit 6c7e1c9308
8 changed files with 30 additions and 30 deletions
+10 -10
View File
@@ -27,7 +27,7 @@
stripe
:columns="tableColumns"
:data="tableData"
:height="useTableHeight()-12"
:height="useTableHeight()+24"
@on-selection-change="selectionChange"
></Table>
</div>
@@ -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;