工作台 - 审核
Showing
23 changed files
with
1366 additions
and
27 deletions
| ... | @@ -74,9 +74,40 @@ class Work extends CI_Controller { | ... | @@ -74,9 +74,40 @@ class Work extends CI_Controller { |
| 74 | case 1: | 74 | case 1: |
| 75 | $this->load->view('work/审批/资料清单'); | 75 | $this->load->view('work/审批/资料清单'); |
| 76 | break; | 76 | break; |
| 77 | default: | 77 | case 2: |
| 78 | $this->load->view('work/check_1'); | 78 | $this->load->view('work/审批/基本信息'); |
| 79 | break; | ||
| 80 | case 3: | ||
| 81 | $this->load->view('work/审批/人脉圈'); | ||
| 82 | break; | ||
| 83 | case 4: | ||
| 84 | $this->load->view('work/审批/风险识别'); | ||
| 85 | break; | ||
| 86 | case 5: | ||
| 87 | $this->load->view('work/审批/交易记录'); | ||
| 88 | break; | ||
| 89 | case 6: | ||
| 90 | $this->load->view('work/审批/录入信用报告'); | ||
| 91 | break; | ||
| 92 | case 7: | ||
| 93 | $this->load->view('work/审批/网查筛选'); | ||
| 94 | break; | ||
| 95 | case 8: | ||
| 96 | $this->load->view('work/审批/电核'); | ||
| 97 | break; | ||
| 98 | case 9: | ||
| 99 | $this->load->view('work/审批/意见'); | ||
| 79 | break; | 100 | break; |
| 80 | } | 101 | } |
| 81 | } | 102 | } |
| 103 | |||
| 104 | public function telAdd() | ||
| 105 | { | ||
| 106 | $this->load->view('work/审批/电核添加'); | ||
| 107 | } | ||
| 108 | |||
| 109 | public function telRefuse() | ||
| 110 | { | ||
| 111 | $this->load->view('work/审批/拒绝'); | ||
| 112 | } | ||
| 82 | } | 113 | } | ... | ... |
| ... | @@ -6,4 +6,5 @@ | ... | @@ -6,4 +6,5 @@ |
| 6 | <script type="text/javascript" src="/resource/lib/jquery.validation/1.14.0/validate-methods.js"></script> | 6 | <script type="text/javascript" src="/resource/lib/jquery.validation/1.14.0/validate-methods.js"></script> |
| 7 | <script type="text/javascript" src="/resource/lib/jquery.validation/1.14.0/messages_zh.js"></script> | 7 | <script type="text/javascript" src="/resource/lib/jquery.validation/1.14.0/messages_zh.js"></script> |
| 8 | <script type="text/javascript" src="/resource/lib/My97DatePicker/4.8/WdatePicker.js"></script> | 8 | <script type="text/javascript" src="/resource/lib/My97DatePicker/4.8/WdatePicker.js"></script> |
| 9 | <script type="text/javascript" src="/resource/lib/webuploader/0.1.5/webuploader.min.js"></script> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 9 | <script type="text/javascript" src="/resource/lib/webuploader/0.1.5/webuploader.min.js"></script> | ||
| 10 | <script type="text/javascript" src="/resource/upload.js"></script> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -10,9 +10,9 @@ | ... | @@ -10,9 +10,9 @@ |
| 10 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/css/H-ui.admin.css" /> | 10 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/css/H-ui.admin.css" /> |
| 11 | <link rel="stylesheet" type="text/css" href="/resource/lib/Hui-iconfont/1.0.8/iconfont.css" /> | 11 | <link rel="stylesheet" type="text/css" href="/resource/lib/Hui-iconfont/1.0.8/iconfont.css" /> |
| 12 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/skin/default/skin.css" id="skin" /> | 12 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/skin/default/skin.css" id="skin" /> |
| 13 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/css/style.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="/resource/lib/My97DatePicker/4.8/skin/WdatePicker.css" /> | 13 | <link rel="stylesheet" type="text/css" href="/resource/lib/My97DatePicker/4.8/skin/WdatePicker.css" /> |
| 15 | <link rel="stylesheet" type="text/css" href="/resource/lib/webuploader/0.1.5/webuploader.css"/> | 14 | <link rel="stylesheet" type="text/css" href="/resource/lib/webuploader/0.1.5/webuploader.css"/> |
| 15 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui.admin/css/style.css" /> | ||
| 16 | <?php | 16 | <?php |
| 17 | if (isset($styles) && is_array($styles)) { | 17 | if (isset($styles) && is_array($styles)) { |
| 18 | foreach($styles as $style) { | 18 | foreach($styles as $style) { | ... | ... |
| ... | @@ -84,17 +84,17 @@ | ... | @@ -84,17 +84,17 @@ |
| 84 | <div class="live-info"> | 84 | <div class="live-info"> |
| 85 | <input type="checkbox" name="" disabled checked> | 85 | <input type="checkbox" name="" disabled checked> |
| 86 | <span>自建</span> | 86 | <span>自建</span> |
| 87 | <input type="text" class="input-decoration" value="5"> 层 | 87 | <input type="text" class="input-decoration w-50 text-c" value="5"> 层 |
| 88 | </div> | 88 | </div> |
| 89 | <div class="live-info"> | 89 | <div class="live-info"> |
| 90 | <input type="checkbox" name="" disabled> | 90 | <input type="checkbox" name="" disabled> |
| 91 | <span>自购无按揭</span> | 91 | <span>自购无按揭</span> |
| 92 | <input type="text" class="input-decoration"> 万 | 92 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 93 | </div> | 93 | </div> |
| 94 | <div class="live-info"> | 94 | <div class="live-info"> |
| 95 | <input type="checkbox" name="" disabled> | 95 | <input type="checkbox" name="" disabled> |
| 96 | <span>按揭</span> | 96 | <span>按揭</span> |
| 97 | <input type="text" class="input-decoration"> 万 | 97 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 98 | </div> | 98 | </div> |
| 99 | <div class="live-info"> | 99 | <div class="live-info"> |
| 100 | <input type="checkbox" name="" disabled> | 100 | <input type="checkbox" name="" disabled> | ... | ... |
| ... | @@ -124,17 +124,17 @@ | ... | @@ -124,17 +124,17 @@ |
| 124 | <div class="live-info"> | 124 | <div class="live-info"> |
| 125 | <input type="checkbox" name="" checked> | 125 | <input type="checkbox" name="" checked> |
| 126 | <span>自建</span> | 126 | <span>自建</span> |
| 127 | <input type="text" class="input-decoration" value="5"> 层 | 127 | <input type="text" class="input-decoration w-50 text-c" value="5"> 层 |
| 128 | </div> | 128 | </div> |
| 129 | <div class="live-info"> | 129 | <div class="live-info"> |
| 130 | <input type="checkbox" name=""> | 130 | <input type="checkbox" name=""> |
| 131 | <span>自购无按揭</span> | 131 | <span>自购无按揭</span> |
| 132 | <input type="text" class="input-decoration"> 万 | 132 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 133 | </div> | 133 | </div> |
| 134 | <div class="live-info"> | 134 | <div class="live-info"> |
| 135 | <input type="checkbox" name=""> | 135 | <input type="checkbox" name=""> |
| 136 | <span>按揭</span> | 136 | <span>按揭</span> |
| 137 | <input type="text" class="input-decoration"> 万 | 137 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 138 | </div> | 138 | </div> |
| 139 | <div class="live-info"> | 139 | <div class="live-info"> |
| 140 | <input type="checkbox" name=""> | 140 | <input type="checkbox" name=""> | ... | ... |
application/views/work/图片上传.php
0 → 100644
| 1 | <div class="panel panel-default mb-20"> | ||
| 2 | <div class="panel-header">上传图片</div> | ||
| 3 | <div class="panel-body"> | ||
| 4 | <div class="row cl"> | ||
| 5 | <div class="form-group col-sm-3 col-md-2"> | ||
| 6 | <label>资料上传</label> | ||
| 7 | <span class="form-control select-box"> | ||
| 8 | <select class="select uploader" size="1"> | ||
| 9 | <option value="1">浙江法院公开网</option> | ||
| 10 | <option value="2">全国被执行网</option> | ||
| 11 | </select> | ||
| 12 | </span> | ||
| 13 | </div> | ||
| 14 | <div class="form-group col-sm-3 col-md-2"> | ||
| 15 | <label> </label> | ||
| 16 | <div id="uploader-demo"> | ||
| 17 | <div class="filePicker">选择图片</div> | ||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | </div> | ||
| 21 | |||
| 22 | <div class="row cl"> | ||
| 23 | <div class="form-group col-sm-12"> | ||
| 24 | <table class="table table-border table-bordered uploader-list-container"> | ||
| 25 | <thead class="text-c"> | ||
| 26 | <tr> | ||
| 27 | <th>类型</th> | ||
| 28 | <th>支持相同类型图片上传多张, 格式: png/jpg 单张限制5M</th> | ||
| 29 | </tr> | ||
| 30 | </tbody> | ||
| 31 | <tbody> | ||
| 32 | <tr data-id="1"> | ||
| 33 | <td class="text-c">浙江法院公开网</td> | ||
| 34 | <td> | ||
| 35 | <div class="filelist"></div> | ||
| 36 | </td> | ||
| 37 | </tr> | ||
| 38 | <tr data-id="2"> | ||
| 39 | <td class="text-c">全国被执行网</td> | ||
| 40 | <td> | ||
| 41 | <div class="filelist"> | ||
| 42 | <div id="WU_FILE_X_1" class="file-item thumbnail"> | ||
| 43 | <img src="holder.js/100x100"> | ||
| 44 | <div class="info">Snipaste_2018-01-18_00-10-20.png</div> | ||
| 45 | <div class="file-panel"> | ||
| 46 | <span class="cancel">删除</span> | ||
| 47 | </div> | ||
| 48 | </div> | ||
| 49 | </div> | ||
| 50 | </td> | ||
| 51 | </tr> | ||
| 52 | </tbody> | ||
| 53 | </table> | ||
| 54 | </div> | ||
| 55 | </div> | ||
| 56 | </div> | ||
| 57 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/header.php
0 → 100644
| 1 | <div class="cl pd-5 bg-1"> | ||
| 2 | <span class="l"> | ||
| 3 | <button class="btn btn-primary radius" onclick="layer_load('审批订单', '<?=site_url('/work/check/1');?>');"> | ||
| 4 | <i class="Hui-iconfont"></i> 资料清单 | ||
| 5 | </button> | ||
| 6 | <button class="btn btn-primary radius" onclick="layer_load('审批订单', '<?=site_url('/work/check/2');?>');"> | ||
| 7 | <i class="Hui-iconfont"></i> 基本信息 | ||
| 8 | </button> | ||
| 9 | <button class="btn btn-primary radius" onclick="layer_load('审批订单', '<?=site_url('/work/check/3');?>');"> | ||
| 10 | <i class="Hui-iconfont"></i> 人脉圈 | ||
| 11 | </button> | ||
| 12 | <button class="btn btn-primary radius" onclick="layer_load('审批订单', '<?=site_url('/work/check/4');?>');"> | ||
| 13 | <i class="Hui-iconfont"></i> 风险识别 | ||
| 14 | </button> | ||
| 15 | <button class="btn btn-primary radius" onclick="layer_load('审批订单', '<?=site_url('/work/check/5');?>');"> | ||
| 16 | <i class="Hui-iconfont"></i> 交易记录 | ||
| 17 | </button> | ||
| 18 | </span> | ||
| 19 | <span class="r"> | ||
| 20 | <button class="btn btn-warning radius" onclick="layer_load('审核意见', '<?=site_url('/work/check/6');?>');"> | ||
| 21 | <i class="Hui-iconfont"></i> 审批意见 | ||
| 22 | </button> | ||
| 23 | </span> | ||
| 24 | </div> | ||
| 25 | |||
| 26 | <div class="cl pd-5"> | ||
| 27 | <table class="table table-border table-bg"> | ||
| 28 | <tbody class="text-c"> | ||
| 29 | <tr> | ||
| 30 | <td><i class="Hui-iconfont"></i> 王小赞</td> | ||
| 31 | <td>女</td> | ||
| 32 | <td>20岁</td> | ||
| 33 | <td>博士</td> | ||
| 34 | <td>已婚</td> | ||
| 35 | <td>无子女</td> | ||
| 36 | <td><i class="Hui-iconfont"></i> 333333333333333333</td> | ||
| 37 | <td><i class="Hui-iconfont"></i> ¥3000.00</td> | ||
| 38 | <td>14天</td> | ||
| 39 | </tr> | ||
| 40 | </tbody> | ||
| 41 | </table> | ||
| 42 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/交易记录.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <?php $this->load->view('work/审批/header'); ?> | ||
| 5 | |||
| 6 | <div id="tab" class="HuiTab"> | ||
| 7 | <div class="tabBar clearfix" style="background-color:#e8e8e8"> | ||
| 8 | <span>平台</span> | ||
| 9 | <span>其他</span> | ||
| 10 | </div> | ||
| 11 | |||
| 12 | <div class="tabCon"> | ||
| 13 | <table class="table table-border table-bordered table-bg"> | ||
| 14 | <thead class="text-c"> | ||
| 15 | <tr> | ||
| 16 | <th>订单编号</th> | ||
| 17 | <th>申请人</th> | ||
| 18 | <th>身份证</th> | ||
| 19 | <th>手机号</th> | ||
| 20 | <th>进件时间</th> | ||
| 21 | <th>网点</th> | ||
| 22 | <th>产品名称</th> | ||
| 23 | <th>申请金额</th> | ||
| 24 | <th>审批金额</th> | ||
| 25 | <th>客户经理</th> | ||
| 26 | <th>流程节点</th> | ||
| 27 | <th>流转时间</th> | ||
| 28 | <th>处理人</th> | ||
| 29 | </tr> | ||
| 30 | </thead> | ||
| 31 | <tbody class="text-c"> | ||
| 32 | <tr> | ||
| 33 | <td>1001</td> | ||
| 34 | <td>张三</td> | ||
| 35 | <td>333333333333333333</td> | ||
| 36 | <td>13333333333</td> | ||
| 37 | <td>2018-01-01 00:00:00</td> | ||
| 38 | <td>下沙网点</td> | ||
| 39 | <td>融易购</td> | ||
| 40 | <td>100.00</td> | ||
| 41 | <td>100.00</td> | ||
| 42 | <td>李四</td> | ||
| 43 | <td class="c-primary">预审</td> | ||
| 44 | <td>2018-01-02 00:00:00</td> | ||
| 45 | <td>小明</td> | ||
| 46 | </tr> | ||
| 47 | <tr> | ||
| 48 | <td>1001</td> | ||
| 49 | <td>张三</td> | ||
| 50 | <td>333333333333333333</td> | ||
| 51 | <td>13333333333</td> | ||
| 52 | <td>2018-01-01 00:00:00</td> | ||
| 53 | <td>下沙网点</td> | ||
| 54 | <td>融易购</td> | ||
| 55 | <td>100.00</td> | ||
| 56 | <td>100.00</td> | ||
| 57 | <td>李四</td> | ||
| 58 | <td class="c-999">完成</td> | ||
| 59 | <td>2018-01-02 00:00:00</td> | ||
| 60 | <td>小明</td> | ||
| 61 | </tr> | ||
| 62 | </tbody> | ||
| 63 | </table> | ||
| 64 | </div> | ||
| 65 | |||
| 66 | <div class="tabCon">其他</div> | ||
| 67 | </div> | ||
| 68 | |||
| 69 | <?php $this->load->view('common/footer'); ?> | ||
| 70 | |||
| 71 | <script> | ||
| 72 | function getQueryString(name) { | ||
| 73 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | ||
| 74 | var r = window.location.search.substr(1).match(reg); | ||
| 75 | if (r != null) return unescape(r[2]); return null; | ||
| 76 | } | ||
| 77 | |||
| 78 | var index = getQueryString('tab'); | ||
| 79 | |||
| 80 | $("#tab").Huitab({index: index}); | ||
| 81 | </script> | ||
| 82 | </body> | ||
| 83 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/人脉圈.php
0 → 100644
application/views/work/审批/录入信用报告.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div class="cl pd-5 bg-1"> | ||
| 5 | <span class="r"> | ||
| 6 | <button class="btn btn-primary radius">保存</button> | ||
| 7 | <button class="btn btn-primary radius">预览信用报告</button> | ||
| 8 | </span> | ||
| 9 | </div> | ||
| 10 | |||
| 11 | <?php $this->load->view('work/审批/信用报告'); ?> | ||
| 12 | |||
| 13 | <div class="row cl pb-20 col-sm-12"> | ||
| 14 | <div class="col-sm-offset-3 col-sm-2"> | ||
| 15 | <button class="btn btn-warning btn-block">退回订单</button> | ||
| 16 | </div> | ||
| 17 | <div class="col-sm-2"> | ||
| 18 | <button class="btn btn-danger btn-block" onclick="refuse()">拒绝</button> | ||
| 19 | </div> | ||
| 20 | <div class="col-sm-2"> | ||
| 21 | <button class="btn btn-primary btn-block" onclick="layer_load('审核意见', '<?=site_url('/work/check/7');?>');">通过</button> | ||
| 22 | </div> | ||
| 23 | </div> | ||
| 24 | |||
| 25 | <?php $this->load->view('common/footer'); ?> | ||
| 26 | |||
| 27 | <script> | ||
| 28 | function refuse() { | ||
| 29 | layer.open({ | ||
| 30 | type: 2, | ||
| 31 | title: '电核记录', | ||
| 32 | shadeClose: true, | ||
| 33 | area: ['800px', '400px'], | ||
| 34 | content: '<?=site_url('work/telRefuse')?>' | ||
| 35 | }); | ||
| 36 | } | ||
| 37 | </script> | ||
| 38 | </body> | ||
| 39 | </html> |
application/views/work/审批/意见.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div class="panel panel-default mb-20"> | ||
| 5 | <div class="panel-header">审核意见</div> | ||
| 6 | <div class="panel-body"> | ||
| 7 | <div class="row cl"> | ||
| 8 | <div class="form-group col-sm-4 col-md-2"> | ||
| 9 | <label>拟批</label> | ||
| 10 | <input type="text" class="form-control input-text" value=""> | ||
| 11 | <span class="glyphicon form-control-feedback">元</span> | ||
| 12 | </div> | ||
| 13 | <div class="form-group col-sm-12"> | ||
| 14 | <textarea class="textarea" placeholder=""></textarea> | ||
| 15 | </div> | ||
| 16 | </div> | ||
| 17 | <div class="row cl"> | ||
| 18 | <div class="form-group col-sm-4 col-md-2"> | ||
| 19 | <label>是否发起尽调</label> | ||
| 20 | <span class="form-control select-box"> | ||
| 21 | <select class="select uploader" size="1"> | ||
| 22 | <option value="1">是</option> | ||
| 23 | <option value="2">否</option> | ||
| 24 | </select> | ||
| 25 | </span> | ||
| 26 | </div> | ||
| 27 | <div class="form-group col-sm-12"> | ||
| 28 | <textarea class="textarea" placeholder=""></textarea> | ||
| 29 | </div> | ||
| 30 | </div> | ||
| 31 | </div> | ||
| 32 | </div> | ||
| 33 | |||
| 34 | <div class="row cl pb-20 col-sm-12"> | ||
| 35 | <div class="col-sm-offset-4 col-sm-2"> | ||
| 36 | <button class="btn btn-warning btn-block">退回订单</button> | ||
| 37 | </div> | ||
| 38 | <div class="col-sm-2"> | ||
| 39 | <button class="btn btn-primary btn-block" onclick="next()">通过</button> | ||
| 40 | </div> | ||
| 41 | </div> | ||
| 42 | |||
| 43 | <?php $this->load->view('common/footer'); ?> | ||
| 44 | |||
| 45 | <script> | ||
| 46 | function next () { | ||
| 47 | layer.confirm('通过之后, 将立即进入【待尽调】【待尽审】列表', { | ||
| 48 | btn: ['确认','取消'], | ||
| 49 | title: '通过', | ||
| 50 | icon: 3 | ||
| 51 | }, function(){ | ||
| 52 | layer.msg('通过'); | ||
| 53 | }); | ||
| 54 | } | ||
| 55 | </script> | ||
| 56 | </body> | ||
| 57 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/拒绝.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div class="panel panel-default mb-20"> | ||
| 5 | <div class="panel-body cl"> | ||
| 6 | <div class="row cl"> | ||
| 7 | <div class="form-group col-sm-6 col-md-3"> | ||
| 8 | <label>拒绝原因</label> | ||
| 9 | <span class="form-control select-box"> | ||
| 10 | <select class="select" size="1"> | ||
| 11 | <option value="1">进件信息造假</option> | ||
| 12 | <option value="2">进件资料造假</option> | ||
| 13 | <option value="3">经营异常</option> | ||
| 14 | <option value="4">法院纠纷</option> | ||
| 15 | <option value="5">负面信息</option> | ||
| 16 | <option value="6">同行进件</option> | ||
| 17 | <option value="7">偿贷能力不足/负债高/隐形负债超纲</option> | ||
| 18 | <option value="8">不符合进件大纲</option> | ||
| 19 | <option value="9">综合评分不足</option> | ||
| 20 | <option value="10">风险行业</option> | ||
| 21 | <option value="11">客户取消</option> | ||
| 22 | </select> | ||
| 23 | </span> | ||
| 24 | </div> | ||
| 25 | </div> | ||
| 26 | <div class="row cl"> | ||
| 27 | <div class="form-group col-sm-12 col-md-12"> | ||
| 28 | <label>备注</label> | ||
| 29 | <textarea class="textarea"></textarea> | ||
| 30 | </div> | ||
| 31 | </div> | ||
| 32 | </div> | ||
| 33 | </div> | ||
| 34 | |||
| 35 | <div class="row cl col-sm-12"> | ||
| 36 | <div class="col-sm-2"> | ||
| 37 | <button class="btn btn-danger btn-block" onclick="layer_close();">取消</button> | ||
| 38 | </div> | ||
| 39 | <div class="col-sm-2"> | ||
| 40 | <button class="btn btn-primary btn-block" onclick="layer_close();">保存</button> | ||
| 41 | </div> | ||
| 42 | </div> | ||
| 43 | |||
| 44 | <?php $this->load->view('common/footer'); ?> | ||
| 45 | </body> | ||
| 46 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/电核.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div id="tab" class="HuiTab"> | ||
| 5 | <div class="tabBar clearfix" style="background-color:#e8e8e8"> | ||
| 6 | <span>电核结构</span> | ||
| 7 | <span>电核记录</span> | ||
| 8 | </div> | ||
| 9 | |||
| 10 | <div class="tabCon"> | ||
| 11 | <?php $this->load->view('/work/审批/电核结果'); ?> | ||
| 12 | </div> | ||
| 13 | <div class="tabCon pb-20"> | ||
| 14 | <div class="cl pd-5 bg-1"> | ||
| 15 | <span class="r"> | ||
| 16 | <button class="btn btn-primary radius" onclick="add()"> | ||
| 17 | <i class="Hui-iconfont"></i> 添加 | ||
| 18 | </button> | ||
| 19 | </span> | ||
| 20 | </div> | ||
| 21 | <table class="table table-border table-bordered table-bg"> | ||
| 22 | <thead class="text-c"> | ||
| 23 | <tr> | ||
| 24 | <th>ID</th> | ||
| 25 | <th>电核时间</th> | ||
| 26 | <th>是否拨通</th> | ||
| 27 | <th>电核人</th> | ||
| 28 | <th>备注</th> | ||
| 29 | <th width="70px">操作</th> | ||
| 30 | </tr> | ||
| 31 | </thead> | ||
| 32 | <tbody class="text-c"> | ||
| 33 | <tr> | ||
| 34 | <td>1</td> | ||
| 35 | <td>2018-01-01 00:00:00</td> | ||
| 36 | <td>是</td> | ||
| 37 | <td>张三</td> | ||
| 38 | <td>备注</td> | ||
| 39 | <td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td> | ||
| 40 | </tr> | ||
| 41 | <tr> | ||
| 42 | <td>1</td> | ||
| 43 | <td>2018-01-01 00:00:00</td> | ||
| 44 | <td>是</td> | ||
| 45 | <td>张三</td> | ||
| 46 | <td>备注</td> | ||
| 47 | <td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td> | ||
| 48 | </tr> | ||
| 49 | </tbody> | ||
| 50 | </table> | ||
| 51 | </div> | ||
| 52 | </div> | ||
| 53 | |||
| 54 | <div class="row cl pb-20 col-sm-12"> | ||
| 55 | <div class="col-sm-offset-3 col-sm-2"> | ||
| 56 | <button class="btn btn-warning btn-block">退回订单</button> | ||
| 57 | </div> | ||
| 58 | <div class="col-sm-2"> | ||
| 59 | <button class="btn btn-danger btn-block" onclick="refuse()">拒绝</button> | ||
| 60 | </div> | ||
| 61 | <div class="col-sm-2"> | ||
| 62 | <button class="btn btn-primary btn-block" onclick="layer_load('审核意见', '<?=site_url('/work/check/9');?>');">通过</button> | ||
| 63 | </div> | ||
| 64 | </div> | ||
| 65 | |||
| 66 | <?php $this->load->view('common/footer'); ?> | ||
| 67 | |||
| 68 | <script> | ||
| 69 | function getQueryString(name) { | ||
| 70 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | ||
| 71 | var r = window.location.search.substr(1).match(reg); | ||
| 72 | if (r != null) return unescape(r[2]); return null; | ||
| 73 | } | ||
| 74 | |||
| 75 | var index = getQueryString('tab'); | ||
| 76 | |||
| 77 | $("#tab").Huitab({index: index}); | ||
| 78 | |||
| 79 | function add() { | ||
| 80 | layer.open({ | ||
| 81 | type: 2, | ||
| 82 | title: '电核记录', | ||
| 83 | shadeClose: true, | ||
| 84 | area: ['800px', '400px'], | ||
| 85 | content: '<?=site_url('work/telAdd')?>' | ||
| 86 | }); | ||
| 87 | } | ||
| 88 | |||
| 89 | function refuse() { | ||
| 90 | layer.open({ | ||
| 91 | type: 2, | ||
| 92 | title: '电核记录', | ||
| 93 | shadeClose: true, | ||
| 94 | area: ['800px', '400px'], | ||
| 95 | content: '<?=site_url('work/telRefuse')?>' | ||
| 96 | }); | ||
| 97 | } | ||
| 98 | </script> | ||
| 99 | </body> | ||
| 100 | </html> |
application/views/work/审批/电核添加.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div class="panel panel-default mb-20"> | ||
| 5 | <div class="panel-body cl"> | ||
| 6 | <div class="row cl"> | ||
| 7 | <div class="form-group col-sm-3 col-md-1"> | ||
| 8 | <label>电核时间</label> | ||
| 9 | <input type="text" class="form-control input-text Wdate" value="" onfocus="WdatePicker()"> | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | <div class="row cl"> | ||
| 13 | <div class="form-group col-sm-3 col-md-1"> | ||
| 14 | <label>是否拨通</label> | ||
| 15 | <span class="form-control select-box"> | ||
| 16 | <select class="select" size="1"> | ||
| 17 | <option value="1">是</option> | ||
| 18 | <option value="2">否</option> | ||
| 19 | </select> | ||
| 20 | </span> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| 23 | <div class="row cl"> | ||
| 24 | <div class="form-group col-sm-12 col-md-12"> | ||
| 25 | <label>备注</label> | ||
| 26 | <textarea class="textarea"></textarea> | ||
| 27 | </div> | ||
| 28 | </div> | ||
| 29 | </div> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | <div class="row cl col-sm-12"> | ||
| 33 | <div class="col-sm-2"> | ||
| 34 | <button class="btn btn-primary btn-block" onclick="layer_close();">保存</button> | ||
| 35 | </div> | ||
| 36 | </div> | ||
| 37 | |||
| 38 | <?php $this->load->view('common/footer'); ?> | ||
| 39 | </body> | ||
| 40 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/电核结果.php
0 → 100644
| 1 | <div class="panel panel-default mb-20"> | ||
| 2 | <div class="panel-header">客户身份信息</div> | ||
| 3 | <div class="panel-body"> | ||
| 4 | <div class="row cl"> | ||
| 5 | <div class="form-group col-sm-4 col-md-2"> | ||
| 6 | <label>姓名</label> | ||
| 7 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 8 | </div> | ||
| 9 | <div class="form-group col-sm-4 col-md-2"> | ||
| 10 | <label>身份证号码</label> | ||
| 11 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 12 | </div> | ||
| 13 | </div> | ||
| 14 | <div class="row cl"> | ||
| 15 | <div class="form-group col-sm-4 col-md-2"> | ||
| 16 | <label>生肖</label> | ||
| 17 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 18 | </div> | ||
| 19 | <div class="form-group col-sm-4 col-md-2"> | ||
| 20 | <label>婚姻情况</label> | ||
| 21 | <span class="form-control select-box disabled"> | ||
| 22 | <select class="select" size="1" disabled> | ||
| 23 | <option value="">未婚</option> | ||
| 24 | <option value="">已婚</option> | ||
| 25 | <option value="">离户</option> | ||
| 26 | </select> | ||
| 27 | </span> | ||
| 28 | </div> | ||
| 29 | </div> | ||
| 30 | |||
| 31 | <div class="row cl"> | ||
| 32 | <div class="form-group col-sm-6 col-md-4"> | ||
| 33 | <label>户口详细地址</label> | ||
| 34 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 35 | </div> | ||
| 36 | </div> | ||
| 37 | <div class="row cl"> | ||
| 38 | <div class="form-group col-sm-6 col-md-4"> | ||
| 39 | <label>现居住地</label> | ||
| 40 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 41 | </div> | ||
| 42 | </div> | ||
| 43 | |||
| 44 | <div class="row cl"> | ||
| 45 | <div class="form-group col-sm-3 col-md-2"> | ||
| 46 | <label>身份信息选项</label> | ||
| 47 | <span class="form-control select-box"> | ||
| 48 | <select class="select" size="1"> | ||
| 49 | <option value="">不真实</option> | ||
| 50 | <option value="">真实</option> | ||
| 51 | <option value="">其他</option> | ||
| 52 | </select> | ||
| 53 | </span> | ||
| 54 | </div> | ||
| 55 | <div class="form-group col-sm-6 col-md-2"> | ||
| 56 | <label> </label> | ||
| 57 | <input type="text" class="form-control input-text" value="" placeholder="备注"> | ||
| 58 | </div> | ||
| 59 | </div> | ||
| 60 | </div> | ||
| 61 | </div> | ||
| 62 | |||
| 63 | <div class="panel panel-default mb-20"> | ||
| 64 | <div class="panel-header">申请借款信息</div> | ||
| 65 | <div class="panel-body"> | ||
| 66 | <div class="row cl"> | ||
| 67 | <div class="form-group col-sm-3 col-md-2"> | ||
| 68 | <label>申请金额</label> | ||
| 69 | <input type="text" class="form-control input-text" readonly value="XXX" disabled> | ||
| 70 | <span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span> | ||
| 71 | </div> | ||
| 72 | <div class="form-group col-sm-3 col-md-2"> | ||
| 73 | <label>借款期限</label> | ||
| 74 | <span class="form-control select-box disabled"> | ||
| 75 | <select class="select" size="1" disabled> | ||
| 76 | <option value="1"></option> | ||
| 77 | </select> | ||
| 78 | </span> | ||
| 79 | </div> | ||
| 80 | <div class="form-group col-sm-3 col-md-2"> | ||
| 81 | <label>借款用途</label> | ||
| 82 | <span class="form-control select-box disabled"> | ||
| 83 | <select class="select" size="1" disabled> | ||
| 84 | <option value="1"></option> | ||
| 85 | </select> | ||
| 86 | </span> | ||
| 87 | </div> | ||
| 88 | </div> | ||
| 89 | </div> | ||
| 90 | </div> | ||
| 91 | |||
| 92 | <div class="panel panel-default mb-20"> | ||
| 93 | <div class="panel-header">家庭情况</div> | ||
| 94 | <div class="panel-body"> | ||
| 95 | <div class="row cl"> | ||
| 96 | <div class="form-group col-sm-3 col-md-2"> | ||
| 97 | <label>家庭成员</label> | ||
| 98 | <span class="form-control select-box disabled"> | ||
| 99 | <select class="select" size="1" disabled> | ||
| 100 | <option value="1">父亲</option> | ||
| 101 | <option value="1">父亲</option> | ||
| 102 | </select> | ||
| 103 | </span> | ||
| 104 | </div> | ||
| 105 | <div class="form-group col-sm-2 col-md-1"> | ||
| 106 | <label> </label> | ||
| 107 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 108 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 109 | </div> | ||
| 110 | <div class="form-group col-sm-3 col-md-2"> | ||
| 111 | <label> </label> | ||
| 112 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 113 | </div> | ||
| 114 | </div> | ||
| 115 | <div class="row cl"> | ||
| 116 | <div class="form-group col-sm-3 col-md-2"> | ||
| 117 | <span class="form-control select-box disabled"> | ||
| 118 | <select class="select" size="1" disabled> | ||
| 119 | <option value="1"></option> | ||
| 120 | </select> | ||
| 121 | </span> | ||
| 122 | </div> | ||
| 123 | <div class="form-group col-sm-2 col-md-1"> | ||
| 124 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 125 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 126 | </div> | ||
| 127 | <div class="form-group col-sm-3 col-md-2"> | ||
| 128 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 129 | </div> | ||
| 130 | </div> | ||
| 131 | <div class="row cl"> | ||
| 132 | <div class="form-group col-sm-3 col-md-2"> | ||
| 133 | <span class="form-control select-box disabled"> | ||
| 134 | <select class="select" size="1" disabled> | ||
| 135 | <option value="1"></option> | ||
| 136 | </select> | ||
| 137 | </span> | ||
| 138 | </div> | ||
| 139 | <div class="form-group col-sm-2 col-md-1"> | ||
| 140 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 141 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 142 | </div> | ||
| 143 | <div class="form-group col-sm-3 col-md-2"> | ||
| 144 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 145 | </div> | ||
| 146 | </div> | ||
| 147 | <div class="row cl"> | ||
| 148 | <div class="form-group col-sm-3 col-md-2"> | ||
| 149 | <span class="form-control select-box disabled"> | ||
| 150 | <select class="select" size="1" disabled> | ||
| 151 | <option value="1"></option> | ||
| 152 | </select> | ||
| 153 | </span> | ||
| 154 | </div> | ||
| 155 | <div class="form-group col-sm-2 col-md-1"> | ||
| 156 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 157 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 158 | </div> | ||
| 159 | <div class="form-group col-sm-3 col-md-2"> | ||
| 160 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 161 | </div> | ||
| 162 | </div> | ||
| 163 | <div class="row cl"> | ||
| 164 | <div class="form-group col-sm-3 col-md-2"> | ||
| 165 | <span class="form-control select-box disabled"> | ||
| 166 | <select class="select" size="1" disabled> | ||
| 167 | <option value="1"></option> | ||
| 168 | </select> | ||
| 169 | </span> | ||
| 170 | </div> | ||
| 171 | <div class="form-group col-sm-2 col-md-1"> | ||
| 172 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 173 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 174 | </div> | ||
| 175 | <div class="form-group col-sm-3 col-md-2"> | ||
| 176 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 177 | </div> | ||
| 178 | </div> | ||
| 179 | <div class="row cl"> | ||
| 180 | <div class="form-group col-sm-3 col-md-2"> | ||
| 181 | <span class="form-control select-box disabled"> | ||
| 182 | <select class="select" size="1" disabled> | ||
| 183 | <option value="1"></option> | ||
| 184 | </select> | ||
| 185 | </span> | ||
| 186 | </div> | ||
| 187 | <div class="form-group col-sm-2 col-md-1"> | ||
| 188 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 189 | <span class="glyphicon form-control-feedback" >岁</span> | ||
| 190 | </div> | ||
| 191 | <div class="form-group col-sm-3 col-md-2"> | ||
| 192 | <input type="text" class="form-control input-text" value="" disabled placeholder="现在哪里做什么"> | ||
| 193 | </div> | ||
| 194 | </div> | ||
| 195 | |||
| 196 | <div class="row cl"> | ||
| 197 | <div class="form-group col-sm-3 col-md-2"> | ||
| 198 | <label>居住状况</label> | ||
| 199 | <span class="form-control select-box disabled"> | ||
| 200 | <select class="select" size="1" disabled> | ||
| 201 | <option value=""></option> | ||
| 202 | </select> | ||
| 203 | </span> | ||
| 204 | </div> | ||
| 205 | <div class="form-group col-sm-6 col-md-3"> | ||
| 206 | <label> </label> | ||
| 207 | <input type="text" class="input-text" disabled placeholder="备注: 建造时间, 装修花费, 建筑面积"> | ||
| 208 | </div> | ||
| 209 | <div class="form-group col-sm-2 col-md-1"> | ||
| 210 | <label>居住年限</label> | ||
| 211 | <input type="text" class="input-text" disabled> | ||
| 212 | <span class="glyphicon form-control-feedback" aria-hidden="true">年</span> | ||
| 213 | </div> | ||
| 214 | </div> | ||
| 215 | |||
| 216 | <div class="row cl"> | ||
| 217 | <div class="form-group col-sm-12"> | ||
| 218 | <label>常驻人口/结构</label> | ||
| 219 | <textarea class="textarea" disabled></textarea> | ||
| 220 | </div> | ||
| 221 | </div> | ||
| 222 | |||
| 223 | <div class="row cl"> | ||
| 224 | <div class="form-group col-sm-3 col-md-2"> | ||
| 225 | <label>家庭情况</label> | ||
| 226 | <span class="form-control select-box"> | ||
| 227 | <select class="select" size="1"> | ||
| 228 | <option value="">不真实</option> | ||
| 229 | <option value="">真实</option> | ||
| 230 | <option value="">其他</option> | ||
| 231 | </select> | ||
| 232 | </span> | ||
| 233 | </div> | ||
| 234 | </div> | ||
| 235 | </div> | ||
| 236 | </div> | ||
| 237 | |||
| 238 | <div class="panel panel-default mb-20"> | ||
| 239 | <div class="panel-header">联系人核查</div> | ||
| 240 | <div class="panel-body"> | ||
| 241 | <div class="row cl"> | ||
| 242 | <div class="form-group col-sm-3 col-md-2"> | ||
| 243 | <label>姓名</label> | ||
| 244 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 245 | </div> | ||
| 246 | <div class="form-group col-sm-3 col-md-2"> | ||
| 247 | <label>电话号码</label> | ||
| 248 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 249 | </div> | ||
| 250 | <div class="form-group col-sm-3 col-md-2"> | ||
| 251 | <label>与借款人关系</label> | ||
| 252 | <span class="form-control select-box disabled"> | ||
| 253 | <select class="select" size="1" disabled> | ||
| 254 | <option value="">配偶</option> | ||
| 255 | <option value="">父母</option> | ||
| 256 | <option value="">兄弟姐妹</option> | ||
| 257 | <option value="">子女</option> | ||
| 258 | <option value="">同事</option> | ||
| 259 | <option value="">朋友</option> | ||
| 260 | <option value="">其他</option> | ||
| 261 | </select> | ||
| 262 | </span> | ||
| 263 | </div> | ||
| 264 | <div class="form-group col-sm-3 col-md-1"> | ||
| 265 | <label>知晓贷款</label> | ||
| 266 | <span class="form-control select-box disabled"> | ||
| 267 | <select class="select" size="1" disabled> | ||
| 268 | <option value="">知道</option> | ||
| 269 | <option value="">不知道</option> | ||
| 270 | </select> | ||
| 271 | </span> | ||
| 272 | </div> | ||
| 273 | </div> | ||
| 274 | |||
| 275 | <div class="row cl"> | ||
| 276 | <div class="form-group col-sm-3 col-md-2"> | ||
| 277 | <label>联系人核查</label> | ||
| 278 | <span class="form-control select-box"> | ||
| 279 | <select class="select" size="1"> | ||
| 280 | <option value="">不真实</option> | ||
| 281 | <option value="">真实</option> | ||
| 282 | <option value="">其他</option> | ||
| 283 | </select> | ||
| 284 | </span> | ||
| 285 | </div> | ||
| 286 | </div> | ||
| 287 | </div> | ||
| 288 | </div> | ||
| 289 | |||
| 290 | <div class="panel panel-default mb-20"> | ||
| 291 | <div class="panel-header">经营基本信息</div> | ||
| 292 | <div class="panel-body"> | ||
| 293 | <div class="row cl"> | ||
| 294 | <div class="form-group col-sm-3 col-md-2"> | ||
| 295 | <label>单位名称</label> | ||
| 296 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 297 | </div> | ||
| 298 | <div class="form-group col-sm-3 col-md-2"> | ||
| 299 | <label>单位电话</label> | ||
| 300 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 301 | </div> | ||
| 302 | <div class="form-group col-sm-3 col-md-2"> | ||
| 303 | <label>职称名称</label> | ||
| 304 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 305 | </div> | ||
| 306 | <div class="form-group col-sm-3 col-md-1"> | ||
| 307 | <label>入职时间</label> | ||
| 308 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 309 | </div> | ||
| 310 | <div class="form-group col-sm-3 col-md-1"> | ||
| 311 | <label>月收入</label> | ||
| 312 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 313 | <span class="glyphicon form-control-feedback">元</span> | ||
| 314 | </div> | ||
| 315 | <div class="form-group col-sm-3 col-md-1"> | ||
| 316 | <label>收入证明人</label> | ||
| 317 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 318 | </div> | ||
| 319 | <div class="form-group col-sm-3 col-md-1"> | ||
| 320 | <label>收入证明人职位</label> | ||
| 321 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 322 | </div> | ||
| 323 | <div class="form-group col-sm-3 col-md-1"> | ||
| 324 | <label>社保</label> | ||
| 325 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 326 | <span class="glyphicon form-control-feedback">元</span> | ||
| 327 | </div> | ||
| 328 | <div class="form-group col-sm-3 col-md-1"> | ||
| 329 | <label>公积金</label> | ||
| 330 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 331 | <span class="glyphicon form-control-feedback">元</span> | ||
| 332 | </div> | ||
| 333 | <div class="form-group col-sm-3 col-md-1"> | ||
| 334 | <label>工资发放形式</label> | ||
| 335 | <span class="form-control select-box disabled"> | ||
| 336 | <select class="select" size="1" disabled> | ||
| 337 | <option value="">打卡</option> | ||
| 338 | <option value="">支付宝</option> | ||
| 339 | <option value="">微信</option> | ||
| 340 | <option value="">现金</option> | ||
| 341 | <option value="">现金 + 打卡</option> | ||
| 342 | </select> | ||
| 343 | </span> | ||
| 344 | </div> | ||
| 345 | <div class="form-group col-sm-6 col-md-4"> | ||
| 346 | <label>单位所在地</label> | ||
| 347 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 348 | </div> | ||
| 349 | </div> | ||
| 350 | <div class="row cl"> | ||
| 351 | <div class="form-group col-sm-3 col-md-2"> | ||
| 352 | <label>经营基本信息</label> | ||
| 353 | <span class="form-control select-box"> | ||
| 354 | <select class="select" size="1"> | ||
| 355 | <option value="">不真实</option> | ||
| 356 | <option value="">真实</option> | ||
| 357 | <option value="">其他</option> | ||
| 358 | </select> | ||
| 359 | </span> | ||
| 360 | </div> | ||
| 361 | <div class="form-group col-sm-6 col-md-2"> | ||
| 362 | <label> </label> | ||
| 363 | <input type="text" class="form-control input-text" value="" placeholder="备注"> | ||
| 364 | </div> | ||
| 365 | </div> | ||
| 366 | </div> | ||
| 367 | </div> | ||
| 368 | |||
| 369 | <div class="panel panel-default mb-20"> | ||
| 370 | <div class="panel-header">经营财务数据(可选)</div> | ||
| 371 | <div class="panel-body"> | ||
| 372 | <div class="row cl"> | ||
| 373 | <div class="form-group col-sm-3 col-md-1"> | ||
| 374 | <label>经营年限</label> | ||
| 375 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 376 | <span class="glyphicon form-control-feedback">年</span> | ||
| 377 | </div> | ||
| 378 | <div class="form-group col-sm-3 col-md-1"> | ||
| 379 | <label>期初投入</label> | ||
| 380 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 381 | <span class="glyphicon form-control-feedback">元</span> | ||
| 382 | </div> | ||
| 383 | <div class="form-group col-sm-3 col-md-1"> | ||
| 384 | <label>年产值/年营收入</label> | ||
| 385 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 386 | <span class="glyphicon form-control-feedback">元</span> | ||
| 387 | </div> | ||
| 388 | <div class="form-group col-sm-3 col-md-1"> | ||
| 389 | <label>员工</label> | ||
| 390 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 391 | <span class="glyphicon form-control-feedback">人</span> | ||
| 392 | </div> | ||
| 393 | <div class="form-group col-sm-3 col-md-1"> | ||
| 394 | <label>缴纳社保</label> | ||
| 395 | <span class="form-control select-box disabled"> | ||
| 396 | <select class="select" size="1" disabled> | ||
| 397 | <option value="">是</option> | ||
| 398 | <option value="">否</option> | ||
| 399 | </select> | ||
| 400 | </span> | ||
| 401 | </div> | ||
| 402 | <div class="form-group col-sm-3 col-md-1"> | ||
| 403 | <label>人力成本</label> | ||
| 404 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 405 | <span class="glyphicon form-control-feedback">元</span> | ||
| 406 | </div> | ||
| 407 | <div class="form-group col-sm-3 col-md-1"> | ||
| 408 | <label>水电费</label> | ||
| 409 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 410 | <span class="glyphicon form-control-feedback">元</span> | ||
| 411 | </div> | ||
| 412 | <div class="form-group col-sm-3 col-md-1"> | ||
| 413 | <label>经营利润</label> | ||
| 414 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 415 | <span class="glyphicon form-control-feedback">%</span> | ||
| 416 | </div> | ||
| 417 | </div> | ||
| 418 | |||
| 419 | <div class="row cl"> | ||
| 420 | <div class="form-group col-sm-3 col-md-1"> | ||
| 421 | <label>经营地性质</label> | ||
| 422 | <span class="form-control select-box disabled"> | ||
| 423 | <select class="select" size="1" disabled> | ||
| 424 | <option value="">租凭</option> | ||
| 425 | <option value="">自有</option> | ||
| 426 | </select> | ||
| 427 | </span> | ||
| 428 | </div> | ||
| 429 | <div class="form-group col-sm-3 col-md-1"> | ||
| 430 | <label> </label> | ||
| 431 | <input type="text" class="form-control input-text" value="" disabled placeholder="租金/价值"> | ||
| 432 | <span class="glyphicon form-control-feedback">元</span> | ||
| 433 | </div> | ||
| 434 | </div> | ||
| 435 | <div class="row cl"> | ||
| 436 | <div class="form-group col-sm-3 col-md-1"> | ||
| 437 | <label>库存</label> | ||
| 438 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 439 | <span class="glyphicon form-control-feedback">元</span> | ||
| 440 | </div> | ||
| 441 | <div class="form-group col-sm-3 col-md-1"> | ||
| 442 | <label>应收</label> | ||
| 443 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 444 | <span class="glyphicon form-control-feedback">元</span> | ||
| 445 | </div> | ||
| 446 | <div class="form-group col-sm-3 col-md-1"> | ||
| 447 | <label>账期</label> | ||
| 448 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 449 | <span class="glyphicon form-control-feedback">天</span> | ||
| 450 | </div> | ||
| 451 | <div class="form-group col-sm-3 col-md-1"> | ||
| 452 | <label>应付</label> | ||
| 453 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 454 | <span class="glyphicon form-control-feedback">元</span> | ||
| 455 | </div> | ||
| 456 | </div> | ||
| 457 | |||
| 458 | <div class="row cl"> | ||
| 459 | <div class="form-group col-sm-6 col-md-4"> | ||
| 460 | <label>长期合作单位</label> | ||
| 461 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 462 | </div> | ||
| 463 | </div> | ||
| 464 | |||
| 465 | <div class="row cl"> | ||
| 466 | <div class="form-group col-sm-3 col-md-2"> | ||
| 467 | <label>财务结算方式</label> | ||
| 468 | <span class="form-control select-box disabled"> | ||
| 469 | <select class="select" size="1" disabled> | ||
| 470 | <option value="">对公</option> | ||
| 471 | <option value="">对私</option> | ||
| 472 | <option value="">现金</option> | ||
| 473 | <option value="">承诺</option> | ||
| 474 | </select> | ||
| 475 | </span> | ||
| 476 | </div> | ||
| 477 | <div class="form-group col-sm-4 col-md-2"> | ||
| 478 | <label> </label> | ||
| 479 | <input type="text" class="form-control input-text" value="" disabled placeholder="备注: 对公/对私(什么银行)"> | ||
| 480 | </div> | ||
| 481 | </div> | ||
| 482 | </div> | ||
| 483 | </div> | ||
| 484 | |||
| 485 | <div class="panel panel-default mb-20"> | ||
| 486 | <div class="panel-header">资产信息</div> | ||
| 487 | <div class="panel-body"> | ||
| 488 | <div class="row cl"> | ||
| 489 | <div class="form-group col-sm-3 col-md-1"> | ||
| 490 | <label>房产</label> | ||
| 491 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 492 | <span class="glyphicon form-control-feedback">套</span> | ||
| 493 | </div> | ||
| 494 | <div class="form-group col-sm-3 col-md-1"> | ||
| 495 | <label>商品房估值</label> | ||
| 496 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 497 | </div> | ||
| 498 | <div class="form-group col-sm-3 col-md-1"> | ||
| 499 | <label>建按估值</label> | ||
| 500 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 501 | </div> | ||
| 502 | </div> | ||
| 503 | <div class="row cl"> | ||
| 504 | <div class="form-group col-sm-3 col-md-1"> | ||
| 505 | <label>车辆</label> | ||
| 506 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 507 | <span class="glyphicon form-control-feedback">辆</span> | ||
| 508 | </div> | ||
| 509 | <div class="form-group col-sm-3 col-md-1"> | ||
| 510 | <label>名牌型号</label> | ||
| 511 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 512 | </div> | ||
| 513 | <div class="form-group col-sm-3 col-md-1"> | ||
| 514 | <label>现估值</label> | ||
| 515 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 516 | </div> | ||
| 517 | </div> | ||
| 518 | <div class="row cl"> | ||
| 519 | <div class="form-group col-sm-3 col-md-1"> | ||
| 520 | <label>其他资产</label> | ||
| 521 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 522 | </div> | ||
| 523 | <div class="form-group col-sm-3 col-md-1"> | ||
| 524 | <label>资产内容</label> | ||
| 525 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 526 | </div> | ||
| 527 | <div class="form-group col-sm-3 col-md-1"> | ||
| 528 | <label>现估值</label> | ||
| 529 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 530 | </div> | ||
| 531 | </div> | ||
| 532 | <div class="row cl"> | ||
| 533 | <div class="form-group col-sm-4 col-md-2"> | ||
| 534 | <label>合计资产</label> | ||
| 535 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 536 | <span class="glyphicon form-control-feedback">元</span> | ||
| 537 | </div> | ||
| 538 | </div> | ||
| 539 | |||
| 540 | <div class="row cl"> | ||
| 541 | <div class="form-group col-sm-6 col-md-4"> | ||
| 542 | <label>还款能力</label> | ||
| 543 | <span class="form-control select-box"> | ||
| 544 | <select class="select" size="1"> | ||
| 545 | <option value="">具有</option> | ||
| 546 | <option value="">一般</option> | ||
| 547 | <option value="">较差</option> | ||
| 548 | <option value="">无</option> | ||
| 549 | </select> | ||
| 550 | </span> | ||
| 551 | </div> | ||
| 552 | </div> | ||
| 553 | </div> | ||
| 554 | </div> | ||
| 555 | |||
| 556 | <div class="panel panel-default mb-20"> | ||
| 557 | <div class="panel-header">负责信息</div> | ||
| 558 | <div class="panel-body"> | ||
| 559 | <div class="row cl"> | ||
| 560 | <div class="form-group col-sm-12"> | ||
| 561 | <textarea class="textarea" placeholder="根据录入的信用报告核对征信负责, 核对贷款每还还款金额, 信用卡每月还款额, 逾期原因"></textarea> | ||
| 562 | </div> | ||
| 563 | <div class="form-group col-sm-4 col-md-2"> | ||
| 564 | <label>合计征信负责</label> | ||
| 565 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 566 | <span class="glyphicon form-control-feedback">元</span> | ||
| 567 | </div> | ||
| 568 | </div> | ||
| 569 | </div> | ||
| 570 | </div> | ||
| 571 | |||
| 572 | <div class="panel panel-default mb-20"> | ||
| 573 | <div class="panel-header">其他金融机构业务</div> | ||
| 574 | <div class="panel-body"> | ||
| 575 | <div class="row cl"> | ||
| 576 | <div class="form-group col-sm-12"> | ||
| 577 | <textarea class="textarea" placeholder="根据录入的信用报告核对征信负责, 核对贷款每还还款金额, 信用卡每月还款额, 逾期原因"></textarea> | ||
| 578 | </div> | ||
| 579 | <div class="form-group col-sm-4 col-md-2"> | ||
| 580 | <label>合计非征信负责</label> | ||
| 581 | <input type="text" class="form-control input-text" value="" disabled> | ||
| 582 | <span class="glyphicon form-control-feedback">元</span> | ||
| 583 | </div> | ||
| 584 | </div> | ||
| 585 | </div> | ||
| 586 | </div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
application/views/work/审批/网查筛选.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <div class="cl pd-5 bg-1"> | ||
| 5 | <span class="r"> | ||
| 6 | <button class="btn btn-primary radius">保存</button> | ||
| 7 | </span> | ||
| 8 | </div> | ||
| 9 | |||
| 10 | <?php $this->load->view('work/图片上传'); ?> | ||
| 11 | |||
| 12 | <div class="panel panel-default mb-20"> | ||
| 13 | <div class="panel-body"> | ||
| 14 | <div class="row cl"> | ||
| 15 | <div class="form-group col-sm-3 col-md-2"> | ||
| 16 | <label>筛选结果</label> | ||
| 17 | <span class="form-control select-box"> | ||
| 18 | <select class="select uploader" size="1"> | ||
| 19 | <option value="1">正常</option> | ||
| 20 | <option value="2">异常</option> | ||
| 21 | </select> | ||
| 22 | </span> | ||
| 23 | </div> | ||
| 24 | <div class="form-group col-sm-3 col-md-2"> | ||
| 25 | <label> </label> | ||
| 26 | <input type="text" class="input-text" placeholder="备注"/> | ||
| 27 | </div> | ||
| 28 | </div> | ||
| 29 | </div> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | <div class="row cl pb-20 col-sm-12"> | ||
| 33 | <div class="col-sm-offset-3 col-sm-2"> | ||
| 34 | <button class="btn btn-warning btn-block">退回订单</button> | ||
| 35 | </div> | ||
| 36 | <div class="col-sm-2"> | ||
| 37 | <button class="btn btn-danger btn-block" onclick="refuse()">拒绝</button> | ||
| 38 | </div> | ||
| 39 | <div class="col-sm-2"> | ||
| 40 | <button class="btn btn-primary btn-block" onclick="layer_load('审核意见', '<?=site_url('/work/check/8');?>');">通过</button> | ||
| 41 | </div> | ||
| 42 | </div> | ||
| 43 | |||
| 44 | <?php $this->load->view('common/footer'); ?> | ||
| 45 | <script src="https://cdn.bootcss.com/holder/2.9.4/holder.min.js"></script> | ||
| 46 | |||
| 47 | <script> | ||
| 48 | function refuse() { | ||
| 49 | layer.open({ | ||
| 50 | type: 2, | ||
| 51 | title: '电核记录', | ||
| 52 | shadeClose: true, | ||
| 53 | area: ['800px', '400px'], | ||
| 54 | content: '<?=site_url('work/telRefuse')?>' | ||
| 55 | }); | ||
| 56 | } | ||
| 57 | </script> | ||
| 58 | </body> | ||
| 59 | </html> | ||
| 60 |
| 1 | <?php $this->load->view('common/header'); ?> | 1 | <?php $this->load->view('common/header'); ?> |
| 2 | 2 | ||
| 3 | <body> | 3 | <body> |
| 4 | <div class="five steps"> | 4 | <?php $this->load->view('work/审批/header'); ?> |
| 5 | <a href="javascript:layer_load('审批订单', '<?=site_url('/work/check/1');?>');" class="active step">资料清单</a> | ||
| 6 | <a href="" class="step">基本信息</a> | ||
| 7 | <a href="" class="step">人脉圈</a> | ||
| 8 | <a href="" class="step">风险识别</a> | ||
| 9 | <a href="" class="step">交易记录</a> | ||
| 10 | </div> | ||
| 11 | 5 | ||
| 12 | <div id="tab" class="HuiTab"> | 6 | <div id="tab" class="HuiTab"> |
| 13 | <div class="tabBar clearfix" style="background-color:#e8e8e8"> | 7 | <div class="tabBar clearfix" style="background-color:#e8e8e8"> |
| ... | @@ -33,8 +27,14 @@ | ... | @@ -33,8 +27,14 @@ |
| 33 | <?php $this->load->view('work/审批/信用报告'); ?> | 27 | <?php $this->load->view('work/审批/信用报告'); ?> |
| 34 | </div> | 28 | </div> |
| 35 | 29 | ||
| 36 | <div class="tabCon">电核结果</div> | 30 | <div class="tabCon"> |
| 37 | <div class="tabCon">网查筛查(图片)</div> | 31 | <?php $this->load->view('work/审批/电核结果'); ?> |
| 32 | </div> | ||
| 33 | |||
| 34 | <div class="tabCon"> | ||
| 35 | <?php $this->load->view('work/图片上传'); ?> | ||
| 36 | </div> | ||
| 37 | |||
| 38 | <div class="tabCon">附件清单(图片)</div> | 38 | <div class="tabCon">附件清单(图片)</div> |
| 39 | </div> | 39 | </div> |
| 40 | 40 | ... | ... |
application/views/work/审批/风险识别.php
0 → 100644
| 1 | <?php $this->load->view('common/header'); ?> | ||
| 2 | |||
| 3 | <body> | ||
| 4 | <?php $this->load->view('work/审批/header'); ?> | ||
| 5 | |||
| 6 | <div id="tab" class="HuiTab"> | ||
| 7 | <div class="tabBar clearfix" style="background-color:#e8e8e8"> | ||
| 8 | <span>数据交叉验证</span> | ||
| 9 | <span>多头借贷</span> | ||
| 10 | <span>黑名单</span> | ||
| 11 | </div> | ||
| 12 | |||
| 13 | <div class="tabCon">数据交叉验证</div> | ||
| 14 | <div class="tabCon">多头借贷</div> | ||
| 15 | <div class="tabCon">黑名单</div> | ||
| 16 | </div> | ||
| 17 | |||
| 18 | <?php $this->load->view('common/footer'); ?> | ||
| 19 | |||
| 20 | <script> | ||
| 21 | function getQueryString(name) { | ||
| 22 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | ||
| 23 | var r = window.location.search.substr(1).match(reg); | ||
| 24 | if (r != null) return unescape(r[2]); return null; | ||
| 25 | } | ||
| 26 | |||
| 27 | var index = getQueryString('tab'); | ||
| 28 | |||
| 29 | $("#tab").Huitab({index: index}); | ||
| 30 | </script> | ||
| 31 | </body> | ||
| 32 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -71,17 +71,17 @@ | ... | @@ -71,17 +71,17 @@ |
| 71 | <div class="live-info"> | 71 | <div class="live-info"> |
| 72 | <input type="checkbox" name="" checked> | 72 | <input type="checkbox" name="" checked> |
| 73 | <span>自建</span> | 73 | <span>自建</span> |
| 74 | <input type="text" class="input-decoration" value="5"> 层 | 74 | <input type="text" class="input-decoration w-50 text-c" value="5"> 层 |
| 75 | </div> | 75 | </div> |
| 76 | <div class="live-info"> | 76 | <div class="live-info"> |
| 77 | <input type="checkbox" name=""> | 77 | <input type="checkbox" name=""> |
| 78 | <span>自购无按揭</span> | 78 | <span>自购无按揭</span> |
| 79 | <input type="text" class="input-decoration"> 万 | 79 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 80 | </div> | 80 | </div> |
| 81 | <div class="live-info"> | 81 | <div class="live-info"> |
| 82 | <input type="checkbox" name=""> | 82 | <input type="checkbox" name=""> |
| 83 | <span>按揭</span> | 83 | <span>按揭</span> |
| 84 | <input type="text" class="input-decoration"> 万 | 84 | <input type="text" class="input-decoration w-50 text-c"> 万 |
| 85 | </div> | 85 | </div> |
| 86 | <div class="live-info"> | 86 | <div class="live-info"> |
| 87 | <input type="checkbox" name=""> | 87 | <input type="checkbox" name=""> | ... | ... |
| ... | @@ -39,7 +39,6 @@ label { | ... | @@ -39,7 +39,6 @@ label { |
| 39 | 39 | ||
| 40 | label~.form-control-feedback { | 40 | label~.form-control-feedback { |
| 41 | top: 27px; | 41 | top: 27px; |
| 42 | right: 16px; | ||
| 43 | } | 42 | } |
| 44 | 43 | ||
| 45 | .glyphicon { | 44 | .glyphicon { |
| ... | @@ -57,7 +56,7 @@ label~.form-control-feedback { | ... | @@ -57,7 +56,7 @@ label~.form-control-feedback { |
| 57 | .form-control-feedback { | 56 | .form-control-feedback { |
| 58 | position: absolute; | 57 | position: absolute; |
| 59 | top: 0; | 58 | top: 0; |
| 60 | right: 0; | 59 | right: 16px; |
| 61 | z-index: 2; | 60 | z-index: 2; |
| 62 | display: block; | 61 | display: block; |
| 63 | width: 31px; | 62 | width: 31px; |
| ... | @@ -88,13 +87,19 @@ label~.form-control-feedback { | ... | @@ -88,13 +87,19 @@ label~.form-control-feedback { |
| 88 | } | 87 | } |
| 89 | 88 | ||
| 90 | .input-decoration { | 89 | .input-decoration { |
| 91 | width: 50px; | ||
| 92 | font-size: 14px; | 90 | font-size: 14px; |
| 93 | border-bottom: 1px solid #dbdbdb; | 91 | border-bottom: 1px solid #dbdbdb; |
| 94 | border-top:0px; | 92 | border-top:0px; |
| 95 | border-left:0px; | 93 | border-left:0px; |
| 96 | border-right:0px; | 94 | border-right:0px; |
| 97 | text-align: center; | 95 | } |
| 96 | |||
| 97 | .w-50 { | ||
| 98 | width: 50px; | ||
| 99 | } | ||
| 100 | |||
| 101 | .w-240 { | ||
| 102 | width: 240px; | ||
| 98 | } | 103 | } |
| 99 | 104 | ||
| 100 | .live-info { | 105 | .live-info { |
| ... | @@ -253,3 +258,11 @@ label.radio > input:checked + img{ | ... | @@ -253,3 +258,11 @@ label.radio > input:checked + img{ |
| 253 | top: 0; | 258 | top: 0; |
| 254 | right: 0; | 259 | right: 0; |
| 255 | } | 260 | } |
| 261 | |||
| 262 | .file-item { | ||
| 263 | margin: 0; | ||
| 264 | } | ||
| 265 | |||
| 266 | .disabled, .disabled select:disabled { | ||
| 267 | background-color: #ebebe4; | ||
| 268 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -241,7 +241,6 @@ function layer_show(title,url,w,h){ | ... | @@ -241,7 +241,6 @@ function layer_show(title,url,w,h){ |
| 241 | 241 | ||
| 242 | function layer_load(title, url) { | 242 | function layer_load(title, url) { |
| 243 | var index = parent.layer.getFrameIndex(window.name); | 243 | var index = parent.layer.getFrameIndex(window.name); |
| 244 | console.log(index, title, url); | ||
| 245 | parent.layer.title(title, index); | 244 | parent.layer.title(title, index); |
| 246 | parent.layer.iframeSrc(index, url); | 245 | parent.layer.iframeSrc(index, url); |
| 247 | } | 246 | } | ... | ... |
resource/upload.js
0 → 100644
| 1 | jQuery(function() { | ||
| 2 | var $ = jQuery, | ||
| 3 | ratio = window.devicePixelRatio || 1, | ||
| 4 | thumbnailWidth = 100 * ratio, | ||
| 5 | thumbnailHeight = 100 * ratio, | ||
| 6 | uploader; | ||
| 7 | |||
| 8 | // 初始化Web Uploader | ||
| 9 | uploader = WebUploader.create({ | ||
| 10 | |||
| 11 | // 自动上传。 | ||
| 12 | auto: true, | ||
| 13 | |||
| 14 | // 文件接收服务端。 | ||
| 15 | server: 'http://webuploader.duapp.com/server/fileupload.php', | ||
| 16 | |||
| 17 | // 选择文件的按钮。可选。 | ||
| 18 | // 内部根据当前运行是创建,可能是input元素,也可能是flash. | ||
| 19 | pick: '.filePicker', | ||
| 20 | |||
| 21 | // 只允许选择文件,可选。 | ||
| 22 | accept: { | ||
| 23 | title: 'Images', | ||
| 24 | extensions: 'gif,jpg,jpeg,bmp,png', | ||
| 25 | mimeTypes: 'image/*' | ||
| 26 | } | ||
| 27 | }); | ||
| 28 | |||
| 29 | // 当有文件添加进来的时候 | ||
| 30 | uploader.on('fileQueued', function(file) { | ||
| 31 | console.log(file); | ||
| 32 | var $id = $('select.uploader').val(), $list = $('tr[data-id='+$id+'] .filelist'); | ||
| 33 | var $li = $( '<div id="' + file.id + '" class="file-item thumbnail">' + '<img>' + | ||
| 34 | '<div class="info">' + file.name + '</div>' + '</div>'), | ||
| 35 | $btns = $('<div class="file-panel">' + '<span class="cancel">删除</span>').appendTo( $li ), | ||
| 36 | $img = $li.find('img'); | ||
| 37 | |||
| 38 | $li.on( 'mouseenter', function() { | ||
| 39 | $btns.stop().animate({height: 30}); | ||
| 40 | }); | ||
| 41 | |||
| 42 | $li.on( 'mouseleave', function() { | ||
| 43 | $btns.stop().animate({height: 0}); | ||
| 44 | }); | ||
| 45 | |||
| 46 | $btns.on('click', 'span', function() { | ||
| 47 | var index = $(this).index(); | ||
| 48 | |||
| 49 | switch (index) { | ||
| 50 | case 0: | ||
| 51 | uploader.removeFile(file); | ||
| 52 | return; | ||
| 53 | } | ||
| 54 | }); | ||
| 55 | |||
| 56 | |||
| 57 | $list.append($li); | ||
| 58 | |||
| 59 | // 创建缩略图 | ||
| 60 | uploader.makeThumb(file, function(error, src) { | ||
| 61 | if (error) { | ||
| 62 | $img.replaceWith('<span>不能预览</span>'); | ||
| 63 | return; | ||
| 64 | } | ||
| 65 | |||
| 66 | $img.attr('src', src); | ||
| 67 | }, thumbnailWidth, thumbnailHeight); | ||
| 68 | }); | ||
| 69 | |||
| 70 | uploader.on('fileDequeued', function( file ) { | ||
| 71 | removeFile( file ); | ||
| 72 | }); | ||
| 73 | |||
| 74 | |||
| 75 | // 文件上传过程中创建进度条实时显示。 | ||
| 76 | uploader.on('uploadProgress', function(file, percentage) { | ||
| 77 | var $li = $('#' + file.id), | ||
| 78 | $percent = $li.find('.progress span'); | ||
| 79 | |||
| 80 | // 避免重复创建 | ||
| 81 | if (!$percent.length) { | ||
| 82 | $percent = $('<p class="progress"><span></span></p>') | ||
| 83 | .appendTo($li) | ||
| 84 | .find('span'); | ||
| 85 | } | ||
| 86 | |||
| 87 | $percent.css('width', percentage * 100 + '%'); | ||
| 88 | }); | ||
| 89 | |||
| 90 | // 文件上传成功,给item添加成功class, 用样式标记上传成功。 | ||
| 91 | uploader.on('uploadSuccess', function(file) { | ||
| 92 | $('#' + file.id).addClass('upload-state-done'); | ||
| 93 | }); | ||
| 94 | |||
| 95 | // 文件上传失败,现实上传出错。 | ||
| 96 | uploader.on('uploadError', function(file) { | ||
| 97 | var $li = $('#' + file.id), | ||
| 98 | $error = $li.find('div.error'); | ||
| 99 | |||
| 100 | // 避免重复创建 | ||
| 101 | if (!$error.length) { | ||
| 102 | $error = $('<div class="error"></div>').appendTo($li); | ||
| 103 | } | ||
| 104 | |||
| 105 | $error.text('上传失败'); | ||
| 106 | }); | ||
| 107 | |||
| 108 | // 完成上传完了,成功或者失败,先删除进度条。 | ||
| 109 | uploader.on('uploadComplete', function(file) { | ||
| 110 | $('#' + file.id).find('.progress').remove(); | ||
| 111 | }); | ||
| 112 | |||
| 113 | $('.file-item').on('mouseenter', function () { | ||
| 114 | $(this).find('.file-panel').stop().animate({height: 30}); | ||
| 115 | }); | ||
| 116 | |||
| 117 | $('.file-item').on('mouseleave', function () { | ||
| 118 | $(this).find('.file-panel').stop().animate({height: 0}); | ||
| 119 | }) | ||
| 120 | |||
| 121 | $('.file-panel').on('click', 'span', function () { | ||
| 122 | var id = $(this).parents('.file-item.thumbnail').attr('id'), file = {id, id}; | ||
| 123 | removeFile(file); | ||
| 124 | }); | ||
| 125 | |||
| 126 | function removeFile( file ) { | ||
| 127 | var $li = $('#'+file.id); | ||
| 128 | $li.off().find('.file-panel').off().end().remove(); | ||
| 129 | alert('删除成功'); | ||
| 130 | } | ||
| 131 | }); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment