事件上报
This commit is contained in:
@@ -142,10 +142,11 @@ export const user = {
|
|||||||
}
|
}
|
||||||
uni.navigateTo({url: modulePath});
|
uni.navigateTo({url: modulePath});
|
||||||
} else if (checkType == 5) {
|
} else if (checkType == 5) {
|
||||||
if (!userInfo.girdInfos2G.length) {
|
if (userInfo.girdInfos2G && userInfo.girdInfos2G.length) {
|
||||||
|
uni.navigateTo({url: modulePath});
|
||||||
|
}else {
|
||||||
return uni.showToast({title: "您还不是网格员,暂时无法使用该功能", icon: "none"});
|
return uni.showToast({title: "您还不是网格员,暂时无法使用该功能", icon: "none"});
|
||||||
}
|
}
|
||||||
uni.navigateTo({url: modulePath});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export default {
|
|||||||
customNavigation: true,
|
customNavigation: true,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
component: 'Statistics',
|
component: 'List',
|
||||||
params: {},
|
params: {},
|
||||||
refresh: true,
|
refresh: true,
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user