|
@@ -324,7 +324,7 @@ export default {
|
|
|
let form = "https://manager.usky.cn/mobile/#/"
|
|
|
let path = "https://oa.usky.cn/mobile/#/login?token"
|
|
|
if(name){
|
|
|
- alert(name)
|
|
|
+ alert(name,type,to)
|
|
|
var params = {
|
|
|
user:name,
|
|
|
time:new Date().getTime(),
|
|
@@ -340,13 +340,13 @@ export default {
|
|
|
}
|
|
|
//#endif
|
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
|
+ alert(type,"type")
|
|
|
if(type == "1"){
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?form=${form}`,
|
|
|
});
|
|
|
}
|
|
|
if(type == "2"){
|
|
|
- alert(2)
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/common/webview/index?url=${path}=${encodeURIComponent(jm)}?form=${form}?toPage=${to}`,
|
|
|
});
|