班级升级
This commit is contained in:
@ -9,6 +9,15 @@ export function listClass(query) {
|
||||
})
|
||||
}
|
||||
|
||||
// 查询班级信息列表
|
||||
export function listClassAll(query) {
|
||||
return request({
|
||||
url: '/system/class/listall',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询班级信息详细
|
||||
export function getClass(bjbh) {
|
||||
return request({
|
||||
|
@ -107,8 +107,7 @@
|
||||
<el-table-column
|
||||
label="班级名称"
|
||||
align="center"
|
||||
prop="classid"
|
||||
:formatter="classFormat"
|
||||
prop="byClass.bjmc"
|
||||
/>
|
||||
<el-table-column label="开始月份" align="center" prop="startmonth">
|
||||
<template slot-scope="scope">
|
||||
@ -329,18 +328,6 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 字典翻译
|
||||
classFormat(row, column) {
|
||||
var actions = [];
|
||||
var datas = this.classOptions;
|
||||
Object.keys(datas).map((key) => {
|
||||
if (datas[key].bjbh == "" + row.classid) {
|
||||
actions.push(datas[key].bjmc);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return actions.join("");
|
||||
},
|
||||
// 学年学期字典翻译
|
||||
xnxqFormat(row, column) {
|
||||
return this.selectDictLabel(this.xnxqOptions, row.xnxq);
|
||||
|
@ -22,7 +22,6 @@
|
||||
<el-col :xs="24" :ms="12" :md="5">
|
||||
<el-form-item label="选择教师" prop="jsid">
|
||||
<el-select
|
||||
ref="fieldSelect"
|
||||
v-model="queryParams.jsid"
|
||||
clearable
|
||||
size="small"
|
||||
@ -383,13 +382,6 @@ export default {
|
||||
});
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(function () {
|
||||
this.$refs.fieldSelect.$refs.scrollbar.$el.classList.add(
|
||||
"scroll-opacity"
|
||||
);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
/** 查询教师月绩效考核列表 */
|
||||
getList() {
|
||||
@ -572,9 +564,4 @@ export default {
|
||||
.no-margin ::v-deep.el-form-item__content {
|
||||
margin: 0 !important;
|
||||
}
|
||||
.el-select-dropdown
|
||||
.scroll-opacity.el-scrollbar
|
||||
.el-scrollbar__bar.is-vertical {
|
||||
opacity: 1; //改为0不显示滚动条
|
||||
}
|
||||
</style>
|
@ -131,8 +131,7 @@
|
||||
<el-table-column
|
||||
label="班级名称"
|
||||
align="center"
|
||||
prop="classid"
|
||||
:formatter="classFormat"
|
||||
prop="byClass.bjmc"
|
||||
/>
|
||||
<el-table-column
|
||||
label="学年学期"
|
||||
@ -390,19 +389,6 @@ export default {
|
||||
this.themeOptions = response.rows;
|
||||
});
|
||||
},
|
||||
// 字典翻译
|
||||
classFormat(row, column) {
|
||||
// return this.selectDictLabel(this.classOptions, row.classid);
|
||||
var actions = [];
|
||||
var datas = this.classOptions;
|
||||
Object.keys(datas).map((key) => {
|
||||
if (datas[key].bjbh == "" + row.classid) {
|
||||
actions.push(datas[key].bjmc);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return actions.join("");
|
||||
},
|
||||
// 学年学期类型--字典状态字典翻译
|
||||
xnxqFormat(row, column) {
|
||||
return this.selectDictLabel(this.xnxqOptions, row.xnxq);
|
||||
|
@ -107,8 +107,7 @@
|
||||
<el-table-column
|
||||
label="班级名称"
|
||||
align="center"
|
||||
prop="classid"
|
||||
:formatter="classFormat"
|
||||
prop="byClass.bjmc"
|
||||
/>
|
||||
<el-table-column label="开始月份" align="center" prop="startmonth">
|
||||
<template slot-scope="scope">
|
||||
@ -312,19 +311,6 @@ export default {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
// 字典翻译
|
||||
classFormat(row, column) {
|
||||
// return this.selectDictLabel(this.classOptions, row.classid);
|
||||
var actions = [];
|
||||
var datas = this.classOptions;
|
||||
Object.keys(datas).map((key) => {
|
||||
if (datas[key].bjbh == "" + row.classid) {
|
||||
actions.push(datas[key].bjmc);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return actions.join("");
|
||||
},
|
||||
// 学年学期类型--字典状态字典翻译
|
||||
xnxqFormat(row, column) {
|
||||
return this.selectDictLabel(this.xnxqOptions, row.xnxq);
|
||||
|
@ -132,8 +132,7 @@
|
||||
<el-table-column
|
||||
label="班级名称"
|
||||
align="center"
|
||||
prop="classid"
|
||||
:formatter="classFormat"
|
||||
prop="byClass.bjmc"
|
||||
/>
|
||||
<el-table-column label="所属月份" align="center" prop="month">
|
||||
<template slot-scope="scope">
|
||||
@ -357,19 +356,6 @@ export default {
|
||||
xnxqFormat(row, column) {
|
||||
return this.selectDictLabel(this.xnxqOptions, row.xnxq);
|
||||
},
|
||||
// 字典翻译
|
||||
classFormat(row, column) {
|
||||
// return this.selectDictLabel(this.classOptions, row.classid);
|
||||
var actions = [];
|
||||
var datas = this.classOptions;
|
||||
Object.keys(datas).map((key) => {
|
||||
if (datas[key].bjbh == "" + row.classid) {
|
||||
actions.push(datas[key].bjmc);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return actions.join("");
|
||||
},
|
||||
/** 查询主题整合周计划(根据月计划明细)列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
|
Reference in New Issue
Block a user