Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
10a560f0
Commit
10a560f0
authored
Aug 27, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加高级搜索
parent
9469c0cb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
users_list.html
application/index/view/member/users_list.html
+0
-0
user.js
public/resource/js/user.js
+15
-2
No files found.
application/index/view/member/users_list.html
View file @
10a560f0
This diff is collapsed.
Click to expand it.
public/resource/js/user.js
View file @
10a560f0
...
...
@@ -43,6 +43,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user_id_edit_introduce
:
''
,
customerInfo
:
{},
all_custom
:
true
,
// true :所有客户 ,false :当前客户
main_select
:
false
,
// true : 开启高级搜索 ,false :关闭高级搜索
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
...
...
@@ -334,6 +335,19 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
getList
(
1
);
});
$
(
'#main_select'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(){
user
.
main_select
=
!
user
.
main_select
;
console
.
log
(
user
.
main_select
);
if
(
user
.
main_select
){
$
(
'.main-select'
).
show
();
$
(
'#main_select'
).
html
(
"关闭高级搜索"
);
}
else
{
$
(
'.main-select'
).
hide
();
$
(
'#main_select'
).
html
(
"高级搜索"
);
}
});
//新增 客户 重置信息
$
(
"#close"
).
click
(
function
()
{
document
.
getElementById
(
"add_user_form"
).
reset
();
...
...
@@ -1994,4 +2008,4 @@ function edit(obj) {
$
(
"#edit_id"
).
val
(
$
(
obj
).
attr
(
"data-id"
));
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment