普法考试查询
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="GeneralLawExam">
|
<div class="GeneralLawExam">
|
||||||
<div class="search_box">
|
<div class="search_box">
|
||||||
<u-search placeholder="请输入需要搜索的考试" bg-color="#FFF" v-model="title"
|
<u-search placeholder="请输入需要搜索的考试" bg-color="#FFF" v-model="title"
|
||||||
:show-action="false" @search="getList" @clear="title='',getList()"></u-search>
|
:show-action="false" @search="getListInit" @clear="title='',getListInit()"></u-search>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="all_test">全部考试</p>
|
<p class="all_test">全部考试</p>
|
||||||
@@ -95,6 +95,11 @@ export default {
|
|||||||
this.current ++
|
this.current ++
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
getListInit() {
|
||||||
|
this.current = 1
|
||||||
|
this.pages = 2
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
if(this.current > this.pages) return
|
if(this.current > this.pages) return
|
||||||
this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, {
|
this.$instance.post(`/app/appexaminationinfo/listForXCX`, null, {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="OnlineClass">
|
<div class="OnlineClass">
|
||||||
<div class="search_box">
|
<div class="search_box">
|
||||||
<u-search placeholder="请输入需要搜索的课程" bg-color="#FFF" v-model="title" :show-action="false" @clear="title='',getList()" @search="getList"></u-search>
|
<u-search placeholder="请输入需要搜索的课程" bg-color="#FFF" v-model="title" :show-action="false" @clear="title='',getListInit()" @search="getListInit"></u-search>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="all_class">全部课程</p>
|
<p class="all_class">全部课程</p>
|
||||||
@@ -45,6 +45,11 @@ export default {
|
|||||||
this.current ++
|
this.current ++
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
getListInit() {
|
||||||
|
this.current = 1
|
||||||
|
this.pages = 2
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
if(this.current > this.pages) return
|
if(this.current > this.pages) return
|
||||||
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
||||||
|
|||||||
Reference in New Issue
Block a user