<!-- echarts -->
<view class="container">
  <view class="navigation-container" style="{{'height: ' + navStatusBarHeight +'px'}}">
  <!--空白来占位状态栏-->
  <view style="{{'height: ' + statusBarHeight +'px'}}"></view>
  <!--自定义导航栏 -->
  <view class="navigation-bar" style="{{'height:' + navBarHeight +'px'}}">
    <!-- 晟运储能 -->
    <!-- <picker bindchange="bindPickerChange" value="{{index}}" range="{{objectArray}}" range-key="powerstationName">
    <view class="picker">
     {{objectArray[index].powerstationName}}
     <t-icon class="chevron_down" name="chevron-down" size="40rpx" data-name="chevron-down"/>
    </view>
  </picker> -->
  <!-- 天宏汇通运维 -->
  {{currentTime}}
  </view>
</view>
<!--  -->
<view class="home">
<view style="height: 20rpx;"></view>
<view style="{{'height: ' + navStatusBarHeight +'px'}}"></view>
<view class="statistics" data-index="2" bind:tap="rolelocate">
<view class="statistics_top">
<view class="statistics_1">
<view class="statistics_digit">{{workorder.allcount}}</view>
<view class="statistics_title">全部工单</view>
</view>
<view class="statistics_1">
<view class="statistics_digit">{{workorder.incompletecount}}</view>
<view class="statistics_title">全部待办</view>
</view>
<view class="statistics_1">
  <view class="statistics_digit">{{workorder.completecount}}</view>
<view class="statistics_title">全部办结</view>
</view>
</view>
<view style="height: 20rpx;"></view>
<view class="statistics_top">
<view class="statistics_1">
<view class="statistics_digit">{{workorder.myworkodercount}}</view>
<view class="statistics_title">我的工单</view>
</view>
<view class="statistics_1">
<view class="statistics_digit">{{workorder.myworkodertodo}}</view>
<view class="statistics_title">我的待办</view>
</view>
<view class="statistics_1">
  <view class="statistics_digit">{{workorder.myworkoderend}}</view>
<view class="statistics_title">我的已办</view>
</view>
</view>
</view>
<view class="vajra">
<view class="vajra_role" data-index="1" bind:tap="rolelocate">
<image class="role" src="https://esos-iot.com/myminio/project/e83bca83352e4da68afff3238258a49a.png" mode=""/>
<view>
创建工单
</view> 
</view>

<view class="vajra_apply" data-index="2" bind:tap="rolelocate">
  <image class="role" src="https://esos-iot.com/myminio/project/f0de02ce78b14463b1824b35882d3ecf.png" mode=""/>
<view>
  工单统计 
</view>
</view>
<view class="vajra_apply" data-index="3" bind:tap="rolelocate">
  <image class="role" src="https://esos-iot.com/myminio/project/31fc6a71019744e0bdcd3523afa8dc35.png" mode=""/>
<view>
  资产台账 
</view>
</view>
<view class="vajra_rights" data-index="4" bind:tap="rolelocate">
  <image class="role" src="https://esos-iot.com/myminio/project/a76948bfa5094d4c90e2a4c5514481e1.png" mode=""/>
 <view>
值工排班
 </view>
</view>
</view>
<view class="examine">
待审核
</view>
<view class="examine_box" wx:for="{{reviewdata}}" wx:key="index" data-id="{{item.id}}" data-workorderId="{{item.workorderId}}" bind:tap="ondetails">
<view class="examine_title">
<view class="examine_title0" wx:if="{{item.type==1}}">日常<text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text></view>
<view class="examine_title01" wx:if="{{item.type==2}}">故障 / <text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text>
</view>
<view class="examine_title02" wx:if="{{item.type==3}}">其他<text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text></view>
<view class="examine_title1">{{item.workorderName}}</view>
<!-- <view class="examine_title2" wx:if="{{item.examineType==4}}">待审核</view> -->
<view class="examine_title2" wx:if="{{item.examineType==5}}">待审核</view>
<view class="examine_title2" wx:if="{{item.examineType==6}}">审核完成</view>
<view class="examine_title2" wx:if="{{item.examineType==7}}">审核失败</view>
</view>
<view class="examine_content">
<view>描述：{{item.workorderContent}}</view>
<view class="feedback examine_name" wx:if="{{item.examineType==7}}">退回原因：{{item.workoderReason}}</view>
<view class="feedback examine_name" wx:if="{{item.examineCount!=0&&item.examineType!=7}}">退回原因：{{item.lastfail||'无'}}</view>
</view>
<view class="examine_bottom">
 <view> <text>发起人:</text>{{item.workorderPromoter}}</view>
 <view>发起时间：{{item.workorderStarttime}}</view>
</view>
<!-- <view class="examine_button">
<view class="examine_buttonleft">通过</view>
<view class="examine_buttonright">不通过</view>
</view> -->
</view>
<view class="available" wx:if="{{reviewdata.length==0}}">
<image src="https://esos-iot.com/myminio/project/9efa1691f71a48b6ae20648c0a2dae56.png" mode="aspectFit"/>
</view>
<view style="height: 160rpx;"> </view>
</view>

</view> 
<!---->