浏览代码

更新视图文件

zmw 4 月之前
父节点
当前提交
f869960968
共有 1 个文件被更改,包括 2 次插入392 次删除
  1. 2 392
      resources/views/admin/health/qjwj_appoint_list.blade.php

+ 2 - 392
resources/views/admin/health/qjwj_appoint_list.blade.php

@@ -108,7 +108,7 @@
                                             </td>
                                             </td>
                                             <td>
                                             <td>
 
 
-                                                <button class='btn btn-primary btn-xs fetch_word' data-rid="{{$v->recruit_id}}" data-aid="{{$v->id}}" style="margin-bottom: 10px">下载简历</button>
+                                                <button class='btn btn-primary btn-xs fetch_word' data-aid="{{$v->id}}" style="margin-bottom: 10px">下载简历</button>
 
 
                                             </td>
                                             </td>
                                         </tr>
                                         </tr>
@@ -197,134 +197,8 @@
             return idstr;
             return idstr;
         }
         }
     }
     }
-    //报名记录审核
-    this.appointAudit = function(type = 0){
-        var ids = show(type);
-        if(!ids){
-            return false;
-        }
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '报名审核',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    $.post("{{ route('recruit.appoint_audit') }}", $('#J_interviewWrap').serialize(), function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            var recruit_id = $(this).attr('recruit_id');
-            $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_audit", {
-                recruit_id: recruit_id,
-                ids: ids
-            }, function(result) {
-                if (result.status == 1) {
-                    qsDialog.setContent(result.data);
-                    qsDialog.showFooter(true);
-                } else {
-                    qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                }
-            });
-        }
-    };
-    //材料补登
-    this.supplement = function(type = 0){
-        var ids = show(type);
-        if(!ids){
-            return false;
-        }
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '材料补登审核',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    $.post("{{ route('recruit.supplement') }}", $('#J_interviewWrap').serialize(), function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            var recruit_id = $(this).attr('recruit_id');
-            $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_supplement", {
-                recruit_id: recruit_id,
-                ids: ids
-            }, function(result) {
-                if (result.status == 1) {
-                    qsDialog.setContent(result.data);
-                    qsDialog.showFooter(true);
-                } else {
-                    qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                }
-            });
-        }
-    }
 
 
-    //材料补登
-    this.health = function(param = 0,type = 'pen'){
-        var ids = show(param);
-        if(!ids){
-            return false;
-        }
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '健康信息审核',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    $.post("{{ route('recruit.health') }}", $('#J_interviewWrap').serialize(), function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            var recruit_id = $(this).attr('recruit_id');
-            $.getJSON("/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/ajax_health", {
-                recruit_id: recruit_id,
-                ids: ids,
-                type: type
-            }, function(result) {
-                if (result.status == 1) {
-                    qsDialog.setContent(result.data);
-                    qsDialog.showFooter(true);
-                } else {
-                    qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                }
-            });
-        }
-    }
+
 
 
     $(document).ready(function() {
     $(document).ready(function() {
         vtip();
         vtip();
@@ -382,35 +256,6 @@
             });
             });
         });
         });
 
 
-        //导出word简历压缩包
-        $("#out_zip").click(function() {
-            var id = show();
-            if(!id){
-                return false;
-            }
-            $(this).val("数据生成中。。。")
-            $.ajax({
-                url: "{{ route('recruit.out_zip') }}",
-                type: 'POST',
-                dataType: 'json',
-                data: {
-                    id: id,
-                    recruit_id: "{{$recruit->id}}"
-                },
-                error: function(data) {
-
-                },
-                success: function(res) {
-                    $(this).val("导出word版简历(压缩包)")
-                    if (res.status == 1) {
-                        window.open(res.msg);
-                    } else {
-                        alert(res.msg);
-                        return false;
-                    }
-                }
-            });
-        });
 
 
     });
     });
 
 
@@ -501,197 +346,9 @@
         window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}?id={{$search_data['id']}}" + parm;
         window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}?id={{$search_data['id']}}" + parm;
     });
     });
 
 
