diff --git a/pages/application/safetymeeting/home.vue b/pages/application/safetymeeting/home.vue index e5830b0..38de609 100644 --- a/pages/application/safetymeeting/home.vue +++ b/pages/application/safetymeeting/home.vue @@ -102,13 +102,24 @@ loginSession(); }, methods: { - //跳转事件 - goToDetail(e) { - uni.navigateTo({ - url: '/pages/application/safetymeeting/safetymeeting-detail?id=' + e - .SAFETY_MEETING_ID - }); - }, + //跳转事件 + goToDetail(item) { + if(item.MEETING_STATUS === '0') { + uni.showToast({ + 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() { //搜索按钮事件 var _this = this; _this.showCount = -1;