|
|
|
|
@ -676,15 +676,15 @@ class IotCarePlanFR200 extends Component<any, any> {
|
|
|
|
|
this.setState({
|
|
|
|
|
isShowNursingSuccess: false,
|
|
|
|
|
});
|
|
|
|
|
let time = await s_to_hms(
|
|
|
|
|
this.elapsedTime
|
|
|
|
|
)
|
|
|
|
|
console.log(time,ActiveModeItem.id,currentDevice.id,'查看数据',this.elapsedTime);
|
|
|
|
|
let date = new Date();
|
|
|
|
|
|
|
|
|
|
// go(
|
|
|
|
|
// `/recoding/pages/moisture_test_report/moisture_test_report?data=${params.nursingData}&date=${time}&modeId=${ActiveModeItem.id}`
|
|
|
|
|
// );
|
|
|
|
|
go(`/recoding/pages/moisture_test_report/moisture_test_report?data=${params.nursingData}&date=${time}&modeId=${ActiveModeItem.id}&id=${currentDevice.id}`);
|
|
|
|
|
let year = date.getFullYear();
|
|
|
|
|
let month = (date.getMonth() + 1).toString().padStart(2, '0');
|
|
|
|
|
let day = date.getDate().toString().padStart(2, '0');
|
|
|
|
|
|
|
|
|
|
let formattedDate = `${year}.${month}.${day}`;
|
|
|
|
|
|
|
|
|
|
go(`/recoding/pages/moisture_test_report/moisture_test_report?data=${params.nursingData}&date=${formattedDate}&modeId=${ActiveModeItem.id}&id=${currentDevice.id}`);
|
|
|
|
|
}, 2000);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|