-    //入职聘用
-    function employ() {
-        var ids = show();
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '请选择',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    // console.log($('#J_interviewWrap').serialize());
-                    $.post("recruit.employ", $('#J_interviewWrap').serialize(), function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            var recruit_id = "{{$recruit->id}}";
-            $.getJSON("recruit.employ_audit", {
-                recruit_id: recruit_id,
-                ids: ids
-            }, function(result) {
-                if (result.status == 1) {
-                    qsDialog.setContent(result.data);
-                    qsDialog.showFooter(true);
-                } else {
-                    qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                }
-            });
-        }
-    }
-
-
-
-
-
-    //其它审核
-    function butpen(i) {
-        var ids = show();
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '请选择',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    $.post("recruit.other_auth", $('#J_interviewWrap').serialize(), function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            var recruit_id = "{{$recruit->id}}";
-            if (i == 'pay_audit') {
-                $.getJSON("recruit.pay_audit", {
-                    recruit_id: recruit_id,
-                    ids: ids,
-                    type: i
-                }, function(result) {
-                    if (result.status == 1) {
-                        qsDialog.setContent(result.data);
-                        qsDialog.showFooter(true);
-                    } else {
-                        qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                    }
-                });
-            } else {
-                $.getJSON("recruit.ajax_other_audit", {
-                    recruit_id: recruit_id,
-                    ids: ids,
-                    type: i
-                }, function(result) {
-                    if (result.status == 1) {
-                        qsDialog.setContent(result.data);
-                        qsDialog.showFooter(true);
-                    } else {
-                        qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                    }
-                });
-            }
-        }
-    }
-
-    //准考证生成
-    function card() {
-        var recruit_id = "{{$recruit->id}}";
-        var qsDialog = $(this).dialog({
-            title: '请选择',
-            loading: true,
-            showFooter: false,
-            yes: function() {
-                $('.J_btnyes').val('发送中...');
-                var data = new FormData(document.getElementById("J_ticketWrap"));
-                console.log(data)
-                $.ajax({
-                    url: "{{ route('recruit.create_ticket') }}",
-                    type: 'POST',
-                    data: data,
-                    processData: false,
-                    contentType : false,
-                    success: function(response){
-                        if (response.status == 1) {
-                            disapperTooltip('success', response.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', response.msg);
-                        }
-                    }
-                })
-            }
-        });
-        qsDialog.setCloseDialog(false);
-        $.getJSON("ajax/ajax_ticket", {
-            recruit_id: recruit_id
-        }, function(result) {
-            if (result.status == 1) {
-                qsDialog.setContent(result.data);
-                qsDialog.showFooter(true);
-            } else {
-                qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-            }
-        });
 
 
-    }
 
 
-    //成绩更新
-    function record() {
-        var recruit_id = "{{$recruit->id}}";
-        var qsDialog = $(this).dialog({
-            title: '请选择',
-            loading: true,
-            showFooter: false,
-            yes: function() {
-                $('.J_btnyes').val('发送中...');
-                var data = new FormData(document.getElementById("J_recordWrap"));
-                $.ajax({
-                    url: "{{ route('recruit.update_record') }}",
-                    type: 'POST',
-                    data: data,
-                    processData: false,
-                    contentType : false,
-                    success: function(response){
-                        if (response.status == 1) {
-                            disapperTooltip('success', response.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', response.msg);
-                        }
-                    }
-                })
-            }
-        });
-        qsDialog.setCloseDialog(false);
-        $.getJSON("ajax/ajax_record", {
-            recruit_id: recruit_id
-        }, function(result) {
-            if (result.status == 1) {
-                qsDialog.setContent(result.data);
-                qsDialog.showFooter(true);
-            } else {
-                qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-            }
-        });
 
 
-    }
 
 
     //提交准考证
     //提交准考证
     $("#build").click(function() {
     $("#build").click(function() {
@@ -708,53 +365,6 @@
         $("form[name=form1]").submit();
         $("form[name=form1]").submit();
     });
     });
 
 
-    //撤销准考证
-    function delcard() {
-        var ids = show();
-        var recruit_id = "{{$recruit->id}}";
-        if (ids !== false) {
-            var qsDialog = $(this).dialog({
-                title: '请选择',
-                loading: true,
-                showFooter: false,
-                yes: function() {
-                    $('.J_btnyes').val('发送中...');
-                    var ticket_id = $("input[name='ticket_id']:checked").val();
-                    data = {
-                        'ids': ids,
-                        'recruit_id': recruit_id,
-                        'ticket_id': ticket_id,
-                    };
-                    $.post("recruit.ticket_del", data, function(result) {
-                        if (result.status == 1) {
-                            disapperTooltip('success', result.msg);
-                            setTimeout(function() {
-                                $.pjax.reload('#pjax-container');
-                                qsDialog.hide(true);
-                            }, 2000);
-                        } else {
-                            $('.J_btnyes').val('确定');
-                            disapperTooltip('remind', result.msg);
-                        }
-                    }, 'json');
-                }
-            });
-            qsDialog.setCloseDialog(false);
-            $.getJSON("recruit.ajax_ticket_del", {
-                recruit_id: recruit_id,
-                ids: ids,
-            }, function(result) {
-                if (result.status == 1) {
-                    // console.log(result.data);
-                    qsDialog.setContent(result.data);
-                    qsDialog.showFooter(true);
-                } else {
-                    qsDialog.setContent('<div class="confirm">' + result.msg + '<\/div>');
-                }
-            });
-        }
-    }
-
 
 
     /*全选*/
     /*全选*/
     $("#chk").click(function() {
     $("#chk").click(function() {