|
|
|
|
@ -22,7 +22,7 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
this.state = {
|
|
|
|
|
name: "重新登录",
|
|
|
|
|
imgUrl: '',
|
|
|
|
|
reportShow:true,
|
|
|
|
|
reportShow: true,
|
|
|
|
|
reportData: {
|
|
|
|
|
curDate: '',
|
|
|
|
|
shuifenLevel: {
|
|
|
|
|
@ -60,7 +60,7 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
onLoad(option) {
|
|
|
|
|
console.log(option);
|
|
|
|
|
let Bool = JSON.parse(option?.report)
|
|
|
|
|
if(!Bool){
|
|
|
|
|
if (!Bool) {
|
|
|
|
|
this.setState({
|
|
|
|
|
reportShow: Bool
|
|
|
|
|
})
|
|
|
|
|
@ -99,7 +99,7 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let { name, imgUrl, reportData, reportData1, reportShow,isClock, xinde, imglist, id, show, modeId, echartsData, showEcharts } = this.state
|
|
|
|
|
let { name, imgUrl, reportData, reportData1, reportShow, isClock, xinde, imglist, id, show, modeId, echartsData, showEcharts } = this.state
|
|
|
|
|
|
|
|
|
|
const getStatusData = (level) => {
|
|
|
|
|
var bgCssData = {
|
|
|
|
|
@ -272,7 +272,10 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
<View className='gear_recommend'>
|
|
|
|
|
<View className='gear_header flex aitems sb'>
|
|
|
|
|
<View className='gear_title common_title'>促渗档位推荐</View>
|
|
|
|
|
<View className='gear_btn'>前往护理</View>
|
|
|
|
|
{reportShow ? (
|
|
|
|
|
<View className='gear_btn'>前往护理</View>
|
|
|
|
|
) : null}
|
|
|
|
|
|
|
|
|
|
</View>
|
|
|
|
|
<View className='gear_content flex aitems sb'>
|
|
|
|
|
<View className='left_content'>
|
|
|
|
|
@ -303,15 +306,15 @@ class MoistureTestReport extends Component<any, any> {
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
{reportShow ? (
|
|
|
|
|
<View className='go_clock_in flex sb aitems' >
|
|
|
|
|
<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>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='go_clock_in flex sb aitems' >
|
|
|
|
|
<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>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
) : null}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Block >
|
|
|
|
|
);
|
|
|
|
|
|