|
@@ -49,6 +49,9 @@
|
|
|
<el-form-item label="班级名称">
|
|
|
<el-input clearable placeholder="班级名称" v-model="form.name"></el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="班级编号">
|
|
|
+ <el-input clearable placeholder="班级编号" v-model="form.class_no"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<!-- <el-form-item label="类别">
|
|
|
<Subject @subChange="subChange" />
|
|
|
</el-form-item> -->
|
|
@@ -63,13 +66,20 @@
|
|
|
type="selection" fixed="left"
|
|
|
width="55">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="name" width="200" label="培训计划编号"></el-table-column>
|
|
|
+ <el-table-column prop="class_no" width="100" label="培训计划编号"></el-table-column>
|
|
|
<el-table-column prop="name" width="200" label="班级名称">
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column
|
|
|
prop="subject_item" width="300"
|
|
|
label="培训项目">
|
|
|
</el-table-column> -->
|
|
|
+ <el-table-column prop="name" width="200" label="班级状态">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.class_status==1">未开班</span>
|
|
|
+ <span v-if="scope.row.class_status==2">培训中</span>
|
|
|
+ <span v-if="scope.row.class_status==3">已结束</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="signup_limit" width="80" label="计划人数">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="signuped_count" width="100" label="已报名人数">
|
|
@@ -214,7 +224,6 @@
|
|
|
});
|
|
|
},
|
|
|
showSignupUser(row) {
|
|
|
- console.log(row, 222222222222);
|
|
|
this.$refs.ClassUser.showSignupUser(row);
|
|
|
this.dialogVisible = true;
|
|
|
},
|