|
@@ -120,6 +120,21 @@
|
|
|
...mapMutations('m_user', ['updateUserInfo']),
|
|
|
navigateTo(url) {
|
|
|
if (url !== "" && url !== null && url !== undefined) {
|
|
|
+ if (url !== "/subpkg_checkin/selectCheckinType/selectCheckinType") {
|
|
|
+ if (!this.userInfo.idNumber) {
|
|
|
+ uni.showModal({
|
|
|
+ title: '身份信息未完善',
|
|
|
+ content: '请至个人中心实名认证处完善个人信息',
|
|
|
+ showCancel: false,
|
|
|
+ success() {
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/my/my'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
uni.navigateTo({
|
|
|
url: url,
|
|
|
});
|