|
@@ -17,6 +17,12 @@
|
|
|
placeholder="学员姓名/编号/手机号"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item prop="visitorQuery">
|
|
|
+ <el-select placeholder="观看用户" v-model="searchForm.visitorQuery" clearable>
|
|
|
+ <el-option label="学员" :value="0"></el-option>
|
|
|
+ <el-option label="游客" :value="1"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button @click="search" type="primary">搜索</el-button>
|
|
|
<el-button @click="onReSet" type="danger">重置</el-button>
|
|
@@ -100,6 +106,7 @@ export default {
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
roomUid: this.activeRow.roomUid,
|
|
|
+ excludeBlacklist: 1,
|
|
|
});
|
|
|
this.tableList = res.data.rows;
|
|
|
this.rules.total = res.data.total;
|
|
@@ -109,7 +116,7 @@ export default {
|
|
|
this.isNewPage = true;
|
|
|
this.$nextTick(() => {
|
|
|
this.tableList.forEach((course) => {
|
|
|
- if (studentIdList.indexOf(course.studentId) != -1) {
|
|
|
+ if (idList.indexOf(course.studentId) != -1) {
|
|
|
this.$refs.multipleSelection.toggleRowSelection(course, true);
|
|
|
}
|
|
|
});
|
|
@@ -125,6 +132,7 @@ export default {
|
|
|
},
|
|
|
onReSet() {
|
|
|
this.searchForm.search = "";
|
|
|
+ this.searchForm.visitorQuery = "";
|
|
|
this.clearCom();
|
|
|
this.search();
|
|
|
},
|