| | |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad: function (options) { |
| | | // console.log(options) |
| | | wx.setNavigationBarTitle({ |
| | | title: "泵站监控" + options.name |
| | | }) |
| | |
| | | wx.showLoading({ |
| | | title: '加载中...', |
| | | }) |
| | | console.log(that.data.stationID,706) |
| | | const endNext=util.formatDay(util.GetNextDate(that.data.endAlarmDate, 1)) |
| | | Request({ |
| | | url: Constant.BASE_SERVER_URL + "Monitor/Value/Alarm/Record/Std/GetPageListBySignalID@V1.0", |
| | | url: Constant.BASE_SERVER_URL + "Monitor/Value/Alarm/Record/Std/GetPageListByBelongTypeAndBelongID@V1.0", |
| | | method: 'GET', |
| | | data: { |
| | | |
| | | SignalID : that.data.stationID, |
| | | BelongType:'logic-site', |
| | | BelongID :that.data.stationID, |
| | | StartTime: that.data.startAlarmDate, |
| | | EndTime: that.data.endAlarmDate, |
| | | EndTime: endNext, |
| | | PageIndex: that.data.PageIndex, |
| | | PageSize: that.data.PageSize |
| | | }, |