|
@@ -324,7 +324,6 @@ export default {
|
|
let form = "https://manager.usky.cn/mobile/#/"
|
|
let form = "https://manager.usky.cn/mobile/#/"
|
|
let path = "https://oa.usky.cn/mobile/#/login?token"
|
|
let path = "https://oa.usky.cn/mobile/#/login?token"
|
|
if(name){
|
|
if(name){
|
|
- alert(`${name}姓名${type}${to}`)
|
|
|
|
var params = {
|
|
var params = {
|
|
user:name,
|
|
user:name,
|
|
time:new Date().getTime(),
|
|
time:new Date().getTime(),
|
|
@@ -332,18 +331,14 @@ export default {
|
|
}
|
|
}
|
|
var jm = encrypt(JSON.stringify(params))
|
|
var jm = encrypt(JSON.stringify(params))
|
|
//#ifdef H5
|
|
//#ifdef H5
|
|
- alert("h5")
|
|
|
|
if(type == "1"){
|
|
if(type == "1"){
|
|
window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`,"_blank")
|
|
window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`,"_blank")
|
|
}
|
|
}
|
|
if(type == "2"){
|
|
if(type == "2"){
|
|
- alert(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`)
|
|
|
|
- // window.open(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`,"_blank")
|
|
|
|
- window.open(`${path}`,"_blank")
|
|
|
|
|
|
+ window.open(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`)
|
|
}
|
|
}
|
|
//#endif
|
|
//#endif
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
- alert(`微信环境`)
|
|
|
|
if(type == "1"){
|
|
if(type == "1"){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?form=${form}`,
|
|
url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?form=${form}`,
|