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
9879dd71
authored
2018-04-01 19:00:15 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
53b54bee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
167 additions
and
1 deletions
application/controllers/Loan.php
application/views/loan/confirmprosecuted.php
application/views/loan/menu.php
application/controllers/Loan.php
View file @
9879dd7
...
...
@@ -21,6 +21,10 @@ class Loan extends CI_Controller {
{
$this
->
load
->
view
(
'loan/prosecuted'
);
}
public
function
confirmprosecuted
()
{
$this
->
load
->
view
(
'loan/confirmprosecuted'
);
}
public
function
database
()
{
...
...
application/views/loan/confirmprosecuted.php
0 → 100644
View file @
9879dd7
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<div
class=
"page-container"
>
<form
class=
""
onreset=
"resetHandler()"
id=
"prosecute"
>
<?php
$this
->
load
->
view
(
'loan/search'
);
?>
<div>
<button
class=
"btn btn-primary radius"
type=
"button"
onclick=
"$('#table').DataTable().draw()"
>
搜索
</button>
<input
class=
"btn btn-warning radius"
type=
"reset"
value=
"重置"
>
<button
class=
"btn btn-primary radius"
type=
"button"
onclick=
"layer_show('导入', '
<?=
site_url
(
'loan/import/4'
)
?>
')"
>
导入
</button>
<button
class=
"btn btn-success radius r"
type=
"button"
onclick=
"excel()"
>
导出
</button>
</div>
</form>
<div
class=
"body mt-20"
>
<table
class=
"table table-border table-bordered table-bg"
id=
"table"
url=
"/loanAfter/prosecute?prosecuteStatus=3"
>
<thead
class=
"text-c"
>
<tr>
<th
width=
"68px"
>
操作
</th>
<th>
来源
</th>
<th>
订单编号
</th>
<th>
申请金额
</th>
<th>
网点名称
</th>
<th>
客户经理
</th>
<th>
确认到账日期
</th>
<th>
当月应还
</th>
<th>
当月期数
</th>
<th>
是否逾期
</th>
<th>
逾期天数
</th>
<th>
进件时间
</th>
<th>
是否结清
</th>
<th>
身份证
</th>
<th>
罚息
</th>
<th>
放款日期
</th>
<th>
滞纳金
</th>
<th>
手机号
</th>
<th>
计划还款日期
</th>
<th>
产品名称
</th>
<th>
申请人
</th>
<th>
起诉状态
</th>
<th>
审批金额
</th>
<th>
实际还款日
</th>
<th>
还款状态
</th>
<th>
总期数
</th>
</tr>
</thead>
<tbody
class=
"text-c"
>
</tbody>
</table>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
var
table
=
$
(
'#table'
).
dataTable
({
columns
:
[
{
data
:
"id"
,
render
:
function
(
data
,
type
,
full
)
{
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">\
</ul></span>'
;
}
},
{
data
:
"source"
},
//来源
{
data
:
"orderNumber"
},
//订单编号
{
data
:
"applyAmount"
},
//订单编号
{
name
:
"branchName"
,
data
:
"branchName"
},
//网点名称
{
data
:
"clientManager"
},
//客户经理
// {data: "confirmDate"},//确认到账日期
{
data
:
function
(
data
)
{
if
(
!
data
.
confirmDate
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
confirmDate
)));
}},
//计划还款日期
{
data
:
"currentBalance"
},
//当月应还
{
data
:
"currentPeriods"
},
//当月期数
// {data: "hasDue"},//是否逾期
{
data
:
function
(
data
)
{
if
(
data
.
hasDue
==
1
){
return
'是'
;
}
else
if
(
data
.
hasDue
==
0
){
return
'否'
;
}
else
{
return
''
;
}
}},
//是否逾期
{
data
:
"dueDay"
},
//逾期天数
// {data: "enterDate"},//进件时间
{
data
:
function
(
data
)
{
if
(
!
data
.
enterDate
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
enterDate
)));
}},
//进件时间
// {data: "hasClean"},//是否结清
{
data
:
function
(
data
)
{
if
(
data
.
hasClean
==
1
){
return
'是'
;
}
else
if
(
data
.
hasClean
==
0
){
return
'否'
;
}
else
{
return
''
;
}
}},
//是否结清
{
data
:
"idNumber"
},
//身份证
{
data
:
"interestPenalty"
},
//罚息
// {data: "loanDate"},//放款日期
{
data
:
function
(
data
)
{
if
(
!
data
.
loanDate
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
loanDate
)));
}},
//放款日期
{
data
:
"overdueFine"
},
//滞纳金
{
data
:
"phoneNumber"
},
//手机号
// {data: "planRepaymentDate"},//计划还款日期
{
data
:
function
(
data
)
{
if
(
!
data
.
planRepaymentDate
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
planRepaymentDate
)));
}},
//计划还款日期
{
name
:
"productId"
,
data
:
"productName"
},
//产品名称
{
data
:
"proposerName"
},
//申请人
{
data
:
"prosecuteStatus"
},
//起诉状态
{
data
:
"ratifyAmount"
},
//审批金额
// {data: "realRepaymentDate"},//实际还款日
{
data
:
function
(
data
)
{
if
(
!
data
.
realRepaymentDate
)
return
''
;
return
getNowFormatDate
(
new
Date
(
parseInt
(
data
.
realRepaymentDate
)));
}},
//计划还款日期
// {data: "repayStatus"},//还款状态
{
data
:
function
(
data
)
{
if
(
data
.
repayStatus
==
0
){
return
'未还'
;
}
else
if
(
data
.
repayStatus
==
1
){
return
'逾期未还'
;
}
else
if
(
data
.
repayStatus
==
2
){
return
'逾期已还'
;
}
else
if
(
data
.
repayStatus
==
3
){
return
'已还'
;
}
else
{
return
''
;
}
}},
//计划还款日期
// {name: "repayStatus", data: "repayStatus"},//还款状态
{
data
:
"totalPeriods"
},
//总期数
]
});
function
reload
()
{
table
.
fnDraw
();
}
function
excel
()
{
var
data
=
$
(
'#prosecute'
).
serialize
();
}
</script>
</body>
<html>
application/views/loan/menu.php
View file @
9879dd7
...
...
@@ -4,7 +4,8 @@
<li><a
data-href=
"
<?=
site_url
(
'/loan/repayment'
)
?>
"
data-title=
"还款管理"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
还款管理
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/loan/reminder'
)
?>
"
data-title=
"催收管理"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
催收管理
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/loan/prosecute'
)
?>
"
data-title=
"起诉管理"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
起诉管理
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/loan/prosecuted'
)
?>
"
data-title=
"已起诉"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
已起诉
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/loan/prosecuted'
)
?>
"
data-title=
"已移交起诉"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
已移交起诉
</a></li>
<li><a
data-href=
"
<?=
site_url
(
'/loan/confirmprosecuted'
)
?>
"
data-title=
"已确认起诉"
href=
"javascript:void(0)"
><i
class=
"Hui-iconfont"
>

</i>
已确认起诉
</a></li>
<!-- <li><a data-href="-->
<?
//=site_url('/loan/database')?><!--" data-title="数据库" href="javascript:void(0)"><i class="Hui-iconfont"></i> 数据库</a></li>-->
</
ul
>
</
div
>
...
...
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