Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7aab96d5
authored
2018-03-24 12:43:12 +0800
by
Zelig
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://g.28ms.com:8000/yangjianbin/page
into develop
2 parents
9e8638f5
60ddfc8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
863 additions
and
209 deletions
application/controllers/User.php
application/controllers/Work.php
application/hooks/CheckLogin.php
application/views/common/top.php
application/views/common/user_menu.php
application/views/finance/chargedetail.php
application/views/tool/cal.php
application/views/tool/edit.php
application/views/user/header.php
application/views/user/index.php
application/views/user/人脉圈.php
application/views/user/基本信息.php
application/views/work/index.php
application/views/work/search2.php
application/views/work/任务管理.php
application/views/work/初审.php
application/views/work/复审.php
application/views/work/审批/基本信息.php
application/views/work/审批拒绝.php
application/views/work/客户确认.php
application/views/work/尽调管理.php
application/views/work/已取消.php
application/views/work/已流单.php
application/views/work/待初审.php
application/views/work/待复审.php
application/views/work/待审核.php
application/views/work/待客户确认.php
application/views/work/待尽调.php
application/views/work/待提交.php
application/views/work/待确认放款.php
application/views/work/待终审.php
application/views/work/待补录.php
application/views/work/放款中.php
application/views/work/申请信息/借款人信息.php
application/views/work/申请信息/其他.php
application/views/work/申请信息/单位信息.php
application/views/work/申请信息/联系人信息.php
application/views/work/申请信息/贷款事项.php
application/views/work/确认放款.php
application/views/work/等待放款.php
application/views/work/终审.php
application/views/work/订单详情.php
application/views/work/资料/资料补录.php
application/views/work/预审管理.php
application/controllers/User.php
View file @
7aab96d
...
...
@@ -11,36 +11,44 @@ class User extends CI_Controller {
$this
->
load
->
view
(
'user/index'
);
}
public
function
info
(
$state
=
null
)
public
function
info
(
$
id
,
$
state
=
null
)
{
$res
=
json_decode
(
file_get_contents
(
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'client/client/'
.
$id
));
$data
=
$res
->
data
;
$arr
=
array
(
'clientInfoOutputVO'
=>
$data
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$data
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$data
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$data
->
applyOrderVO
);
switch
(
$state
)
{
case
'1'
:
$this
->
load
->
view
(
'user/资料清单'
);
$this
->
load
->
view
(
'user/资料清单'
,
$arr
);
break
;
case
'2'
:
$this
->
load
->
view
(
'user/基本信息'
);
$this
->
load
->
view
(
'user/基本信息'
,
$arr
);
break
;
case
'3'
:
$this
->
load
->
view
(
'user/人脉圈'
);
$this
->
load
->
view
(
'user/人脉圈'
,
$arr
);
break
;
case
'4'
:
$this
->
load
->
view
(
'user/风险识别'
);
$this
->
load
->
view
(
'user/风险识别'
,
$arr
);
break
;
case
'5'
:
$this
->
load
->
view
(
'user/交易记录'
);
$this
->
load
->
view
(
'user/交易记录'
,
$arr
);
break
;
default
:
$this
->
load
->
view
(
'user/资料清单'
);
$this
->
load
->
view
(
'user/资料清单'
,
$arr
);
break
;
}
}
public
function
data
(
$format
=
'days'
)
{
$data
=
[]
;
$data
=
array
()
;
switch
(
$format
)
{
case
'days'
:
$data
[
'labels'
]
=
[
31
,
1
,
2
,
3
,
4
,
5
,
6
]
;
$data
[
'labels'
]
=
array
(
31
,
1
,
2
,
3
,
4
,
5
,
6
)
;
$data
[
'datasets'
]
=
[
[
'label'
=>
'用户量趋势图'
,
'data'
=>
[
30
,
50
,
30
,
60
,
32
,
54
,
43
]]
];
...
...
application/controllers/Work.php
View file @
7aab96d
...
...
@@ -93,26 +93,43 @@ class Work extends CI_Controller
$info
=
array
();
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/detail/'
.
$id
;
$context
=
stream_context_create
(
array
(
/*
$context = stream_context_create(array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type:application/x-www-form-urlencoded',
'content' => http_build_query($info),
'timeout' => 20
)
));
$result
=
file_get_contents
(
$url
,
false
,
$context
);
));
*/
$result
=
file_get_contents
(
$url
);
$json
=
json_decode
(
$result
);
$ret
=
$json
->
data
;
// print_r($ret);exit;
// var_dump($ret);exit;
if
(
!
$ret
->
clientUnitOutputVO
)
{
$ret
->
clientUnitOutputVO
=
array
();
}
if
(
!
$ret
->
clientContactOutputVOS
)
{
$ret
->
clientContactOutputVOS
=
array
();
}
$recordUrl
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/orderOperatorRecord/'
.
$id
;
$result2
=
file_get_contents
(
$recordUrl
);
$json2
=
json_decode
(
$result2
);
$ret2
=
$json2
->
data
;
$data
=
array
(
'detail'
=>
$ret
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$ret
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$ret
->
applyOrderVO
,
'operatorRecord'
=>
$ret2
);
$this
->
load
->
view
(
'work/订单详情'
,
$data
);
}
/**
*
订单详情
*
资料补录
*/
public
function
record
(
$id
=
null
)
{
...
...
application/hooks/CheckLogin.php
View file @
7aab96d
...
...
@@ -36,7 +36,7 @@ class CheckLogin
$session
->
repaymentPlans
=
$this
->
getRepaymentPlans
();
}
if
(
!
$session
->
repaymentPlanSource
)
{
if
(
!
$session
->
repaymentPlanSource
)
{
$session
->
repaymentPlanSource
=
$this
->
getRepaymentPlanSource
();
}
...
...
@@ -44,7 +44,41 @@ class CheckLogin
$session
->
allRole
=
$this
->
getAllRole
();
}
if
(
!
$session
->
relationEnum
)
{
$session
->
relationEnum
=
$this
->
getRelationEnum
();
}
if
(
!
$session
->
contactTypeEnum
)
{
$session
->
contactTypeEnum
=
$this
->
getContactTypeEnum
();
}
if
(
!
$session
->
dwellEnum
)
{
$session
->
dwellEnum
=
$this
->
getDwellEnum
();
}
if
(
!
$session
->
educationEnum
)
{
$session
->
educationEnum
=
$this
->
getEducationEnum
();
}
if
(
!
$session
->
jobTypeEnum
)
{
$session
->
jobTypeEnum
=
$this
->
getJobTypeEnum
();
}
if
(
!
$session
->
marryEnum
)
{
$session
->
marryEnum
=
$this
->
getMarryEnum
();
}
if
(
!
$session
->
unitEnum
)
{
$session
->
unitEnum
=
$this
->
getUnitEnum
();
}
if
(
!
$session
->
wagePaymentFormEnum
)
{
$session
->
wagePaymentFormEnum
=
$this
->
getWagePaymentFormEnum
();
}
if
(
!
$session
->
genderEnum
)
{
$session
->
genderEnum
=
$this
->
getGenderEnum
();
}
/*if (preg_match("/admin|base/i", uri_string())) {
if(!$this->CI->session->isadmin){
redirect('login');
...
...
@@ -124,7 +158,8 @@ class CheckLogin
}
}
private
function
getRepaymentPlans
(){
private
function
getRepaymentPlans
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'enum/repaymentPlan/status'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
...
...
@@ -135,7 +170,8 @@ class CheckLogin
}
}
private
function
getRepaymentPlanSource
(){
private
function
getRepaymentPlanSource
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'enum/repaymentPlan/source'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
...
...
@@ -158,4 +194,112 @@ class CheckLogin
}
}
private
function
getRelationEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/contact/relation'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getContactTypeEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/contact/type'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getDwellEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/dwell'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getEducationEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/education'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getJobTypeEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/jobType'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getMarryEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/marry'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getUnitEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/unit'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getWagePaymentFormEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/wagePaymentForm'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
private
function
getGenderEnum
()
{
try
{
$url
=
$this
->
CI
->
config
->
item
(
'apiBaseUrl'
)
.
'client/enum/gender'
;
$res
=
json_decode
(
file_get_contents
(
$url
));
$products
=
$res
->
data
;
return
$products
;
}
catch
(
Exception
$e
)
{
return
array
();
}
}
}
\ No newline at end of file
...
...
application/views/common/top.php
View file @
7aab96d
<header
class=
"navbar-wrapper"
>
<div
class=
"navbar navbar-fixed-top"
>
<div
class=
"container-fluid cl"
>
<a
class=
"logo navbar-logo f-l mr-10 hidden-xs"
href=
"/"
>
xxx
管理平台
</a>
<div
class=
"container-fluid cl"
>
<a
class=
"logo navbar-logo f-l mr-10 hidden-xs"
href=
"/"
>
管理平台
</a>
<a
class=
"logo navbar-logo-m f-l mr-10 visible-xs"
href=
"/"
>
H-ui
</a>
<span
class=
"logo navbar-slogan f-l mr-10 hidden-xs"
></span>
<a
aria-hidden=
"false"
class=
"nav-toggle Hui-iconfont visible-xs"
href=
"javascript:;"
>

</a>
...
...
@@ -10,7 +10,7 @@
<a
href=
"
<?=
site_url
(
'welcome/work'
)
?>
"
>
工作台
</a>
</li>
<li
class=
"dropDown dropDown_hover"
>
<a
href=
"
<?=
site_url
(
'welcome/user'
)
?>
"
>
用
户管理
</a>
<a
href=
"
<?=
site_url
(
'welcome/user'
)
?>
"
>
客
户管理
</a>
</li>
<li
class=
"dropDown dropDown_hover"
>
<a
href=
"
<?=
site_url
(
'welcome/loan'
)
?>
"
>
货后管理
</a>
...
...
application/views/common/user_menu.php
View file @
7aab96d
<aside
class=
"Hui-aside"
>
<div
class=
"menu_dropdown bk_2"
>
<ul>
<li><a
data-href=
"
<?=
site_url
(
'/user/index'
)
?>
"
data-title=
"
用户管理"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
用
户管理
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/user/index'
)
?>
"
data-title=
"
客户管理"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
客
户管理
</a></li>
</ul>
</div>
</aside>
...
...
application/views/finance/chargedetail.php
View file @
7aab96d
...
...
@@ -28,20 +28,6 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
...
...
@@ -58,7 +44,7 @@
iDisplayLength
:
6
,
bLengthChange
:
false
,
ajax
:
{
url
:
apiBaseUrl
+
'
/order/into/getAllApplyOrder
'
,
url
:
apiBaseUrl
+
'
manage/financial/repayments/alreadyPay
'
,
dataFilter
:
function
(
json
)
{
var
ret
=
{},
json
=
jQuery
.
parseJSON
(
json
);
ret
.
data
=
json
.
data
;
...
...
@@ -66,9 +52,12 @@
if
(
draw
)
{
ret
.
draw
=
draw
;
}
// ret.draw = parseInt(json.page.currentPage);
ret
.
recordsTotal
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsFiltered
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsTotal
=
0
;
ret
.
recordsFiltered
=
0
;
if
(
json
.
page
)
{
ret
.
recordsTotal
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsFiltered
=
parseInt
(
json
.
page
.
totalNumber
);
}
return
JSON
.
stringify
(
ret
);
},
data
:
function
(
data
)
{
...
...
@@ -78,18 +67,18 @@
}
},
columns
:
[
{
data
:
"order
Id
"
},
//订单编号
{
data
:
"
createUser
"
},
//申请人
{
data
:
"id
Card
"
},
//身份证
{
data
:
"order
Number
"
},
//订单编号
{
data
:
"
proposerName
"
},
//申请人
{
data
:
"id
Number
"
},
//身份证
{
data
:
"phoneNumber"
},
//手机号
{
data
:
"
createTim
e"
},
//进件时间
{
data
:
"
createTi
me"
},
//网点
{
data
:
"
createTi
me"
},
//产品名称
{
data
:
"
createTime
"
},
//申请金额
{
data
:
"
createTime
"
},
//审批金额
{
data
:
"c
reateTime
"
},
//客户经理
{
data
:
"
createTime
"
},
//期数
{
data
:
"c
reateTime"
},
//当月应还
{
data
:
"
enterDat
e"
},
//进件时间
{
data
:
"
branchNa
me"
},
//网点
{
data
:
"
productNa
me"
},
//产品名称
{
data
:
"
applyAmount
"
},
//申请金额
{
data
:
"
ratifyAmount
"
},
//审批金额
{
data
:
"c
lientManager
"
},
//客户经理
{
data
:
"
totalPeriods
"
},
//期数
{
data
:
"c
urrentBalance"
}
//当月应还
]
});
...
...
application/views/tool/cal.php
View file @
7aab96d
...
...
@@ -12,14 +12,14 @@
</span>
</div>
<form>
<form
id=
"form"
>
<div
class=
"panel panel-default"
>
<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"
id=
"product
"
>
<select
class=
"select"
size=
"1"
name=
"productId
"
>
<?php
foreach
(
$this
->
session
->
products
as
$k
=>
$v
)
:?>
<
option
data
-
repaymentMode
=
"<?=
$v->repaymentMode
?>"
data
-
loanDeadline
=
"<?=
$v->loanDeadline
?>"
value
=
"<?=
$v->id
?>"
><?=
$v
->
productName
?>
</option>
<?php
endforeach
;
?>
...
...
@@ -28,7 +28,7 @@
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
借款金额
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
name=
"borrowAmount"
type=
"text"
class=
"form-control input-text"
value=
""
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
...
...
@@ -49,12 +49,12 @@
<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=
""
disabled
>
<input
type=
"text"
id=
"totalAmount"
class=
"form-control input-text"
value=
""
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
总共应还
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
disabled
>
<input
type=
"text"
id=
"totalRepay"
class=
"form-control input-text"
value=
""
disabled
>
<span
class=
"glyphicon form-control-feedback"
>
元
</span>
</div>
</div>
...
...
@@ -63,7 +63,7 @@
<div
class=
"row cl pb-20 col-sm-12"
>
<div
class=
"col-sm-offset-4 col-sm-2"
>
<
input
class=
"btn btn-primary btn-block"
value=
"计算"
type=
"button"
>
<
button
class=
"btn btn-primary btn-block"
>
计算
</button
>
</div>
<div
class=
"col-sm-2"
>
<input
class=
"btn btn-warning btn-block"
value=
"重置"
type=
"reset"
>
...
...
@@ -79,6 +79,33 @@
$
(
'#repaymentMode'
).
val
(
data
.
repaymentmode
);
$
(
'#loanDeadline'
).
val
(
data
.
loandeadline
);
})
$
(
'#form'
).
submit
(
function
(
e
)
{
e
.
stopPropagation
();
e
.
preventDefault
();
var
borrowAmount
=
$
(
'[name=borrowAmount]'
).
val
();
var
productId
=
$
(
'[name=productId]'
).
val
();
var
str
=
'borrowAmount='
+
borrowAmount
+
'&productId='
+
productId
;
$
.
ajax
({
type
:
'get'
,
url
:
apiBaseUrl
+
'application/tool/interest?'
+
str
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
){
if
(
data
.
code
!=
0
){
var
msg
=
data
.
msg
?
data
.
msg
:
'请求失败'
;
layer
.
alert
(
msg
);
}
else
{
$
(
'#totalRepay'
).
val
(
data
.
data
.
totalRepay
);
$
(
'#totalAmount'
).
val
(
data
.
data
.
repayPlans
[
0
].
totalAmount
);
}
},
error
:
function
(){
layer
.
alert
(
"请求失败"
)
}
})
})
</script>
</body>
<html>
...
...
application/views/tool/edit.php
View file @
7aab96d
...
...
@@ -68,7 +68,7 @@
} else {
layer.alert('请求成功');
setTimeout(function () {
layer_
close
(
);
layer_
load('应用工具', '
<?=
site_url
(
'tool/web'
);
?>
'
);
},
500
);
}
...
...
application/views/user/header.php
View file @
7aab96d
<div
class=
"cl pd-5 bg-1"
>
<
!--<
div class="cl pd-5 bg-1">
<span class="l">
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?
=
site_url
(
'/user/info/1'
);
?>
', '资料清单');"
>
<button class="btn btn-primary radius" onclick="loadIframe('
<?
/*=site_url('/user/info/1');*/
?>
', '资料清单');">
<i class="Hui-iconfont"></i> 资料清单
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?
=
site_url
(
'/user/info/2'
);
?>
', '基本信息');"
>
<button class="btn btn-primary radius" onclick="loadIframe('
<?
/*=site_url('/user/info/2');*/
?>
', '基本信息');">
<i class="Hui-iconfont"></i> 基本信息
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?
=
site_url
(
'/user/info/3'
);
?>
', '人脉圈');"
>
<button class="btn btn-primary radius" onclick="loadIframe('
<?
/*=site_url('/user/info/3');*/
?>
', '人脉圈');">
<i class="Hui-iconfont"></i> 人脉圈
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?
=
site_url
(
'/user/info/4'
);
?>
', '风险识别');"
>
<button class="btn btn-primary radius" onclick="loadIframe('
<?
/*=site_url('/user/info/4');*/
?>
', '风险识别');">
<i class="Hui-iconfont"></i> 风险识别
</button>
<button
class=
"btn btn-primary radius"
onclick=
"loadIframe('
<?
=
site_url
(
'/user/info/5'
);
?>
', '交易记录');"
>
<button class="btn btn-primary radius" onclick="loadIframe('
<?
/*=site_url('/user/info/5');*/
?>
', '交易记录');">
<i class="Hui-iconfont"></i> 交易记录
</button>
</span>
</div>
</div>
-->
<div
class=
"cl pd-5"
>
<table
class=
"table table-border table-bg"
>
...
...
application/views/user/index.php
View file @
7aab96d
...
...
@@ -2,11 +2,17 @@
<body>
<div
class=
"page-container"
>
<form
class=
""
onreset=
"resetHandler()"
>
<?php
$this
->
load
->
view
(
'work/search'
);
?>
<div>
<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"
>
<thead
class=
"text-c"
>
<tr>
<th
width=
"68px"
>
操作
</th
>
<!-- <th width="68px">操作</th>--
>
<th>
客户编号
</th>
<th>
姓名
</th>
<th>
身份证
</th>
...
...
@@ -15,46 +21,97 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<tr>
<td>
<span
class=
"dropDown dropDown_hover"
>
<button
class=
"btn radius size-M"
>
请选择
<i
class=
"Hui-iconfont"
>

</i></button>
<ul
class=
"dropDown-menu menu radius box-shadow"
>
<li><a
href=
"javascript:;"
onclick=
"creatIframe('
<?=
site_url
(
'/user/info'
)
?>
', '查看详细')"
>
查看详细
</a></li>
</ul>
</span>
</td>
<td>
1001
</td>
<td>
张三
</td>
<td>
333333333333333333
</td>
<td>
13333333333
</td>
<td>
2018-01-01 00:00:00
</td>
</tr>
<tr>
<td>
<span
class=
"dropDown dropDown_hover"
>
<button
class=
"btn radius size-M"
>
请选择
<i
class=
"Hui-iconfont"
>

</i></button>
<ul
class=
"dropDown-menu menu radius box-shadow"
>
<li><a
href=
"javascript:;"
onclick=
"creatIframe('
<?=
site_url
(
'/user/info'
)
?>
', '查看详细')"
>
查看详细
</a></li>
</ul>
</span>
</td>
<td>
1002
</td>
<td>
张三
</td>
<td>
333333333333333333
</td>
<td>
13333333333
</td>
<td>
2018-01-01 00:00:00
</td>
</tr>
</tbody>
</table>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
var
table
=
$
(
'#table'
).
dataTable
({
aaSorting
:
[[
1
,
"desc"
]]
});
var
table
=
$
(
'#table'
).
dataTable
({
aaSorting
:
[[
1
,
"desc"
]],
serverSide
:
true
,
processing
:
true
,
bSort
:
false
,
searching
:
false
,
//是否显示搜索
iDisplayLength
:
6
,
bLengthChange
:
false
,
ajax
:
{
url
:
apiBaseUrl
+
'/client/clients'
,
dataFilter
:
function
(
json
)
{
var
ret
=
{},
json
=
jQuery
.
parseJSON
(
json
);
ret
.
data
=
json
.
data
||
[];
var
draw
=
getUrlParam
(
'draw'
);
if
(
draw
)
{
ret
.
draw
=
draw
;
}
ret
.
recordsTotal
=
0
;
ret
.
recordsFiltered
=
0
;
if
(
json
.
page
)
{
ret
.
recordsTotal
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsFiltered
=
parseInt
(
json
.
page
.
totalNumber
);
}
return
JSON
.
stringify
(
ret
);
},
data
:
function
(
data
)
{
data
.
pageSize
=
data
.
length
;
data
.
currentPage
=
parseFloat
(
data
.
start
/
data
.
length
)
+
1
;
return
data
;
}
},
columns
:
[
/*{
data: "id", render: function (data, type, full) {
var url = "< ?=site_url('/user/info')?>";
url += '/' + data;
return '<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="creatIframe(\''+url+'\', \'查看详细\')">查看详细</a></li>\
</ul></span>';
}
},*/
{
data
:
"id"
},
//客户编号
{
data
:
"userName"
},
//姓名
{
data
:
"idCard"
},
//身份证
{
data
:
"phoneNumber"
},
//手机号
{
data
:
"createTime"
}
//录入时间
]
});
$
.
fn
.
dataTableExt
.
afnFiltering
.
push
(
function
(
oSettings
,
aData
,
iDataIndex
)
{
var
min
=
document
.
getElementById
(
'min'
).
value
;
var
max
=
document
.
getElementById
(
'max'
).
value
;
var
iDateCol
=
12
;
var
dateMin
=
new
Date
(
aData
[
iDateCol
]);
var
dateMax
=
new
Date
(
aData
[
iDateCol
]);
if
(
min
===
''
&&
max
===
''
)
return
true
;
else
if
(
new
Date
(
min
).
getTime
()
<=
dateMin
.
getTime
()
&&
max
===
''
)
return
true
;
else
if
(
new
Date
(
min
).
getTime
()
<=
dateMin
.
getTime
()
&&
new
Date
(
max
).
getTime
()
>=
dateMax
.
getTime
())
return
true
;
return
false
;
}
);
$
(
'.table_search'
).
on
(
'change'
,
function
()
{
search
=
$
(
this
).
val
();
column
=
$
(
this
).
attr
(
'column'
);
$
(
'#table'
).
DataTable
().
column
(
column
).
search
(
search
).
draw
();
});
$
(
'#min, #max'
).
on
(
'keyup'
,
function
()
{
$
(
'#table'
).
DataTable
().
draw
();
});
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
</script>
</body>
<html>
...
...
application/views/user/人脉圈.php
View file @
7aab96d
...
...
@@ -6,5 +6,5 @@
<?php
$this
->
load
->
view
(
'work/申请信息/联系人信息'
);
?>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<body>
<
/
body>
</html>
...
...
application/views/user/基本信息.php
View file @
7aab96d
...
...
@@ -7,5 +7,5 @@
<?php
$this
->
load
->
view
(
'work/申请信息/单位信息'
);
?>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<body>
<
/
body>
</html>
...
...
application/views/work/index.php
View file @
7aab96d
...
...
@@ -50,7 +50,7 @@
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -69,6 +69,41 @@
{
name
:
"modifyUser"
,
data
:
"modifyUserName"
},
//处理人
]
});
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/search2.php
View file @
7aab96d
...
...
@@ -7,8 +7,8 @@
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
还款状态
</option>
<?php
foreach
(
$this
->
session
->
repay
Statu
s
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$
v->id
?>"
><?=
$v
->
name
?>
</option>
<?php
foreach
(
$this
->
session
->
repay
mentPlan
s
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$
k
?>"
><?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
...
...
@@ -27,8 +27,8 @@
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
是否逾期
</option>
<option>
是
</option>
<option>
否
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</span>
</div>
...
...
@@ -36,8 +36,8 @@
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
来源
</option>
<?php
foreach
(
$this
->
session
->
s
ource
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$
v->id
?>"
><?=
$v
->
name
?>
</option>
<?php
foreach
(
$this
->
session
->
repaymentPlanS
ource
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$
k
?>"
><?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
...
...
application/views/work/任务管理.php
View file @
7aab96d
...
...
@@ -149,7 +149,7 @@
<li><a href="javascript:get('
+
data
+
');">获取</a></li>\
<li><a href="javascript:appoint('
+
data
+
');">派单</a></li>\
<li><a href="#">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/
1
?tab=2\')">处理记录</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/index.php/work/detail/
'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
application/views/work/初审.php
View file @
7aab96d
...
...
@@ -88,7 +88,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/work/check/1?tab=0\', \'审批订单\')">马上审批</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
...
...
@@ -102,8 +102,8 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
@@ -168,6 +168,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/复审.php
View file @
7aab96d
...
...
@@ -89,7 +89,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/work/check/1?tab=0\', \'审批订单\')">马上审批</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
...
...
@@ -103,8 +103,8 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
@@ -170,6 +170,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/审批/基本信息.php
View file @
7aab96d
...
...
@@ -7,5 +7,5 @@
<?php
$this
->
load
->
view
(
'work/申请信息/单位信息'
);
?>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<body>
<
/
body>
</html>
...
...
application/views/work/审批拒绝.php
View file @
7aab96d
...
...
@@ -78,9 +78,9 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -133,6 +133,40 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/客户确认.php
View file @
7aab96d
...
...
@@ -109,10 +109,10 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/work/verify\', \'客户确认\')">客户确认</a></li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
@@ -177,6 +177,40 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/尽调管理.php
View file @
7aab96d
...
...
@@ -82,8 +82,8 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'资料补录\', \'/work/record\')">马上尽调</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'资料补录\', \'/
index.php/
work/record\')">马上尽调</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
<ul class="menu">\
...
...
@@ -96,8 +96,8 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
@@ -163,6 +163,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/已取消.php
View file @
7aab96d
...
...
@@ -78,9 +78,9 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -133,6 +133,40 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/已流单.php
View file @
7aab96d
...
...
@@ -79,8 +79,8 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -133,6 +133,40 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/待初审.php
View file @
7aab96d
...
...
@@ -93,9 +93,9 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -148,6 +148,40 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/待复审.php
View file @
7aab96d
...
...
@@ -84,8 +84,8 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="#">客户取消</a></li>\
</ul></span>'
;
}
...
...
application/views/work/待审核.php
View file @
7aab96d
...
...
@@ -159,9 +159,9 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -214,6 +214,40 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/待客户确认.php
View file @
7aab96d
...
...
@@ -83,9 +83,9 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
#
">客户取消</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
</ul></span>'
;
}
},
...
...
@@ -150,6 +150,40 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/待尽调.php
View file @
7aab96d
...
...
@@ -83,8 +83,8 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="#">客户取消</a></li>\
</ul></span>'
;
}
...
...
application/views/work/待提交.php
View file @
7aab96d
...
...
@@ -95,7 +95,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="#">客户取消</a></li>\
</ul></span>'
;
}
...
...
application/views/work/待确认放款.php
View file @
7aab96d
...
...
@@ -84,8 +84,8 @@
return
'<span class="dropDown dropDown_hover">\n'
+
' <button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\n'
+
' <ul class="dropDown-menu menu radius box-shadow">\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/1?tab=0\')">查看详细</a></li>\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'审批订单\', \'/work/check/1?tab=0\')">马上审批</a></li>\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/1?tab=0\')">查看详细</a></li>\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'审批订单\', \'/
index.php/
work/check/1?tab=0\')">马上审批</a></li>\n'
+
' <li>\n'
+
' <a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\n'
+
' <ul class="menu">\n'
+
...
...
@@ -99,7 +99,7 @@
' </ul>\n'
+
' </li>\n'
+
' <li><a href="#">客户取消</a></li>\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\n'
+
' <li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\n'
+
' </ul>\n'
+
' </span>'
;
}
...
...
application/views/work/待终审.php
View file @
7aab96d
...
...
@@ -83,8 +83,8 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="#">客户取消</a></li>\
</ul></span>'
;
}
...
...
application/views/work/待补录.php
View file @
7aab96d
...
...
@@ -76,8 +76,8 @@
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<ul class="dropDown-menu menu radius box-shadow"><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/'
+
data
+
'?tab=2\')">处理记录</a></li>\
<li><a href="#">客户取消</a></li>\
</ul></span>'
;
}
...
...
application/views/work/放款中.php
View file @
7aab96d
...
...
@@ -84,14 +84,14 @@
return
'<span class="dropDown dropDown_hover"> \
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button> \
<ul class="dropDown-menu menu radius box-shadow"> \
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/1?tab=0\')">查看详细</a></li> \
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/1?tab=0\')">查看详细</a></li> \
<li><a href="javascript:;" onclick="creatIframe(\'/work/move\', \'移交资料\')">移交资料</a></li> \
<li> <a href="#">退回订单<i class="arrow Hui-iconfont"></i></a> \
<ul class="menu"> <li><a href="#">退至【资料补录】阶段</a></li> \
<li><a href="#">退至【审批-初审】阶段</a></li> <li><a href="#">退至【审批-复审】阶段</a></li>\
<li><a href="#">退至【审批-终审】阶段</a></li> <li><a href="#">退至【尽调】阶段</a></li> \
<li><a href="#">退至【客户确认】阶段</a></li> <li><a href="#">退至【等待放款-移交】阶段</a></li> </ul> \
</li> <li><a href="#">客户取消</a></li><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li> \
</li> <li><a href="#">客户取消</a></li><li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li> \
</ul> </span>'
;
}
},
...
...
application/views/work/申请信息/借款人信息.php
View file @
7aab96d
...
...
@@ -4,14 +4,13 @@
<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=
"
张三
"
>
<input
type=
"text"
class=
"form-control input-text"
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"
>
<option
value=
"1"
>
男
</option>
<option
value=
"2"
>
女
</option>
<option>
<?=
$clientInfoOutputVO
->
gender
?>
</option>
</select>
</span>
</div>
...
...
@@ -19,14 +18,13 @@
<label>
婚姻
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
>
<option
value=
"1"
>
已婚
</option>
<option
value=
"2"
>
未婚
</option>
<option>
<?=
$clientInfoOutputVO
->
marriageState
?>
</option>
</select>
</span>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
出生日期
</label>
<input
type=
"text"
class=
"form-control input-text Wdate"
value=
"
2018-01-01
"
>
<input
type=
"text"
class=
"form-control input-text Wdate"
value=
"
<?=
$clientInfoOutputVO
->
birthDate
?>
"
>
</div>
</div>
...
...
@@ -35,30 +33,27 @@
<label>
教育程度
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
>
<option
value=
"1"
>
初中
</option>
<option
value=
"1"
>
高中
</option>
<option
value=
"2"
>
大学
</option>
<option>
<?=
$clientInfoOutputVO
->
educationDegree
?>
</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=
"
<?=
$
detail
->
clientInfoOutputVO
?
$detail
->
clientInfoOutputVO
->
idCard
:
''
?>
"
>
<input
type=
"text"
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"
class=
"form-control input-text"
value=
"
100w
"
>
<input
type=
"text"
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"
>
<option
value=
"1"
>
无
</option>
<option
value=
"2"
>
有
</option>
<option>
<?=
$clientInfoOutputVO
->
localHouse
?
'有'
:
'无'
?>
</option>
</select>
</span>
</div>
...
...
@@ -69,7 +64,11 @@
<label>
居住情况
</label>
<div
class=
"info"
>
<div
class=
"live-info"
>
<input
type=
"checkbox"
name=
""
checked
>
<input
type=
"checkbox"
checked
name=
""
>
<span>
<?=
$clientInfoOutputVO
->
dwellDetail
?>
</span>
</div>
<!--<div class="live-info">
<input type="checkbox" name="" checked>
<span>自建</span>
<input type="text" class="input-decoration w-50 text-c" value="5"> 层
</div>
...
...
@@ -94,7 +93,7 @@
<div class="live-info">
<input type="checkbox" name="">
<span>单位住房</span>
</div>
</div>
-->
</div>
</div>
</div>
...
...
@@ -102,13 +101,13 @@
<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=
"
13333333333
"
>
<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>
<option
>
<?=
$clientInfoOutputVO
->
registerProvince
?>
</option>
</select>
</span>
</div>
...
...
@@ -117,14 +116,14 @@
<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=
""
>
<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=
""
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientInfoOutputVO
->
currentAddress
?>
"
>
</div>
</div>
</div>
...
...
application/views/work/申请信息/其他.php
View file @
7aab96d
...
...
@@ -6,7 +6,7 @@
<label>
贷款品种/代码
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
disabled
>
<option
value=
"1"
></option>
<option
value=
"1"
>
<
?=
$applyOrderVO
->
productId
?>
<
/option>
</select>
</span>
</div>
...
...
@@ -14,7 +14,7 @@
<label>
贷款用途性质
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
disabled
>
<option
value=
"1"
></option>
<option
value=
"1"
>
<
?=
$applyOrderVO
->
useNature
?>
<
/option>
</select>
</span>
</div>
...
...
application/views/work/申请信息/单位信息.php
View file @
7aab96d
...
...
@@ -4,54 +4,53 @@
<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
"
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
unitName
:
''
?>
"
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
部门
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
"
XXX
"
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$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"
>
<option
value=
"1"
>
事业单位
</option>
<option
value=
"2"
>
个体户
</option>
<option>
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
unitNature
:
''
?>
</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
"
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$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=
"
2018-01-01
"
>
<input
type=
"text"
class=
"form-control input-text Wdate"
value=
"
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
currentUnitEntryDate
:
''
?>
"
>
</div>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
现单位工作年限
</label>
<input
type=
"text"
class=
"form-control input-text"
value=
""
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$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=
""
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$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=
"
10w
"
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$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"
>
<option
value=
"1"
>
支付宝
</option>
<option
value=
"1"
>
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
salaryGrantForm
:
''
?>
</option>
</select>
</span>
</div>
...
...
@@ -60,7 +59,7 @@
<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=
""
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$clientUnitOutputVO
?
$clientUnitOutputVO
->
currentUnitAddress
:
''
?>
"
>
</div>
</div>
</div>
...
...
application/views/work/申请信息/联系人信息.php
View file @
7aab96d
<div
class=
"panel panel-default mb-20"
>
<div
class=
"panel-header"
>
联系人信息 (不承担贷款相关责任)
</div>
<div
class=
"panel-body"
>
<?php
foreach
(
$clientContactOutputVOS
as
$k
=>
$v
)
:?>
<
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
"
>
<input type="
text
" class="
form
-
control
input
-
text
" value="
<?=
$v
->
contactName
?>
">
</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>
<option
value=
"1"
>
<
?=
$v
->
contactRelation
?>
<
/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
"
>
<input
type=
"text"
class=
"form-control input-text"
value=
"
<?=
$v
->
contactPhone
?>
"
>
</div>
</div>
<?php
endforeach
;
?>
<div
class=
"row cl"
>
<
!--<
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">
...
...
@@ -56,6 +58,6 @@
<label>手机号</label>
<input type="text" class="form-control input-text" value="XXX">
</div>
</div>
</div>
-->
</div>
</div>
\ No newline at end of file
...
...
application/views/work/申请信息/贷款事项.php
View file @
7aab96d
...
...
@@ -4,14 +4,14 @@
<div
class=
"row cl"
>
<div
class=
"form-group col-sm-3 col-md-2"
>
<label>
申请金额
</label>
<input
type=
"text"
class=
"form-control input-text"
readonly
value=
"
XXX
"
>
<input
type=
"text"
class=
"form-control input-text"
readonly
value=
"
<?=
$applyOrderVO
->
applyMoney
?>
"
>
<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"
disabled
>
<option
value=
"1"
></option>
<option
>
<?=
$applyOrderVO
->
deadline
?
>
</option>
</select>
</span>
</div>
...
...
@@ -19,7 +19,7 @@
<label>
还款方式
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
disabled
>
<option
value=
"1"
></option>
<option
>
<?=
$applyOrderVO
->
payBackType
?
>
</option>
</select>
</span>
</div>
...
...
@@ -27,7 +27,7 @@
<label>
贷款用途
</label>
<span
class=
"form-control select-box"
>
<select
class=
"select"
size=
"1"
disabled
>
<option
value=
"1"
></option>
<option
>
<?=
$applyOrderVO
->
use
?
>
</option>
</select>
</span>
</div>
...
...
application/views/work/确认放款.php
View file @
7aab96d
...
...
@@ -83,7 +83,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.pbp/
work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="loan(1)">线下已放款</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
...
...
@@ -97,8 +97,8 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
application/views/work/等待放款.php
View file @
7aab96d
...
...
@@ -82,7 +82,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/
work/detail/1?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/work/move\', \'移交资料\')">移交资料</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
...
...
@@ -97,7 +97,7 @@
</ul>\
</li>\
<li><a href="#">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
application/views/work/终审.php
View file @
7aab96d
...
...
@@ -89,7 +89,7 @@
return
'<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=0\')">查看详细</a></li>\
<li><a href="javascript:;" onclick="creatIframe(\'/work/check/1?tab=0\', \'审批订单\')">马上审批</a></li>\
<li>\
<a href="#">退回订单<i class="arrow Hui-iconfont"></i></a>\
...
...
@@ -103,8 +103,8 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>\
</ul>\
</li>\
<li><a href="
#
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
work/detail/1
?tab=2\')">处理记录</a></li>\
<li><a href="
javascript:;" onclick="cancel('
+
data
+
')
">客户取消</a></li>\
<li><a href="javascript:;" onclick="layer_show(\'订单详情\', \'/
index.php/work/detail/'
+
data
+
'
?tab=2\')">处理记录</a></li>\
</ul>\
</span>'
;
}
...
...
@@ -170,6 +170,41 @@
layer
.
msg
(
'通过'
);
});
}
function
cancel
(
id
)
{
layer
.
confirm
(
'确定取消?'
,
{
btn
:
[
'是'
,
'否'
],
title
:
'确认'
,
icon
:
3
},
function
(){
var
targetUrl
=
'flow/cancelOrder/'
+
id
;
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
layer
.
alert
(
'请求失败'
);
}
else
{
layer
.
alert
(
'请求成功'
);
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
table
.
fnDraw
();
layer_close
();
}
},
500
);
},
error
:
function
()
{
layer
.
alert
(
"请求失败"
)
}
})
});
}
</script>
</body>
<html>
...
...
application/views/work/订单详情.php
View file @
7aab96d
...
...
@@ -33,18 +33,17 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<?php
foreach
(
$operatorRecord
as
$k
=>
$v
)
:?>
<
tr
>
<td>
2018-01-01 00:00:00
</td>
<td>
门店人员 - 李四
</td>
<td
class=
"c-primary"
>
发起进件
</td>
<td
class=
"c-success"
>
发起成功
</td>
<
td
colspan
=
"4"
><?=
$v
?
$v
->
description
:
''
?>
</td>
</tr>
<tr>
<?php
endforeach
;
?>
<!--<tr>
<td>2018-01-01 00:00:00</td>
<td>门店人员 - 李四</td>
<td class="c-primary">审查</td>
<td class="c-warning">不通过</td>
</tr>
</tr>
-->
</tbody>
</table>
</div>
...
...
application/views/work/资料/资料补录.php
View file @
7aab96d
This diff is collapsed.
Click to expand it.
application/views/work/预审管理.php
View file @
7aab96d
...
...
@@ -75,7 +75,7 @@
},
columns
:
[
{
//
data: "id",
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
return
'<input value="'
+
data
+
'" type="checkbox">'
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment