|
@@ -64,6 +64,7 @@
|
|
uni.setStorageSync('nowPermission', data.nowPermission);
|
|
uni.setStorageSync('nowPermission', data.nowPermission);
|
|
uni.setStorageSync('id', data.id);
|
|
uni.setStorageSync('id', data.id);
|
|
uni.setStorageSync('name', data.name);
|
|
uni.setStorageSync('name', data.name);
|
|
|
|
+ uni.setStorageSync('hospSign', this.hospSign);
|
|
this.rolToTarget(data.nowPermission)
|
|
this.rolToTarget(data.nowPermission)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -74,7 +75,7 @@
|
|
let current = this.rolList.find(item => item.permission == nowPermission);
|
|
let current = this.rolList.find(item => item.permission == nowPermission);
|
|
if(current){
|
|
if(current){
|
|
// 页面跳转
|
|
// 页面跳转
|
|
- uni.navigateTo({
|
|
|
|
|
|
+ uni.redirectTo({
|
|
url: `/${current.pagePath}`
|
|
url: `/${current.pagePath}`
|
|
});
|
|
});
|
|
}
|
|
}
|