1234567891011121314151617181920212223 |
- import request from '../../../util/http'
- import apiUrl from '../../../util/apiUrl'
- var app = getApp();
- Page({
- data: {
- reportList:[],
- },
- onLoad() {
- console.log(app.globalData);
- this.setData({
- reportList:app.globalData.reportList
- });
- },
- switchMonthReport(e){
- let reportIndex=e.target.dataset.reportIndex;
- app.globalData.reportInfo=this.data.reportList[reportIndex];
- console.log(app.globalData.reportInfo);
- my.navigateTo({
- url: '../monthReport/monthReport'
- });
- }
- });
|