mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
修改
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
<el-button @click="getData(1)" icon="el-icon-search" type="primary" >搜索</el-button>
|
||||
<!-- <el-button @click="showRecords()" icon="el-icon-tickets" type="info" >推荐记录</el-button> -->
|
||||
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
|
||||
<el-checkbox style="margin-left:10px" v-model="queryObj.excellent" @change="getData()">只查看我上传的</el-checkbox>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -121,7 +123,8 @@ export default {
|
||||
queryObj: {
|
||||
pageIndex:1,
|
||||
pageSize:10,
|
||||
isTop:''
|
||||
isTop:'',
|
||||
excellent:false,
|
||||
}, //查询对象
|
||||
caseList: [], //案例列表
|
||||
count:0,
|
||||
@@ -159,6 +162,10 @@ export default {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
// getSearch(){
|
||||
// this.queryObj.excellent = !this.queryObj.excellent;
|
||||
// this.getData();
|
||||
// },
|
||||
cancal(item){
|
||||
this.$confirm('是否取消该案例为优秀案例?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
@@ -222,6 +229,7 @@ export default {
|
||||
this.queryObj.isTop = '';
|
||||
this.queryObj.keyWord = '';
|
||||
this.queryObj.pageIndex = 1;
|
||||
this.queryObj.excellent = null;
|
||||
this.getData()
|
||||
},
|
||||
//获取案例列表数据
|
||||
|
||||
Reference in New Issue
Block a user