<!--pageage/safetyManagement/addSafetyInspect/index.wxml-->
<view class="header_title">
  <view class="header_title_row">
    <van-row>
      <van-col span="4">
        <view class="header_img" bindtap="returnToPage"><image src="/images/left.png"></image></view>
      </van-col>
      <van-col span="15">
        <view class="header_name">新增特种人员</view>
      </van-col>
    </van-row>
  </view>
</view>
<view class="max_content">
    <view class="inspect_info">
    <view class="module_title module_title_flex">
        <view>{{projectName}}</view>
    </view>
    <view class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">人员姓名</view>
            <view class="inspect_info_content">
                <input placeholder="请填写人员姓名" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindinput="nameAction" maxlength="30"/>
             </view>
    </view>
    <view class="inspect_info_list">
        <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">人员性别</view>
        <view class="inspect_info_content">
        <voucher-select columns="{{sexList}}" placeholder="请选择人员性别" bindchange="onSelectSex" ></voucher-select>
        </view>
    </view>
    <view class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">联系方式</view>
            <view class="inspect_info_content">
                <input placeholder="请填写联系方式" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindinput="phoneAction" maxlength="11" value="{{phoneNumber}}"/>
             </view>
    </view>
    <view class="inspect_info_list">
        <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">人员类型</view>
        <view class="inspect_info_content">
        <voucher-select columns="{{specialTypeList}}" placeholder="请选择人员类型" bindchange="onSelectSpecialType" ></voucher-select>
        </view>
    </view>
    <view class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">证书编号</view>
            <view class="inspect_info_content">
                <input placeholder="请填写证书编号" placeholder-style="color:#6777aa;" class="inspect_input_fill_in" bindinput="credentialNumberAction" maxlength="50"/>
             </view>
    </view>
    <view class="inspect_info_list">
            <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">过期时间</view>
            <view class="inspect_info_content">
            <voucher-date counts="5" placeholder="请选择证书过期时间" maxDate="{{maxDate}}" bindchange="onInputTime"></voucher-date>
        </view>
    </view>
    <view class="inspect_info_list" style="width: 100%;">
            <view class="inspect_info_title" style="padding: 20rpx 0 10rpx;">证书附件
                <text style="font-size: small;">[可上传PDF和图片格式]</text>
            </view>
            <view class="problem_list_info_con">
                <file-uploader-all bindfiles="fileUpload" limit="{{limit}}"></file-uploader-all>
            </view>
    </view>
</view>
<view class="problem_submit_to">
    <view class="problem_submit_to_btn" bindtap="cancelSaveView">取消</view>
    <view class="problem_submit_to_btn problem_submit_to_save"  bindtap="onSave">保存</view>
</view>
</view>
<van-overlay show="{{loadShow}}">
    <view class="gif">
        <image src="../../../images/loding2.gif"></image>
        <view>数据加载中！请稍后...</view>
    </view>
</van-overlay>  
















































