班级升级

This commit is contained in:
zhanglipeng
2021-08-27 11:33:10 +08:00
parent 71aa96ced9
commit 7e0952478c
23 changed files with 359 additions and 152 deletions

View File

@ -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({

View File

@ -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);

View File

@ -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>

View File

@ -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);

View File

@ -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);

View File

@ -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;