班级升级

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

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