资料补录.php
24.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<?php $this->load->view('common/header'); ?>
<body>
<div id="tab" class="HuiTab">
<div class="tabBar clearfix" style="background-color:#e8e8e8">
<span>产品选择</span>
<span>申请信息</span>
<span>资料信息</span>
</div>
<form>
<div class="tabCon">
<div class="panel panel-default mb-20">
<div class="panel-header">选择贷款产品</div>
<div class="panel-body cl">
<div class="row cl text-c">
<?php foreach ($this->session->products as $k => $v):?>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" value="<?=$v->id?>" name="1"/>
<img width="160" height="160" src="holder.js/180x18">
<?=$v->productName?>
</label>
</div>
<?php endforeach;?>
<!--<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" name="1"/>
<img src="holder.js/180x180">
</label>
</div>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" name="1"/>
<img src="holder.js/180x180">
</label>
</div>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" name="1"/>
<img src="holder.js/180x180">
</label>
</div>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" name="1"/>
<img src="holder.js/180x180">
</label>
</div>-->
</div>
</div>
</div>
<div class="col-sm-offset-4 col-sm-4 pb-20">
<button class="btn btn-primary btn-block" type="button" onclick="$('#tab').Huitab({index: 1})">下一步
</button>
</div>
</div>
<!-- 申请信息 -->
<div class="tabCon">
<div class="panel panel-primary mb-20">
<div class="panel-header">借款人信息</div>
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>姓名</label>
<input type="text" class="form-control input-text" name="userName" value="<?=$clientInfoOutputVO->userName?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>性别</label>
<span class="form-control select-box">
<select class="select" size="1" name="gender">
<?php foreach ($this->session->genderEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->gender == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>婚姻</label>
<span class="form-control select-box">
<select class="select" size="1" name="marriageState">
<?php foreach ($this->session->marryEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->marriageState == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>出生日期</label>
<input type="text" name="birthDate" class="form-control input-text Wdate" value="<?=$clientInfoOutputVO->birthDate?>" onfocus="WdatePicker()">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>教育程度</label>
<span class="form-control select-box">
<select class="select" size="1" name="educationDegree">
<?php foreach ($this->session->educationEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->educationDegree == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>身份证</label>
<input type="text" name="idCard" class="form-control input-text" value="<?=$clientInfoOutputVO->idCard?>">
</div>
</div>
<div class="row cl">
<div class="form-group has-feedback col-sm-3 col-md-2">
<label>月收入</label>
<input type="text" name="monthlyIncome" class="form-control input-text" value="<?=$clientInfoOutputVO->monthlyIncome?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>有无本地房产</label>
<span class="form-control select-box">
<select class="select" size="1" name="localHouse">
<option <?=$clientInfoOutputVO->localHouse == $k ? 'selected' : ''?> value="0">无</option>
<option <?=$clientInfoOutputVO->localHouse == $k ? 'selected' : ''?> value="1">有</option>
</select>
</span>
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-12 col-md-12">
<label>居住情况</label>
<div class="info">
<?php foreach ($this->session->dwellEnum as $k=>$v):?>
<div class="live-info">
<input type="checkbox" <?=$clientInfoOutputVO->dwellState == $k ? 'checked' : ''?> name="dwellState">
<span><?=$v?></span>
<?php if($k == 0):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层
<?php elseif ($k == 1):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万
<?php elseif ($k == 2):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万
<?php endif;?>
</div>
<?php endforeach;?>
<!--<div class="live-info">
<input type="checkbox" name="dwellState">
<span>自建</span>
<input type="text" class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层
</div>
<div class="live-info">
<input type="checkbox" name="dwellState">
<span>自购无按揭</span>
<input type="text" name="dwellDetail" class="input-decoration w-50 text-c"> 万
</div>
<div class="live-info">
<input type="checkbox" name="dwellState">
<span>按揭</span>
<input type="text" name="dwellDetail" class="input-decoration w-50 text-c"> 万
</div>
<div class="live-info">
<input type="checkbox" name="dwellState">
<span>租用</span>
</div>
<div class="live-info">
<input type="checkbox" name="dwellState">
<span>亲属住房</span>
</div>
<div class="live-info">
<input type="checkbox" name="dwellState">
<span>单位住房</span>
</div>-->
</div>
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>手机</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->phoneNumber?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>户口所在地</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1">浙江</option>
</select>
</span>
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>户口详细地址</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->registerDetailAddress?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>现居住地址</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->currentAddress?>">
</div>
</div>
</div>
</div>
<div class="panel panel-danger mb-20">
<div class="panel-header">单位信息</div>
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>单位名称</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->unitName?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>部门</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->department?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>单位性质</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->unitEnum as $k=>$v):?>
<option <?=$clientUnitOutputVO->unitNature == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>职位名称</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->jobPosition?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>现单位入职时间</label>
<input type="text" class="form-control input-text Wdate" value="<?=$clientUnitOutputVO->currentUnitEntryDate?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>现单位工作年限</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->currentUnitWorkYears?>">
<span class="glyphicon glyphicon-year form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>现单位电话</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->unitPhone?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>月收入</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->monthlyIncome?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>工资发放形式</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->wagePaymentFormEnum as $k=>$v):?>
<option <?=$clientUnitOutputVO->salaryGrantForm == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>现单位所在地</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO->currentUnitAddress?>">
</div>
</div>
</div>
</div>
<div class="panel panel-danger mb-20">
<div class="panel-header">联系人信息 (不承担贷款相关责任)</div>
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>亲属联系人姓名</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>是您的</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>手机号</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>其他联系人姓名</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>是您的</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>手机号</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>其他联系人姓名</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>是您的</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>手机号</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
</div>
</div>
</div>
<div class="panel panel-danger mb-20">
<div class="panel-header">贷款事项</div>
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>申请金额</label>
<input type="text" class="form-control input-text" value="XXX">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>贷款期限</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>还款方式</label>
<span class="form-control select-box">
<select class="select" size=c"">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>贷款用途</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->loanUseEnum as $k=>$v):?>
<option value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
</div>
</div>
</div>
<div class="panel panel-danger mb-20">
<div class="panel-header">其他</div>
<div class="panel-body">
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>贷款品种/代码</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>贷款用途性质</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->loanNatureEnum as $k=>$v):?>
<option value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
</select>
</span>
</div>
</div>
</div>
</div>
<div class="col-sm-offset-4 col-sm-4 pb-20">
<button class="btn btn-primary btn-block" type="button" onclick="$('#tab').Huitab({index: 2})">下一步
</button>
</div>
</div>
<!-- 资料信息 -->
<div class="tabCon">
<?php $this->load->view('work/图片上传'); ?>
<div class="col-sm-offset-4 col-sm-4 pb-20">
<button class="btn btn-primary btn-block" type="button" onclick="submit()">提交</button>
</div>
</div>
</form>
</div>
<?php $this->load->view('common/footer'); ?>
<script>
function getQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
var index = getQueryString('tab');
$("#tab").Huitab({index: index});
$(".upload :file").change(function () {
if (typeof(FileReader) != "undefined") {
var dvPreview = $(this).parent().prev();
var regex = /(.jpg|.jpeg|.gif|.png|.bmp)$/;
$($(this)[0].files).each(function () {
var file = $(this);
if (regex.test(file[0].name.toLowerCase())) {
var reader = new FileReader();
reader.onload = function (e) {
var img = $("<img />");
img.attr("src", e.target.result);
dvPreview.append(img);
}
reader.readAsDataURL(file[0]);
} else {
alert(file[0].name + " is not a valid image file.");
dvPreview.html("");
return false;
}
});
} else {
alert("This browser does not support HTML5 FileReader.");
}
});
function submit() {
layer.confirm('提交成功之后, 将立即进入审批阶段', {
btn: ['确认', '取消'],
title: '提交订单'
}, function () {
layer_load('提交成功', '<?=site_url("work/recorded")?>');
});
}
</script>
</body>
</html>