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
68bccbf9
authored
2018-04-01 17:28:43 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
7ff38f35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
2 deletions
application/controllers/Finance.php
application/controllers/Loan.php
application/views/finance/checkTheAccount.php
application/controllers/Finance.php
View file @
68bccbf
...
...
@@ -13,7 +13,12 @@ class Finance extends CI_Controller {
public
function
checkTheAccount
()
{
$this
->
load
->
view
(
'finance/checkTheAccount'
);
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'/manage/financial/repayments/nonePay/params'
;
$result
=
file_get_contents
(
$url
);
$ret
=
json_decode
(
$result
);
// $ret = $json->data;
$this
->
load
->
view
(
'finance/checkTheAccount'
,
$ret
);
}
public
function
makeLoan
()
...
...
application/controllers/Loan.php
View file @
68bccbf
...
...
@@ -45,6 +45,7 @@ class Loan extends CI_Controller {
$this
->
load
->
driver
(
'enum'
);
$this
->
load
->
driver
(
'configure'
);
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'loanAfter/repaymentPlan/'
.
$id
;
$result
=
file_get_contents
(
$url
);
$json
=
json_decode
(
$result
);
...
...
application/views/finance/checkTheAccount.php
View file @
68bccbf
...
...
@@ -3,7 +3,78 @@
<body>
<div
class=
"page-container"
>
<form
class=
""
onreset=
"resetHandler()"
>
<?php
$this
->
load
->
view
(
'work/search2'
);
?>
<?php
//$this->load->view('work/search2'); ?>
<
div
class
="
col
-
xs
-
2
">
<span class="
select
-
box
">
<select class="
select
table_search
" size="
1
">
<option value="" selected>时间类型</option>
<?php foreach (
$ret->data
as
$k
=>
$v
):?>
<option value="
<?=
$k
?>
">
<?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
</div>
<div
class=
"date mb-20"
>
<input
type=
"text"
onfocus=
"WdatePicker({ maxDate:'#F{$dp.$D(\'max\')||\'%y-%M-%d\'}'})"
id=
"min"
class=
"input-text Wdate"
>
-
<input
type=
"text"
onfocus=
"WdatePicker({ minDate:'#F{$dp.$D(\'min\')}',maxDate:'%y-%M-%d'})"
id=
"max"
class=
"input-text Wdate"
>
</div>
<div
class=
"row cl mb-20"
>
<div
class=
"col-xs-2"
>
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
还款状态
</option>
<?php
foreach
(
$this
->
session
->
repaymentPlans
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$k
?>"
><?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
</div>
<div
class=
"col-xs-2"
>
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
column=
"6"
>
<option
value=
""
selected
>
网点
</option>
<?php
foreach
(
$this
->
session
->
departments
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$v->id
?>"
><?=
$v
->
name
?>
</option>
<?php
if
(
$v
->
children
&&
!
empty
(
$v
->
children
))
:?>
<?
php
foreach
(
$v
->
children
as
$kk
=>
$vv
)
:?>
<
option
value
=
"<?=
$vv->id
?>"
><?=
$vv
->
name
?>
</option>
<?php
endforeach
;
?>
<?php
endif
;
?>
<?php
endforeach
;
?>
</select>
</span>
</div>
<div
class=
"col-xs-2"
>
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
是否逾期
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</span>
</div>
<div
class=
"col-xs-2"
>
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
>
<option
value=
""
selected
>
来源
</option>
<?php
foreach
(
$this
->
session
->
repaymentPlanSource
as
$k
=>
$v
)
:?>
<
option
value
=
"<?=
$k
?>"
><?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
</span>
</div>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
value=
""
placeholder=
"姓名"
column=
"3"
name=
"proposerName"
>
</div>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
value=
""
placeholder=
"手机号"
column=
"5"
name=
"phoneNumber"
>
</div>
</div>
<div>
<button
class=
"btn btn-primary radius"
type=
"button"
onclick=
"$('#table').DataTable().draw()"
>
搜索
</button>
<input
class=
"btn btn-warning radius"
type=
"reset"
value=
"重置"
>
...
...
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