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
+1 -1
View File
@@ -240,7 +240,7 @@
/* 左侧树固定宽度+固定高度滚动 */ /* 左侧树固定宽度+固定高度滚动 */
.left-tree-box { .left-tree-box {
width: 260px; width: 220px;
border: 1px solid #e5e7eb; border: 1px solid #e5e7eb;
overflow-y: auto; overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
+5 -5
View File
@@ -501,13 +501,13 @@
// 初始化表格列 配置式columns // 初始化表格列 配置式columns
initTableColumn() { initTableColumn() {
this.tableColumns = [ this.tableColumns = [
{type: 'selection',width: 55,align: 'center'}, {type: 'selection',width: 60,align: 'center'},
{ title: '姓名', key: 'name', align: 'center' }, { title: '姓名', key: 'name', align: 'center' },
{ title: '用户名', key: 'account', align: 'center' }, { title: '用户名', key: 'account', align: 'center' },
{ title: '学号', key: 'stuClassNo', align: 'center', width: 140 }, { title: '学号', key: 'stuClassNo', align: 'center', width: 120 },
{ title: '身份证', key: 'idCard', align: 'center' }, { title: '身份证', key: 'idCard', align: 'center', minWidth: 130 },
{ title: '班级', key: 'className', align: 'center' }, { title: '班级', key: 'className', align: 'center' },
{ title: '状态', key: 'statusName', align: 'center', width: 90 }, { title: '状态', key: 'statusName', align: 'center', width: 80 },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
@@ -853,7 +853,7 @@
} }
/* 左侧树固定高度 */ /* 左侧树固定高度 */
.left-tree-box { .left-tree-box {
width: 260px; width: 220px;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
overflow-y: auto; overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
+2 -2
View File
@@ -486,7 +486,7 @@ export default {
this.tableColumns = [ this.tableColumns = [
{ {
type: 'selection', type: 'selection',
width: 55, width: 60,
align: 'center' align: 'center'
}, },
{ title: '姓名', key: 'name', align: 'center', width: 110 }, { title: '姓名', key: 'name', align: 'center', width: 110 },
@@ -836,7 +836,7 @@ export default {
} }
/* 左侧树固定高度 */ /* 左侧树固定高度 */
.left-tree-box { .left-tree-box {
width: 260px; width: 220px;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
overflow-y: auto; overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
+10 -10
View File
@@ -27,7 +27,7 @@
stripe stripe
:columns="tableColumns" :columns="tableColumns"
:data="tableData" :data="tableData"
:height="useTableHeight()-12" :height="useTableHeight()+24"
@on-selection-change="selectionChange" @on-selection-change="selectionChange"
></Table> ></Table>
</div> </div>
@@ -179,13 +179,13 @@
// 初始化表格列 配置式columns // 初始化表格列 配置式columns
initTableColumn() { initTableColumn() {
this.tableColumns = [ this.tableColumns = [
{type: 'selection',width: 55,align: 'center'}, { type: 'selection',width: 60,align: 'center' },
{ title: '年级', key: 'gradeName', align: 'center' }, { title: '年级', key: 'gradeName', align: 'center', minWidth: 80 },
{ title: '班级', key: 'className', align: 'center' }, { title: '班级', key: 'className', align: 'center', minWidth: 80 },
{ title: '姓名', key: 'name', align: 'center', width: 140 }, { title: '姓名', key: 'name', align: 'center', minWidth: 100 },
{ title: '异动详情', key: 'abnormalStatusName', align: 'center' }, { title: '异动详情', key: 'abnormalStatusName', align: 'center', width: 100 },
{ title: '异动日期', key: 'className', align: 'center' }, { title: '异动日期', key: 'abnormalDate', align: 'center', minWidth: 130 },
{ title: '身份证', key: 'idCard', align: 'center', width: 90 }, { title: '身份证', key: 'idCard', align: 'center', minWidth: 140 },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
@@ -264,7 +264,7 @@
submitChangeStatus() { submitChangeStatus() {
if (!this.selectedRows.length) return this.$Message.warning('请勾选学生'); if (!this.selectedRows.length) return this.$Message.warning('请勾选学生');
const newItem = { const newItem = {
abnormalStatus: 0, abnormalStatus: this.selectedStatus,
stuIds:this.selectedRows.map(a=>a.id) stuIds:this.selectedRows.map(a=>a.id)
} }
const url = APIConfig.BschClassSystem.studentsetAbnormalStatus; const url = APIConfig.BschClassSystem.studentsetAbnormalStatus;
@@ -294,7 +294,7 @@
} }
/* 左侧树固定高度 */ /* 左侧树固定高度 */
.left-tree-box { .left-tree-box {
width: 260px; width: 220px;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
overflow-y: auto; overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
@@ -27,7 +27,7 @@
stripe stripe
:columns="tableColumns" :columns="tableColumns"
:data="tableData" :data="tableData"
:height="useTableHeight()-12" :height="useTableHeight()+24"
@on-selection-change="selectionChange" @on-selection-change="selectionChange"
></Table> ></Table>
</div> </div>
@@ -176,13 +176,13 @@ export default {
// 初始化表格列 配置式columns // 初始化表格列 配置式columns
initTableColumn() { initTableColumn() {
this.tableColumns = [ this.tableColumns = [
{type: 'selection',width: 55,align: 'center'}, { type: 'selection',width: 60,align: 'center' },
{ title: '年级', key: 'gradeName', align: 'center' }, { title: '年级', key: 'gradeName', align: 'center', minWidth: 80 },
{ title: '班级', key: 'className', align: 'center' }, { title: '班级', key: 'className', align: 'center', minWidth: 80 },
{ title: '姓名', key: 'name', align: 'center', width: 140 }, { title: '姓名', key: 'name', align: 'center', minWidth: 100 },
{ title: '异动详情', key: 'abnormalStatusName', align: 'center' }, { title: '异动详情', key: 'abnormalStatusName', align: 'center', width: 100 },
{ title: '异动日期', key: 'className', align: 'center' }, { title: '异动日期', key: 'abnormalDate', align: 'center', minWidth: 130 },
{ title: '身份证', key: 'idCard', align: 'center', width: 90 }, { title: '身份证', key: 'idCard', align: 'center', minWidth: 140 },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
@@ -287,7 +287,7 @@ export default {
} }
/* 左侧树固定高度 */ /* 左侧树固定高度 */
.left-tree-box { .left-tree-box {
width: 260px; width: 220px;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
overflow-y: auto; overflow-y: auto;
flex-shrink: 0; flex-shrink: 0;
+1 -1
View File
@@ -144,7 +144,7 @@
const url = APIConfig.BschClassSystem.subjectsave; const url = APIConfig.BschClassSystem.subjectsave;
this.$api.post(url, JSON.stringify(submitData), resp => { this.$api.post(url, JSON.stringify(submitData), resp => {
if (resp.code == 0) { if (resp.code == 0) {
this.$Message.success("启用成功!"); this.$Message.success(submap.enable?"启用成功!":"禁用成功!");
this.getsubjectlist(); this.getsubjectlist();
} else if (resp.code == 4) { } else if (resp.code == 4) {
this.$Message.info(resp.msg); this.$Message.info(resp.msg);
+1 -1
View File
@@ -929,7 +929,7 @@ export default {
min-height: 0; /* 第一层修复 */ min-height: 0; /* 第一层修复 */
} }
.tree-sidebar { .tree-sidebar {
width: 250px; width: 225px;
border: 1px solid #e8e8e8; border: 1px solid #e8e8e8;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
+1 -1
View File
@@ -153,7 +153,7 @@ export default {
// 初始化表格列 // 初始化表格列
initTableColumn() { initTableColumn() {
this.tableColumns = [ this.tableColumns = [
{ type: 'selection', width: 55, align: 'center' }, { type: 'selection', width: 60, align: 'center' },
{ title: '序号', key: 'serial', align: 'center', width: 70 }, { title: '序号', key: 'serial', align: 'center', width: 70 },
{ title: '学校', key: 'school', align: 'center' }, { title: '学校', key: 'school', align: 'center' },
{ title: '年级', key: 'grade', align: 'center', width: 110 }, { title: '年级', key: 'grade', align: 'center', width: 110 },