<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<link type="text/css" rel="stylesheet" href="<!--{$urlpath}-->tpl/admin/style/common.css?v=<!--{$copyright_version}-->">
<div class="layui-fluid oe_fluid">
  <div class="oe_breadcrumb_box clearfix">
    <div class="layui-breadcrumb fl" lay-filter="breadcrumb" style="visibility: visible;">
      <a href="javascript:;">认证管理</a><span lay-separator="">/</span>
      <a href="javascript:;">婚况声明</a><span lay-separator="">/</span>
      <a><cite>审核</cite></a>
    </div>
    <div class="oe_tool_bar ft">
      <a href="<!--{$oefile}-->&c=<!--{$c}-->&<!--{$comeurl}-->" class="layui-btn layui-btn-sm layui-btn-primary layui-btn-radius">返回列表</a>
    </div> 
  </div>
  <div class="layui-card oe_table_edit">
    <div class="layui-card-header">
      审核会员购车资料
    </div>
    
    <div class="layui-card-body">
      <table class="oe_tbl_form layui-form">
        <tr>
          <th width="13%">会员UID<span></span></th>
          <td width="37%"><!--{$statement.userid}--></td>
          <th width="13%">用户名</th>
          <td width="37%">
            <!--{if !empty($statement.user.headimg)}-->
            <img src="<!--{$statement.user.headimg_s}-->" width="20px" height="20px" f="viewimg" />
            <!--{/if}-->
            <!--{$statement.user.username}-->
          </td>
        </tr>
        <tr>
          <th>会员资料</th>
          <td>
            <!--{hook mod="var" item="gender" type="text" value=$statement.user.gender}-->
            <!--{$statement.user.age}-->岁
            <!--{hook mod="var" item="marry" type="text" value=$statement.user.marry}--> 
            <!--{hook mod="var" item="education" type="text" value=$statement.user.education}-->
            <!--{if $statement.user.height > 0}-->
            <!--{$statement.user.height}--> CM
            <!--{/if}-->
          </td>
          <th>所在地区</th>
          <td>
            <!--{if $statement.user.dist1 > 0}-->
            <!--{area type="text" value=$statement.user.dist1}--> 
            <!--{if $statement.user.dist2 > 0}-->
            <!--{area type="text" value=$statement.user.dist2}-->
            <!--{/if}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
        </tr>

        <tr>
          <td colspan="4" style="font-weight:bold;">婚况声明</td>
        </tr>
        <tr>
          <th>ID编号</th>
          <td>
            <!--{$statement.logid}-->
          </td>
          <th>查询码</th>
          <td>
            <!--{$statement.logsn}-->
          </td>
        </tr>
        <tr>
          <th>姓名</th>
          <td>
            <!--{$statement.truename}-->
          </td>
          <th>身份证号</th>
          <td>
            <!--{$statement.idnumber}-->
          </td>
        </tr>
        <tr>
          <th>性别</th>
          <td>
            <!--{if $statement.gender == '1'}-->
            男
            <!--{elseif $statement.gender == '2'}-->
            女
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <th>住址</th>
          <td>
            <!--{$statement.address}-->
          </td>
        </tr>
        <tr>
          <th>民族</th>
          <td>
            <!--{$statement.national}-->
          </td>
          <th>婚况</th>
          <td>
            <!--{$statement.marry}-->
          </td>
        </tr>
        <tr>
          <th>声明时间</th>
          <td>
            <!--{$statement.sign_time|date_format:"%Y-%m-%d %H:%M:%S"}-->
          </td>
          <th>签名</th>
          <td>
            <img src="<!--{$statement.sign_name}-->" width="60px" height="30px" f="viewimg" >
          </td>
        </tr>
        <tr>
          <th>有效时间</th>
          <td>
            <!--{if $statement.valid_time > 0}-->
            <!--{$statement.valid_time|date_format:"%Y-%m-%d %H:%M:%S"}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <th>见证方</th>
          <td>
            <!--{$statement.wit_company}-->
          </td>
        </tr>
        <tr style="display:none;">
          <th>RP开放平台编码</th>
          <td colspan="3"><!--{$statement.rplogsn}--></td>
        </tr>
        <tr>
          <td colspan="4">
            <em style="font-weight:bold;">审核结果</em>
          </td>
        </tr>
        <tr>
          <th>审核状态</th>
          <td>
            <!--{if $statement.flag == '1'}-->
            <font color="green">审核通过</font>
            <!--{elseif $statement.flag == '2'}-->
            <font color="red">审核不通过</font>
            <!--{else}-->
            待审核
            <!--{/if}-->
          </td>
          <th>审核时间</th>
          <td>
            <!--{if $statement.audittime > 0}-->
            <!--{$statement.audittime|date_format:"%Y-%m-%d %H:%M:%S"}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
        </tr>
        <tr>
          <th>审核人</th>
          <td>
            <!--{if !empty($statement.audituser)}-->
            <!--{$statement.audituser}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <th>审核备注</th>
          <td>
            <!--{if !empty($statement.auditremark)}-->
            <!--{$statement.auditremark}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
        </tr>

      </table>
    </div>

  </div>
  
  <div class="oe_tbl_form_btn">
    <!--{if $statement.flag == '0'}-->
    <button class="layui-btn btn_red" f="but_statement_audit" data-id="<!--{$statement.logid}-->" data-type="fail">
      <i class="layui-icon layui-icon-close"></i>不通过
      <i class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</i>
    </button>
    <button class="layui-btn btn_green" f="but_statement_audit" data-id="<!--{$statement.logid}-->" data-type="pass">
      <i class="layui-icon layui-icon-ok"></i>通过
      <i class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</i>
    </button>
    <!--{/if}-->
  </div>
  
