<!--newComponents/select-group-person/index.wxml-->
<view class="nspect_info_rectifier">
    <van-row>
        <van-col span="24" style="text-align: left;">
            <input placeholder="请选择{{title}}" data-index="{{index}}" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindtap="onAddResponsible" disabled="true" value="{{choose}}"/>
        </van-col>
    </van-row>
</view>


<van-popup show="{{ show }}" bind:close="onClose" position="bottom">
    <view class="rectifier_max">
        <view class="rectifier_title">
            <view class="rectifier_text">{{title}}</view>
            <view class="rectifier_close" bindtap="onClose"><van-icon name="cross" /></view>
        </view>
        <view class="rectifier_list"> 
            <view class="rectifier_list_height">
                <view wx:for="{{rectifierData}}" wx:key="index" data-index="{{index}}">
                    <view class="rectifier_list-group_for">[{{item.unitTypeName}}] {{item.unitName}}</view>
                    <view class="rectifier_list_for" wx:for="{{item.userinfoList}}" wx:for-item="items" wx:for-index="index_i" wx:key="index_i" data-index="{{index+'_'+index_i}}" bindtap="onSelected">
                    <view class="rectifier_list_radio">
                        <view class="rectifier_list_radio_circle {{items.state?'active':''}}">
                            <van-icon name="success" wx:if="{{items.state}}"/>
                        </view>
                    </view>
                    <view class="rectifier_list_name {{items.state?'active':''}}">{{items.phonenumber}}</view>
                    <view class="rectifier_list_name {{items.state?'active':''}}">{{items.nickName}} [{{items.jobTypeName}}]</view>
                     </view>
                </view>
            </view>
        </view>
        <view class="rectifier_btn">
            <view bindtap="onClose">取消</view>
            <view bindtap="onConfirm">确认</view>
        </view>
    </view>
</van-popup>