diff --git a/src/moduleIOT/pages/iotCarePlan/FR200.tsx b/src/moduleIOT/pages/iotCarePlan/FR200.tsx index 7f339a0..6c99ad7 100644 --- a/src/moduleIOT/pages/iotCarePlan/FR200.tsx +++ b/src/moduleIOT/pages/iotCarePlan/FR200.tsx @@ -1726,8 +1726,10 @@ class IotCarePlanFR200 extends Component { // 脸部one todoPromise = async () => { const nowFR200NursingHistory = Taro.getStorageSync("FR200NursingHistory"); + console.log(nowFR200NursingHistory,'nowFR200NursingHistory'); + // 护理脸部 - if (nowFR200NursingHistory.workMode === "face") { + if (nowFR200NursingHistory.jsonStatus.workMode === "face") { // 把working=工作中的状态数据筛选出来 let filtered = nowFR200NursingHistory.dataArray.filter( (item) => item.workStatus === "working" @@ -1790,23 +1792,7 @@ class IotCarePlanFR200 extends Component { }; return nursingData; - } else { - let GearData = this.state.GearData; - // 肌肤报告 - let Allnum = 0; - GearData.forEach((e) => { - Allnum = +e.forehead; - }); - // 向下取整 - Allnum = Math.floor(Allnum / 3); - let nursingData = { - nursingData: JSON.stringify({ - Allnum, - GearData, - }), - }; - return nursingData; - } + } }; // 计算挡位