|
|
@@ -142,6 +142,12 @@ export default {
|
|
|
return e
|
|
|
}
|
|
|
})
|
|
|
+ let inactive = res.account_list.map(e=>{
|
|
|
+ if (e.status === 'INACTIVE') {
|
|
|
+ return e
|
|
|
+ }
|
|
|
+ })
|
|
|
+ sessionStorage.setItem('inactaccount',JSON.stringify(inactive))
|
|
|
sessionStorage.setItem('account_list',JSON.stringify(res.account_list))
|
|
|
sessionStorage.setItem('active_account',JSON.stringify(res.account_list[0]))
|
|
|
this.basicData.query_userauth().then(()=>{
|
|
|
@@ -183,6 +189,12 @@ export default {
|
|
|
return e
|
|
|
}
|
|
|
})
|
|
|
+ let inactive = res.account_list.map(e=>{
|
|
|
+ if (e.status === 'INACTIVE') {
|
|
|
+ return e
|
|
|
+ }
|
|
|
+ })
|
|
|
+ sessionStorage.setItem('inactaccount',JSON.stringify(inactive))
|
|
|
sessionStorage.setItem('account_list',JSON.stringify(res.account_list))
|
|
|
|
|
|
sessionStorage.setItem('active_account',JSON.stringify(res.account_list[0]))
|