</div>
<div class="oe_menu_inner">
  <div class="menu_head">
    操作
    <a class="layui-layer-ico enlarge" f="enlarge" href="javascript:;"></a>
    <a class="narrow" f="narrow" href="javascript:;"><span></span></a>
  </div>
  <div class="menu_body">
    <ul>
      <li><a href="javascript:;" f="pop_send_sms" data-uid="<!--{$user.userid}-->">发送短信通知</a></li>
      <li><a href="javascript:;" f="pop_send_email" data-uid="<!--{$user.userid}-->">发送邮件通知</a></li>
      <li><a href="javascript:;" f="pop_send_msg" data-uid="<!--{$user.userid}-->">发送站内通知</a></li>
    </ul>
  </div>
</div>
<!--//不通过弹窗 -->
<div class="pf ltrb z500" id="fail_dialog" style="display:none;">
  <div class="mask w100per h100per bg_tran_5"></div>
  <div class="bg_f br5 pa bsb l50per oh" style="width: 500px;top: 50%; margin-top: -261px; margin-left: -250px;">
    <h3 class="lh50 bo_bf7 t_center">
      请选择不通过原因
      <span class="pa rt inline_block pr10 bsb cursor" f="but_close_fail_dialog">
        <i class="iconfont icon-cuo fn color_9 fz20"></i>
      </span>
    </h3>
    <div class="ptb20 fz16 t_center lh40 pb40 oe_mytab">
      <input type="hidden" name="fail_type" id="fail_type" value=""  />
      <div class="pb20 color_red fz14" style="display:none;">请选择</div>
      <span class="inline_block bo_eb w150 cursor br3 hover mb15" f="sel_fail_type" data-type="姓名不符">信息资料不符</span>
      <span class="inline_block bo_eb w150 cursor br3 hover mb15" f="sel_fail_type" data-type="婚况不符">婚况不符</span><br>
      <span class="inline_block bo_eb w150 cursor br3 hover mb15" f="sel_fail_type" data-type="签名与姓名不符">签名与姓名不符</span>
      <span class="inline_block bo_eb w150 cursor br3 hover mb15" f="sel_fail_type" data-type="其他原因">其他原因</span>
      <div class="pt15">
        <span class="color_f br3 cursor bg_de" style="width: 320px;" f="but_submit_fail" data-id="<!--{$statement.logid}-->">
          确定
          <i class="oeuifont oeui-icon-load loading vam" style="display: none;"></i>
        </span>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
$(function(){
    //预载图片
    preload_img();
});
</script>
<script src="<!--{$urlpath}-->tpl/admin/js/statement.js"></script>