资料补录.php 3.1 KB
<?php $this->load->view('common/header'); ?>

<body>
<div class="page-container">
    <form class="search">
        <?php $this->load->view('work/search'); ?>
        <div>
            <input class="btn btn-primary radius" type="submit" value="提交搜索">
            <input class="btn btn-warning radius" type="reset" value="重置搜索">
        </div>
    </form>

    <div class="body mt-20">
        <table class="table table-border table-bordered table-bg" id="table" url="/order/getStatus2">
            <thead class="text-c">
            <tr>
                <th width="68px">操作</th>
                <th>订单编号</th>
                <th>申请人</th>
                <th>身份证</th>
                <th>手机号</th>
                <th>进件时间</th>
                <th>网点</th>
                <th>产品名称</th>
                <th>申请金额</th>
                <th>审批金额</th>
                <th>客户经理</th>
                <th>流程节点</th>
                <th>流转时间</th>
                <th>处理人</th>
            </tr>
            </thead>
            <tbody class="text-c">

            </tbody>
        </table>

    </div>
</div>
<?php $this->load->view('common/footer'); ?>
<script>
    var table = $('#table').dataTable({
        columns: [
            {
                data: "id", render: function (data, type, full) {
                    var url = "<?=site_url('/work/record')?>";
                    url += '/' + data;
                    return '<span class="dropDown dropDown_hover">\
                               <button class="btn radius size-M">请选择 <i class="Hui-iconfont">&#xe6d5;</i></button>\
                               <ul class="dropDown-menu menu radius box-shadow">\
                                   <li><a href="javascript:;" onclick="layer_show(\'资料补录\',\'' + url + '\')">资料补录</a></li>\
                                   <li><a href="javascript:cancel('+data+');">客户取消</a></li>\
                               </ul>\
                           </span>';
                }
            },
            {data: "orderNo"},//订单编号
            {data: "userName"},//申请人
            {data: "idCard"},//身份证
            {data: "phoneNumber"},//手机号
            {data: "createTime"},//进件时间
            {name: "departmentId", data: "departmentName"},//网点
            {name: "productId", data: "productName"},//产品名称
            {data: "applyMoney"},//申请金额
            {data: "agreeMoney"},//审批金额
            {name: "createUser", data: "createUserName"},//客户经理
            {name: "status", data: "statusDesc"},//流程节点
            {data: "modifyTime"},//流转时间
            {name: "modifyUser", data: "modifyUserName"}, //处理人
        ]
    });
</script>

<script>
    function cancel(id) {
        layer.confirm('取消之后, 将立即进入【已取消】列表', {
            btn: ['确认', '取消'],
            title: '客户取消',
            icon: 2
        }, function () {
            layer.msg('取消');
        });
    }
</script>
</body>
<html>