|  |  | 
 |  |  |       header: {'token':uni.getStorageSync('token')}, | 
 |  |  |       method: 'POST', | 
 |  |  |    }).then((res)=> { | 
 |  |  |       res = res[1].data | 
 |  |  |       if (res.code === 200) { | 
 |  |  |          item = { | 
 |  |  |             code: res.code, | 
 |  |  |             data: res.data | 
 |  |  |          } | 
 |  |  |       } else  if(res.code === 403){ | 
 |  |  |          item = {code: 403,msg: '请重新登录'} | 
 |  |  |       } | 
 |  |  |    },(result)=>{ | 
 |  |  |       // console.log(res); | 
 |  |  |    }) | 
 |  |  |    return item | 
 |  |  | } | 
 |  |  |  | 
 |  |  | async function getMonthData() { | 
 |  |  |    let item = []; | 
 |  |  |    let ress = await uni.request({ | 
 |  |  |       url: `${common.baseUrl}/dashboard/currentMonthData/auth`, | 
 |  |  |       header: {'token':uni.getStorageSync('token')}, | 
 |  |  |       method: 'POST', | 
 |  |  |    }).then((res)=> { | 
 |  |  |       console.log(res); | 
 |  |  |       res = res[1].data | 
 |  |  |       if (res.code === 200) { | 
 |  |  | 
 |  |  |     getCompanyData, | 
 |  |  |     getPersonData, | 
 |  |  |     getStaffRank, | 
 |  |  |     getCompanyPostList | 
 |  |  |     getCompanyPostList, | 
 |  |  |     getMonthData | 
 |  |  | } |