|
|
@@ -4390,21 +4390,21 @@ Page({
|
|
|
let roomcodeTemp = wx.getStorageSync("roomEmpower");
|
|
|
// hotelcodeTemp = wx.getStorageSync('res').result.split('|')[0];
|
|
|
// roomcodeTemp = wx.getStorageSync('res').result.split('|')[1];
|
|
|
- this.getData(null, hotelcodeTemp, roomcodeTemp, null);
|
|
|
+ this.getData(null, hotelcodeTemp, roomcodeTemp, this.data.reportId);
|
|
|
// 设置canvas的宽高
|
|
|
this.setData({
|
|
|
hotelcode: hotelcodeTemp,
|
|
|
roomcode: roomcodeTemp,
|
|
|
});
|
|
|
|
|
|
- this.initChartCircle();
|
|
|
- this.initOutOfBed();
|
|
|
- this.initBodyMovements();
|
|
|
- this.initCardiacSystem();
|
|
|
- this.initChartRespiratory();
|
|
|
- this.initChartSnoring();
|
|
|
- this.initChartApnea();
|
|
|
- this.initTimeWaterfall();
|
|
|
+ this.initChartCircle(this.data.reportId);
|
|
|
+ this.initOutOfBed(this.data.reportId);
|
|
|
+ this.initBodyMovements(this.data.reportId);
|
|
|
+ this.initCardiacSystem(this.data.reportId);
|
|
|
+ this.initChartRespiratory(this.data.reportId);
|
|
|
+ this.initChartSnoring(this.data.reportId);
|
|
|
+ this.initChartApnea(this.data.reportId);
|
|
|
+ this.initTimeWaterfall(this.data.reportId);
|
|
|
},
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|