|
@@ -0,0 +1,322 @@
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>用户实名认证审核</title>
|
|
|
+ {{include "/common/inc.html"}}
|
|
|
+ <link href="{{Msg "seo" "cdn"}}/css/message.css" rel="stylesheet">
|
|
|
+ <script src="/js/validform-min.js"></script>
|
|
|
+ <script type="text/javascript" src="/js/zDrag.js"></script>
|
|
|
+ <script type="text/javascript" src="/js/zDialog.js"></script>
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/js/jquery.cityselect.js"></script>
|
|
|
+ <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/My97DatePicker/WdatePicker.js"></script>
|
|
|
+ <style type="text/css">
|
|
|
+ .widget-content {
|
|
|
+ table-layout: fixed;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #course {
|
|
|
+ background-color: #f5f5f5;
|
|
|
+ }
|
|
|
+
|
|
|
+ #tr1 td img {
|
|
|
+ border: 1px solid #999999;
|
|
|
+ width: 78px;
|
|
|
+ height: 78px;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .delbtn {
|
|
|
+ position: absolute;
|
|
|
+ margin: 0 0 0 -10px;
|
|
|
+ padding: 0 0 0 0;
|
|
|
+ background-color: #00ffff;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ .delbtn img {
|
|
|
+ height: 15px !important;
|
|
|
+ width: 15px !important;
|
|
|
+ margin-right: -20px !important;
|
|
|
+ margin-top: -8px !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*修改弹框样式*/
|
|
|
+ .modal {
|
|
|
+ top: 10%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog {
|
|
|
+ width: 400px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .bootbox-close-button.close {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .modal-header .modal-title {
|
|
|
+ color: #4E5051;
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .bootbox-body {
|
|
|
+ color: #4E5051;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .modal-header,
|
|
|
+ .modal-dialog .modal-footer {
|
|
|
+ border: none;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .modal-footer {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .modal-footer .bootbox-cancel {
|
|
|
+ width: 110px;
|
|
|
+ height: 38px;
|
|
|
+ left: 24px;
|
|
|
+ top: 112px;
|
|
|
+
|
|
|
+ background: #C2C2C2;
|
|
|
+ border-radius: 4px;
|
|
|
+ border-color: #C2C2C2;
|
|
|
+ color: #ffff;
|
|
|
+ }
|
|
|
+
|
|
|
+ .modal-dialog .modal-footer .bootbox-accept {
|
|
|
+ width: 110px;
|
|
|
+ height: 38px;
|
|
|
+ left: 226px;
|
|
|
+ top: 112px;
|
|
|
+
|
|
|
+ background: #4DB443;
|
|
|
+ border-radius: 4px;
|
|
|
+ border-color: #4DB443;
|
|
|
+ color: #ffff;
|
|
|
+ }
|
|
|
+ .entImg{
|
|
|
+ height:120px;
|
|
|
+ margin-right:10px;
|
|
|
+ }
|
|
|
+ .entImg-group{
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ #save{
|
|
|
+ margin:0px 25px;
|
|
|
+ color: #fff;
|
|
|
+ border-color: #4DB443;
|
|
|
+ background-color: #4DB443;
|
|
|
+ }
|
|
|
+ #cancel{
|
|
|
+ margin:0px 25px;
|
|
|
+ color: #4DB443;
|
|
|
+ border-color: #4DB443;
|
|
|
+ background-color: #fff
|
|
|
+ }
|
|
|
+ .mimg{
|
|
|
+ width:950px;
|
|
|
+ }
|
|
|
+ .entline-group{
|
|
|
+ display: flex;
|
|
|
+ margin:10px 0;
|
|
|
+ }
|
|
|
+ .entline-group span{
|
|
|
+ white-space: nowrap;
|
|
|
+ color: #fff;
|
|
|
+ padding: 3px 5px;
|
|
|
+ margin-left: 10px;
|
|
|
+ border-radius: 2px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ span.pass{
|
|
|
+ background:#4caf50;
|
|
|
+ }
|
|
|
+ span.unpass{
|
|
|
+ background:#ffc107;
|
|
|
+ }
|
|
|
+ .sendform{
|
|
|
+ padding: 30px 0px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+
|
|
|
+{{include "/manage/audithead.html"}}
|
|
|
+<!-- 中间 -->
|
|
|
+<div class="row" style="width:96%; margin:0 auto; margin-top:10px;">
|
|
|
+ <div>
|
|
|
+ {{include "/manage/slider.html"}}
|
|
|
+
|
|
|
+ <div id="content" class="send">
|
|
|
+ <div class="widget-box">
|
|
|
+ <div class="widget-content nopadding">
|
|
|
+ <div class="head">
|
|
|
+ <div class="title">企业资料</div>
|
|
|
+ <div style="clear:both;"></div>
|
|
|
+ </div>
|
|
|
+ <div class="sendform">
|
|
|
+ <form class="registerform form-horizontal" role="form" method="post">
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">姓名:</label>
|
|
|
+ <div class="col-sm-3">
|
|
|
+ <input class="form-control" readonly="readonly" value="{{.T.data.s_realName}}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">绑定手机号:</label>
|
|
|
+ <div class="col-sm-5" >
|
|
|
+ <input class="form-control" readonly="readonly" value="{{.T.data.phone}}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">身份证号码:</label>
|
|
|
+ <div class="col-sm-5" >
|
|
|
+ <input class="form-control" readonly="readonly" value="{{.T.data.s_idNum}}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">身份证照片:</label>
|
|
|
+ <div class="col-sm-5 entImg-group">
|
|
|
+ <img class="entImg" src="{{.T.data.s_idPicPathZ}}">
|
|
|
+ <img class="entImg" src="{{.T.data.s_idPicPathF}}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">创建企业列表</label>
|
|
|
+ <div>
|
|
|
+ <div class="col-sm-8">
|
|
|
+ {{range $i, $v := .T.data.entList}}
|
|
|
+ {{if $v.auth_status}}
|
|
|
+ <div class="entline-group">
|
|
|
+ <div>{{$v.name}}</div>
|
|
|
+ {{if eq $v.auth_status 1}}
|
|
|
+ <div><span class="pass" onclick="window.location.href='/manage/entauth/detail/{{$v.id}}'">已认证</span></div>
|
|
|
+ {{else}}
|
|
|
+ <div><span class="unpass" onclick="window.location.href='/manage/entauth/detail/{{$v.id}}'">未认证</span></div>
|
|
|
+ {{end}}
|
|
|
+ </div>
|
|
|
+ {{end}}
|
|
|
+ {{end}}
|
|
|
+ </div>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="head">
|
|
|
+ <div style="clear:both;"></div>
|
|
|
+ </div>
|
|
|
+ <div class="sendform form-horizontal">
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">审核:</label>
|
|
|
+ <div class="col-sm-5" style="margin-top: 7px;">
|
|
|
+ <input type="radio" name="pass" value="1" style="margin:0px 10px 0px 0px;cursor: pointer;"/>通过
|
|
|
+ <input type="radio" name="pass" value="-1" style="margin:0px 10px 0px 30px;cursor: pointer;"/>不通过
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="col-sm-3 control-label" for="name">未通过原因:</label>
|
|
|
+ <div class="col-sm-5">
|
|
|
+ <input id="reason" class="form-control" value="{{.T.data.s_reason}}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-sm-10" style="margin-left:20%">
|
|
|
+ <button class="btn" type="button" id="save">保存</button>
|
|
|
+ <button class="btn" type="button" id="cancel">重置</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<!--显示图片-->
|
|
|
+<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
|
|
|
+ aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
+ <div class="modal-dialog mimg">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="modal-header">
|
|
|
+ <button type="button" class="close" data-dismiss="modal"
|
|
|
+ aria-hidden="true">×
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <div class="modal-body" id="imgshow" style="cursor:pointer;width:100%;" >
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="modal-footer">
|
|
|
+ <button type="button" class="btn btn-default"
|
|
|
+ data-dismiss="modal">关闭
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </div><!-- /.modal-content -->
|
|
|
+ </div><!-- /.modal-dialog -->
|
|
|
+</div><!-- /.modal -->
|
|
|
+{{include "/common/bottom.html"}}
|
|
|
+<script type="text/javascript" src="/js/bootbox.js"></script>
|
|
|
+<script>
|
|
|
+ $(function(){
|
|
|
+ var status={{.T.data.i_status}}
|
|
|
+ $("input[name='pass']").on("click",function(){
|
|
|
+ if($(this).val()==1){
|
|
|
+ $("#reason").val("");
|
|
|
+ $("#reason").attr("readonly","readonly")
|
|
|
+ }else{
|
|
|
+ $("#reason").removeAttr("readonly")
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(status===1){
|
|
|
+ $("input[name='pass']:eq(0)").trigger("click");
|
|
|
+ }else if(status===-1){
|
|
|
+ $("input[name='pass']:eq(1)").trigger("click");
|
|
|
+ }
|
|
|
+
|
|
|
+ $(".entImg").on("click",function(){
|
|
|
+ showdiv(this)
|
|
|
+ })
|
|
|
+
|
|
|
+ $("#cancel").on("click",function(){window.location.reload()})
|
|
|
+ $("#save").on("click",function(){
|
|
|
+ var status=$('input[name="pass"]:checked').val();
|
|
|
+ var reason=$('#reason').val();
|
|
|
+ if(status==="-1"){
|
|
|
+ if(reason==""){
|
|
|
+ alert("请输入未通过原因")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }else if(status==="1"){
|
|
|
+ reason="";
|
|
|
+ }else{
|
|
|
+ alert("未知输入")
|
|
|
+ }
|
|
|
+ $.post("/manage/userauth/change",{"id":{{.T.data._id}},"status":status,"reason":reason},function(r){
|
|
|
+ if(r.success){
|
|
|
+ window.history.back();
|
|
|
+ }else{
|
|
|
+ alert(r.errMsg)
|
|
|
+ }
|
|
|
+ },"json")
|
|
|
+ })
|
|
|
+ })
|
|
|
+ function showdiv(t) {
|
|
|
+ var ht=$(t).attr("src");
|
|
|
+ if(ht==""||ht==undefined){
|
|
|
+ return
|
|
|
+ }
|
|
|
+ $('#myModal').modal({
|
|
|
+ keyboard: true
|
|
|
+ });
|
|
|
+ $("#imgshow").html("<img style='width:100%' src='"+ht+"'/>")
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|