|
@@ -78,6 +78,13 @@ export default {
|
|
|
type: '0',
|
|
|
status: '0',
|
|
|
},
|
|
|
+ {
|
|
|
+ stuname: '测试学生11',
|
|
|
+ date: '2020-07-20',
|
|
|
+ time: '14:00',
|
|
|
+ type: '0',
|
|
|
+ status: '0',
|
|
|
+ },
|
|
|
],
|
|
|
total: 0,
|
|
|
// 特殊班一键签到选中列表
|
|
@@ -110,7 +117,8 @@ export default {
|
|
|
},
|
|
|
async getClasses(batchid) {
|
|
|
const res = await this.classesquery({ batchid });
|
|
|
- this.$set(this, `classList`, res.data);
|
|
|
+ var arr = res.data.filter(item => item.type === '1');
|
|
|
+ this.$set(this, `classList`, arr);
|
|
|
},
|
|
|
async onsearch({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
const res = await this.query({ termid: this.form.termid, classid: this.form.classid, ...info });
|