|
|
|
|
@ -38,7 +38,8 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
xinde: '',
|
|
|
|
|
imglist: [],
|
|
|
|
|
id: 0,
|
|
|
|
|
show: false
|
|
|
|
|
show: false,
|
|
|
|
|
modeId: 0
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -71,20 +72,18 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
reportData.shuifenGear.rightFace = gear
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.setState({ reportData });
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
console.log(this.state.reportData);
|
|
|
|
|
|
|
|
|
|
}, 50);
|
|
|
|
|
this.setState({ reportData, modeId: option.modeId });
|
|
|
|
|
}
|
|
|
|
|
async initData() { }
|
|
|
|
|
toIndex() {
|
|
|
|
|
Taro.reLaunch({ url: "/pages/index/index" });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
toNursing() {
|
|
|
|
|
go(`/moduleIOT/pages/iotCarePlan/FR200?modeId=${this.state.modeId}`)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let { name, imgUrl, reportData, reportData1, isClock, xinde, imglist, id, show } = this.state
|
|
|
|
|
let { name, imgUrl, reportData, reportData1, isClock, xinde, imglist, id, show, modeId } = this.state
|
|
|
|
|
|
|
|
|
|
const getStatusData = (level) => {
|
|
|
|
|
var bgCssData = {
|
|
|
|
|
@ -288,7 +287,7 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
<View className='go_clock_in flex sb aitems' >
|
|
|
|
|
<View className='go_clock_btn'>继续护理</View>
|
|
|
|
|
<View className='go_clock_btn' onClick={this.toNursing.bind(this)}>继续护理</View>
|
|
|
|
|
<View className='jump_box flex aitems' onClick={this.toIndex}>
|
|
|
|
|
<View className='txt'>主页</View>
|
|
|
|
|
<Image src='@/img/fr200/right.png' mode='aspectFill'></Image>
|
|
|
|
|
|