From bdc571ec4fa1762c3b9e9e85cb2028d3cb60612c Mon Sep 17 00:00:00 2001 From: daihh Date: Thu, 29 Dec 2022 16:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BE=8B=E5=A2=9E=E5=8A=A0=E4=BC=98?= =?UTF-8?q?=E7=A7=80=E6=A1=88=E4=BE=8B=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/case/ManageList.vue | 18 ++++++++---------- src/views/user/Setting.vue | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) 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,