BUG优化 平台公告数据展示 企业公告样式修改

dev
xiepeng 2024-06-25 17:22:39 +08:00
parent 5ecbede1d3
commit 78d5e53f84
3 changed files with 7 additions and 10 deletions

View File

@ -88,7 +88,7 @@ import {
if (res.data.pd) { if (res.data.pd) {
uni.hideLoading(); uni.hideLoading();
_this.form = res.data.pd; _this.form = res.data.pd;
console.log(_this.form) console.log("111",_this.form)
_this.$set(_this.form, 'REVIEW_RESULT', ''); _this.$set(_this.form, 'REVIEW_RESULT', '');
} }
} }

View File

@ -81,7 +81,6 @@
</view> </view>
<view> <view>
<text>{{item.TITLE}}</text> <text>{{item.TITLE}}</text>
</view> </view>
</view> </view>
@ -175,8 +174,8 @@
tabCur :0, tabCur :0,
} }
}, },
mounted(e){
mounted(e){
this.getData(); this.getData();
let that=this; let that=this;
let CustomBar = this.CustomBar; let CustomBar = this.CustomBar;
@ -237,6 +236,8 @@
} }
}, },
getData() { getData() {
this.getPcData();
this.getTxData();
var _this = this; var _this = this;
uni.showLoading({ uni.showLoading({
title: '请稍候' title: '请稍候'
@ -269,7 +270,6 @@
} }
}); });
}, },
getPcData() { getPcData() {
var _this = this; var _this = this;
uni.showLoading({ uni.showLoading({
@ -337,16 +337,12 @@
}); });
}, },
// //
goToDetail(e) {
},
goToTxDetail(e){ goToTxDetail(e){
uni.navigateTo({ uni.navigateTo({
url: '/pages/news/notice-list-detail?id='+e+'&type=1', url: '/pages/news/notice-list-detail?id='+e+'&type=1',
}); });
}, },
goToPcDetail(e){ goToPcDetail(e){
console.log(e)
if(this.TabCur == 0) { if(this.TabCur == 0) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/news/notice-list-detail?id='+e+'&type=0', url: '/pages/news/notice-list-detail?id='+e+'&type=0',

View File

@ -49,7 +49,9 @@
this.type =e.type; this.type =e.type;
this.id=e.id; this.id=e.id;
this.getData(); this.getData();
console.log(e) },
onShow(){
this.getData();
}, },
methods: { methods: {
getData() { getData() {
@ -61,7 +63,6 @@
if("1"==_this.type){ if("1"==_this.type){
url = basePath + '/app/notice/goEditForPc' url = basePath + '/app/notice/goEditForPc'
} }
console.log("1111",_this.id)
uni.request({ uni.request({
url:url, url:url,
method: 'POST', method: 'POST',