epmet 工作端 小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

40 lines
892 B

const app = getApp()
Page({
data: {
monthOptions: [{
value: 1,
label: '本月'
},{
value: 2,
label: '上月'
},{
value: 3,
label: '近3月'
},{
value: 4,
label: '近半年'
},{
value: 5,
label: '近1年'
}],
monthIndex: 0,
},
onLoad(options) {
this.setData({
statusHeight: app.globalData.deviceInfo.statusHeight,
navigationHeight: app.globalData.deviceInfo.navigationHeight,
agencyName:app.globalData.user.agencyName,
})
},
monthChange({currentTarget:{dataset:{index}}}) {
this.setData({
monthIndex: index
})
},
gotopage() {
wx.navigateTo({
url: '/pages/login/login',
})
}
})