This commit is contained in:
lmj
2022-12-10 22:55:21 +08:00
parent c25948eeeb
commit ab7e8546a2
4 changed files with 130 additions and 2 deletions

View File

@@ -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()
},
//获取案例列表数据