|
@@ -323,7 +323,6 @@ export default {
|
|
|
var name = uni.getStorageSync("storage_data").name
|
|
|
let form = "https://manager.usky.cn/mobile/#/"
|
|
|
let path = "https://oa.usky.cn/mobile/#/login?token"
|
|
|
- console.log("跳转页面",type,to,item,name)
|
|
|
if(name){
|
|
|
var params = {
|
|
|
user:name,
|
|
@@ -336,7 +335,7 @@ export default {
|
|
|
window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`)
|
|
|
}
|
|
|
if(type == "2"){
|
|
|
- window.open(`${path}=${encodeURIComponent(jm)}?form=${form}?toPage=${to}`)
|
|
|
+ location.href = `${path}=${encodeURIComponent(jm)}?form=${form}?toPage=${to}`
|
|
|
}
|
|
|
//#endif
|
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
@@ -352,13 +351,9 @@ export default {
|
|
|
}
|
|
|
//#endif
|
|
|
}else{
|
|
|
- if(item){
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/common/webview/index?url=" + item.path,
|
|
|
- });
|
|
|
- }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/index",
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
};
|