|
@@ -152,7 +152,9 @@ export default {
|
|
|
components: { pagination },
|
|
|
data() {
|
|
|
return {
|
|
|
- searchForm: {},
|
|
|
+ searchForm: {
|
|
|
+ search:''
|
|
|
+ },
|
|
|
tableList: [],
|
|
|
detail: {
|
|
|
list: null,
|
|
@@ -186,8 +188,14 @@ export default {
|
|
|
this.$router.push("/liveClassManager");
|
|
|
this.$store.dispatch("delVisitedViews", this.$route);
|
|
|
},
|
|
|
- search() {},
|
|
|
- onReSet() {},
|
|
|
+ search() {
|
|
|
+ this.rules.page =1
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ onReSet() {
|
|
|
+ this.searchForm.search = ''
|
|
|
+ this.search()
|
|
|
+ },
|
|
|
async getList() {
|
|
|
try {
|
|
|
let obj = {
|