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
2b69a912
authored
2018-04-01 17:50:53 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
752f10da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
2 deletions
application/controllers/Finance.php
application/views/finance/chargedetail.php
application/controllers/Finance.php
View file @
2b69a91
...
...
@@ -45,6 +45,17 @@ class Finance extends CI_Controller {
public
function
chargedetail
()
{
$this
->
load
->
view
(
'finance/chargedetail'
);
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'/manage/financial/repayments/nonePay/params'
;
$result
=
file_get_contents
(
$url
);
$ret
=
json_decode
(
$result
);
$roles
=
array
();
foreach
(
$ret
->
data
as
$v
){
$roles
[]
=
$v
;
}
$data
=
array
(
'ret'
=>
$roles
,
);
$this
->
load
->
view
(
'finance/chargedetail'
,
$data
);
}
}
...
...
application/views/finance/chargedetail.php
View file @
2b69a91
...
...
@@ -3,7 +3,60 @@
<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
" name="
code
" >
<option value="" selected>时间类型</option>
<?php foreach (
$ret
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"
>
<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