diff --git a/src/views/case/ManageList.vue b/src/views/case/ManageList.vue index 227a9f53..bd4ae5b8 100644 --- a/src/views/case/ManageList.vue +++ b/src/views/case/ManageList.vue @@ -12,6 +12,7 @@ +
@@ -19,8 +20,7 @@ 搜索 重置 - 只查看我上传的 - + 优秀案例 @@ -229,7 +229,7 @@ export default { this.queryObj.isTop = ''; this.queryObj.keyWord = ''; this.queryObj.pageIndex = 1; - this.queryObj.excellent = null; + this.queryObj.excellent = ''; this.getData() }, //获取案例列表数据 @@ -237,17 +237,15 @@ export default { if(num === 1) { this.queryObj.pageIndex = 1; } - apiCase - .isTopList(this.queryObj) - .then(res => { + if(!this.queryObj.excellent){ + this.queryObj.excellent=''; + } + apiCase.isTopList(this.queryObj).then(res => { if (res.status == 200) { this.count=res.result.count this.caseList = res.result.list; } else { - this.$message({ - type: 'error', - message: '查询数据失败' - }); + this.$message({type: 'error', message: '查询数据失败'}); } }) .catch(err => { diff --git a/src/views/user/Setting.vue b/src/views/user/Setting.vue index 94324804..dd9a9db5 100644 --- a/src/views/user/Setting.vue +++ b/src/views/user/Setting.vue @@ -536,7 +536,7 @@ //console.log('编辑成功') if(res.status==200){ this.Edittearch = true; - this.Teacherinfo(); + //this.Teacherinfo(); //更新远程 let simpleData={ teacher_user_id:this.userInfo.sysId,