安全例会未开始或已结束仍可进入问题优化
parent
cde8497a62
commit
c52adbb7f9
|
@ -103,11 +103,22 @@
|
|||
},
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue