班级升级
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user