|
|
@@ -34,8 +34,12 @@
|
|
|
serverInfo : Vue.prototype.apiUrl||'',
|
|
|
};
|
|
|
//http://192.168.1.105:18086
|
|
|
- const params = JSON.parse(option.params)
|
|
|
- params.userInfo = uni.getStorageSync("userInfo")
|
|
|
+ let params = JSON.parse(option.params)
|
|
|
+ let userInfo = uni.getStorageSync("userInfo")
|
|
|
+ params.userInfo={
|
|
|
+ userId:userInfo.userId,
|
|
|
+ groupId:userInfo.groupId
|
|
|
+ }
|
|
|
let html = params.type =='add'? 'a.html':'c.html'
|
|
|
this.title= params.type =='add'? '申请':'审批'
|
|
|
try{
|
|
|
@@ -43,7 +47,7 @@
|
|
|
}catch{
|
|
|
params.userInfo.groupIdList = []
|
|
|
}
|
|
|
- console.log(params.userInfo.groupIdList)
|
|
|
+ console.log(params)
|
|
|
setTimeout(()=>{
|
|
|
this.webViewUrl = `/hybrid/html/${html}?params=${JSON.stringify(params)}&headers=${JSON.stringify(headers)}`
|
|
|
this.isShow = true
|