mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
提交
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
<div style="padding:10px 0px 12px 2px">
|
<div style="padding:10px 0px 12px 2px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
|
|
||||||
<el-input clearable placeholder="搜索名称" v-model="keyword"></el-input>
|
<el-input clearable placeholder="搜索名称" v-model="keyword"></el-input>
|
||||||
<el-button type="primary" icon="el-icon-search" @click="getData()">搜索</el-button>
|
<el-button type="primary" icon="el-icon-search" @click="getData()">搜索</el-button>
|
||||||
<el-button type="primary" icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
<el-button type="primary" icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
||||||
@@ -38,11 +37,14 @@
|
|||||||
:current-page="page"
|
:current-page="page"
|
||||||
:page-size="size"
|
:page-size="size"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
:total="total"
|
:total="total">
|
||||||
>
|
|
||||||
</el-pagination>
|
</el-pagination>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div v-if="testList.length == 0">
|
||||||
|
<div v-if="isSearh" class="zan-wu">没有查询到相关内容</div>
|
||||||
|
<div v-else class="zan-wu">暂无数据</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -54,6 +56,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
isSearh:false,
|
||||||
keyword:'',
|
keyword:'',
|
||||||
testList:'',
|
testList:'',
|
||||||
total:0,
|
total:0,
|
||||||
@@ -83,6 +86,7 @@
|
|||||||
window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=quizsummary`)
|
window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=quizsummary`)
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
|
this.isSearh = true;
|
||||||
this.page=1;
|
this.page=1;
|
||||||
this.findList();
|
this.findList();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user