巡检跳转

This commit is contained in:
xusd 2024-07-03 15:59:03 +08:00
parent 9c3e5c0d01
commit 656efef60d

View File

@ -21,6 +21,10 @@
uni.navigateTo({ uni.navigateTo({
url: '/pages/work/alarm/detailsAlarm?id=' + message.payload.id url: '/pages/work/alarm/detailsAlarm?id=' + message.payload.id
}); });
}else if(message.payload.type === "patrol") {
uni.navigateTo({
url: '/pages/work/patrol/detailsPatrol?id=' + message.payload.id
});
} }
}; };
plus.push.addEventListener('click', _handlePush); plus.push.addEventListener('click', _handlePush);