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
71bef1a4
authored
2018-04-01 18:33:21 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
c267c0fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
18 deletions
application/views/finance/chargedetail.php
application/views/finance/chargedetail.php
View file @
71bef1a
...
...
@@ -55,18 +55,18 @@
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
value=
""
placeholder=
"手机号"
column=
"5"
name=
"phoneNumber"
>
</div>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text"
value=
""
id=
"loanMinMoney"
placeholder=
"最小申请金额"
name=
"loanMinMoney"
>
</div
>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
id=
"loanMaxMoney"
value=
""
placeholder=
"最大申请金额"
name=
"loanMaxMoney"
>
</div
>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
id=
"ratifyMinMoney"
value=
""
placeholder=
"最小审批金额"
name=
"ratifyMinMoney"
>
</div
>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control input-text table_search"
id=
"ratifyMaxMoney"
value=
""
placeholder=
"最大审批金额"
name=
"ratifyMaxMoney"
>
</div
>
<!-- <div class="col-xs-2">--
>
<!-- <input type="text" class="form-control input-text" value="" id="loanMinMoney" placeholder="最小申请金额" name="loanMinMoney">--
>
<!-- </div>--
>
<!-- <div class="col-xs-2">--
>
<!-- <input type="text" class="form-control input-text table_search" id="loanMaxMoney" value="" placeholder="最大申请金额" name="loanMaxMoney">--
>
<!-- </div>--
>
<!-- <div class="col-xs-2">--
>
<!-- <input type="text" class="form-control input-text table_search" id="ratifyMinMoney" value="" placeholder="最小审批金额" name="ratifyMinMoney">--
>
<!-- </div>--
>
<!-- <div class="col-xs-2">--
>
<!-- <input type="text" class="form-control input-text table_search" id="ratifyMaxMoney" value="" placeholder="最大审批金额" name="ratifyMaxMoney">--
>
<!-- </div>--
>
</div>
<div>
...
...
@@ -269,12 +269,12 @@
$
(
'#table'
).
DataTable
().
draw
();
});
$
(
'#loanMinMoney, #loanMaxMoney,#ratifyMinMoney, #ratifyMaxMoney'
).
on
(
'keyup'
,
function
()
{
var
url
=
window
.
location
.
href
+
window
.
location
.
search
;
// alert(url);
location
.
href
=
url
+
'&loanMinMoney='
+
$
(
"#loanMinMoney"
).
val
()
+
'&loanMaxMoney='
+
$
(
"#loanMaxMoney"
).
val
()
+
'&ratifyMinMoney='
+
$
(
"#ratifyMinMoney"
).
val
()
+
'&ratifyMaxMoney='
+
$
(
"#ratifyMaxMoney"
).
val
()
// $('#table').DataTable().draw();
});
//
$('#loanMinMoney, #loanMaxMoney,#ratifyMinMoney, #ratifyMaxMoney').on('keyup', function () {
// var url = window.location.href
;
//
//
alert(url);
//
location.href = url+'&loanMinMoney='+$("#loanMinMoney").val()+'&loanMaxMoney='+$("#loanMaxMoney").val()+'&ratifyMinMoney='+$("#ratifyMinMoney").val()+'&ratifyMaxMoney='+$("#ratifyMaxMoney").val()
//
//
$('#table').DataTable().draw();
//
});
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
...
...
@@ -289,6 +289,12 @@
layer
.
msg
(
'通过'
);
});
}
//获取url中的参数
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
//构造一个含有目标参数的正则表达式对象
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
//匹配目标参数
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
//返回参数值
}
</script>
</body>
<html>
...
...
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