安全例会未开始或已结束仍可进入问题优化

dev
WenShiJun 2024-03-29 14:23:32 +08:00
parent cde8497a62
commit c52adbb7f9
1 changed files with 18 additions and 7 deletions

View File

@ -102,13 +102,24 @@
loginSession(); loginSession();
}, },
methods: { methods: {
// //
goToDetail(e) { goToDetail(item) {
uni.navigateTo({ if(item.MEETING_STATUS === '0') {
url: '/pages/application/safetymeeting/safetymeeting-detail?id=' + e uni.showToast({
.SAFETY_MEETING_ID title: '会议未开始',
}); icon: 'none'
}, });
} else if(item.MEETING_STATUS === '2') {
uni.showToast({
title: '会议已结束',
icon: 'none'
});
} else {
uni.navigateTo({
url: '/pages/application/safetymeeting/safetymeeting-detail?id=' + item.SAFETY_MEETING_ID
});
}
},
getQuery() { // getQuery() { //
var _this = this; var _this = this;
_this.showCount = -1; _this.showCount = -1;