From 78d5e53f84c60343a1706bdb8afda935c23cb22d Mon Sep 17 00:00:00 2001 From: xiepeng Date: Tue, 25 Jun 2024 17:22:39 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96=20=20=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA=20?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=85=AC=E5=91=8A=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/basics/basic-info/confirm.vue | 2 +- pages/news/home.vue | 10 +++------- pages/news/notice-list-detail.vue | 5 +++-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/pages/basics/basic-info/confirm.vue b/pages/basics/basic-info/confirm.vue index 3d2a283..2776b74 100644 --- a/pages/basics/basic-info/confirm.vue +++ b/pages/basics/basic-info/confirm.vue @@ -88,7 +88,7 @@ import { if (res.data.pd) { uni.hideLoading(); _this.form = res.data.pd; - console.log(_this.form) + console.log("111",_this.form) _this.$set(_this.form, 'REVIEW_RESULT', ''); } } diff --git a/pages/news/home.vue b/pages/news/home.vue index 5bdabd9..2cfe42e 100644 --- a/pages/news/home.vue +++ b/pages/news/home.vue @@ -81,7 +81,6 @@ {{item.TITLE}} - @@ -175,8 +174,8 @@ tabCur :0, } }, - mounted(e){ + mounted(e){ this.getData(); let that=this; let CustomBar = this.CustomBar; @@ -237,6 +236,8 @@ } }, getData() { + this.getPcData(); + this.getTxData(); var _this = this; uni.showLoading({ title: '请稍候' @@ -269,7 +270,6 @@ } }); }, - getPcData() { var _this = this; uni.showLoading({ @@ -337,16 +337,12 @@ }); }, //跳转事件 - goToDetail(e) { - - }, goToTxDetail(e){ uni.navigateTo({ url: '/pages/news/notice-list-detail?id='+e+'&type=1', }); }, goToPcDetail(e){ - console.log(e) if(this.TabCur == 0) { uni.navigateTo({ url: '/pages/news/notice-list-detail?id='+e+'&type=0', diff --git a/pages/news/notice-list-detail.vue b/pages/news/notice-list-detail.vue index ea11057..b1797de 100644 --- a/pages/news/notice-list-detail.vue +++ b/pages/news/notice-list-detail.vue @@ -49,8 +49,10 @@ this.type =e.type; this.id=e.id; this.getData(); - console.log(e) }, + onShow(){ + this.getData(); + }, methods: { getData() { var _this = this; @@ -61,7 +63,6 @@ if("1"==_this.type){ url = basePath + '/app/notice/goEditForPc' } - console.log("1111",_this.id) uni.request({ url:url, method: 'POST',