|
@@ -2,6 +2,21 @@
|
|
<div>
|
|
<div>
|
|
<!-- 搜索标题 -->
|
|
<!-- 搜索标题 -->
|
|
<div @click="openTeaching('create')" class="newBand">新建</div>
|
|
<div @click="openTeaching('create')" class="newBand">新建</div>
|
|
|
|
+ <!-- 搜索标题 -->
|
|
|
|
+ <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
|
|
|
|
+ <el-form-item prop="hasPracticeCourse">
|
|
|
|
+ <el-select
|
|
|
|
+ class="multiple"
|
|
|
|
+ v-model.trim="searchForm.tenantId"
|
|
|
|
+ placeholder="请选择对内或对外">
|
|
|
|
+ <el-option label="对内" value="1"></el-option>
|
|
|
|
+ <el-option label="对外" value="2"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-button @click="getList" type="danger">搜索</el-button>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<div class="tableWrap">
|
|
<div class="tableWrap">
|
|
<el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
|
|
<el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
|
|
@@ -55,6 +70,9 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ searchForm: {
|
|
|
|
+ tenantId: '1'
|
|
|
|
+ },
|
|
tableList: [],
|
|
tableList: [],
|
|
organId: null,
|
|
organId: null,
|
|
teacherId: this.$route.query.teacherId,
|
|
teacherId: this.$route.query.teacherId,
|
|
@@ -76,6 +94,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
getList() {
|
|
getList() {
|
|
let params = {
|
|
let params = {
|
|
|
|
+ tenantId: this.searchForm.tenantId,
|
|
rows: this.pageInfo.limit,
|
|
rows: this.pageInfo.limit,
|
|
page: this.pageInfo.page,
|
|
page: this.pageInfo.page,
|
|
type: 1
|
|
type: 1
|