|
@@ -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,
|
|
@@ -333,10 +332,10 @@ export default {
|
|
|
var jm = encrypt(JSON.stringify(params))
|
|
|
//#ifdef H5
|
|
|
if(type == "1"){
|
|
|
- window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`)
|
|
|
+ window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`,"_blank")
|
|
|
}
|
|
|
if(type == "2"){
|
|
|
- window.open(`${path}=${encodeURIComponent(jm)}?form=${form}?toPage=${to}`)
|
|
|
+ window.open(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`,"_blank")
|
|
|
}
|
|
|
//#endif
|
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
@@ -352,11 +351,9 @@ export default {
|
|
|
}
|
|
|
//#endif
|
|
|
}else{
|
|
|
- if(item){
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/common/webview/index?url=" + item.path,
|
|
|
- });
|
|
|
- }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/",
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
|