<!--pageage/safetyManagement/securityCheckRectified/index.wxml-->
<van-sticky offset-top="{{ 0 }}">
    <view style="background: #191d28;">
        <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>

        <view class="modify_video_nav">
            <view class="{{stateNav==1?'active':''}}" bindtap="onStateSelect" data-state="1"><text>常规检查({{1}})</text></view>
            <view class="{{stateNav==2?'active':''}}" bindtap="onStateSelect" data-state="2"><text>专项检查({{2}})</text></view>
        </view>
    </view>
</van-sticky>
<view class="deep_point_position" style="padding:40rpx 0 0">
    <view class="{{statePosit == 1?'active':''}}" bindtap="onStatePosit" data-state="1">待整改(<text>{{1}}</text>)</view>
    <view class="{{statePosit == 2?'active':''}}" bindtap="onStatePosit" data-state="2">已整改(<text>{{22}}</text>)</view>
</view>
<view class="inspect_max">
    <view class="module_title module_title_flex">
        <view>常规检查已整改列表</view>
        <view class="module_see_info" bindtap="goEducations"><van-icon name="filter-o" />筛选</view>
    </view>

    <view class="inspect_list">
        <view class="inspect_for" wx:for="{{listData}}" wx:key="index">
            <view class="inspect_for_bgd">
                <view class="inspect_list_title">
                    <view class="inspect_list_title_label inspect_list_title_width">
                        <view class="inspect_list_title_number">{{index < 10 ?'0'+(index+1):(index+1)}}</view>
                        <view class="inspect_list_title_text">{{item.title}}</view>
                    </view>
                </view>
                <view class="inspect_list_info">
                    <view class="inspect_list_info_details">
                        <view class="inspect_list_info_img">
                            <van-image width="130rpx" height="130rpx" fit="cover" src="{{item.rectify_front_img}}"/>
                            <view class="inspect_list_info_img_text">整改前</view>
                        </view>
                        <view class="inspect_list_info_img">
                            <van-image width="130rpx" height="130rpx" fit="cover" src="{{item.rectify_after_img}}"/>
                            <view class="inspect_list_info_img_text">整改后</view>
                        </view>
                        <view class="inspect_list_info_data_rec">
                            <view class="inspect_list_info_data_prop_rec">问题数：<text class="color_orange">{{item.questions_number}}</text></view>
                            <view class="inspect_list_info_data_prop_rec">整改数：<text class="color_green">{{item.rectification_number}}</text></view>
                            <view class="inspect_list_info_data_prop_rec">整改率：<text class="color_blue">{{item.rectification_prop}}</text></view>
                            <view class="inspect_list_info_data_prop_rec">整改时间：<text class="color_purple">{{item.rectify_time}}</text></view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
    </view>

</view>
