@@ -240,7 +240,7 @@
|
||||
|
||||
/* 左侧树固定宽度+固定高度滚动 */
|
||||
.left-tree-box {
|
||||
width: 260px;
|
||||
width: 220px;
|
||||
border: 1px solid #e5e7eb;
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
stripe
|
||||
:columns="tableColumns"
|
||||
:data="tableData"
|
||||
:height="useTableHeight()-12"
|
||||
:height="useTableHeight()+24"
|
||||
@on-selection-change="selectionChange"
|
||||
></Table>
|
||||
</div>
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -929,7 +929,7 @@ export default {
|
||||
min-height: 0; /* 第一层修复 */
|
||||
}
|
||||
.tree-sidebar {
|
||||
width: 250px;
|
||||
width: 225px;
|
||||
border: 1px solid #e8e8e8;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user