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
c59867f1
Commit
c59867f1
authored
Sep 05, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重置按钮
parent
7a3d840d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
picture_show.html
application/index/view/picture/picture_show.html
+1
-0
pictureShow.js
public/resource/js/pictureShow.js
+4
-4
No files found.
application/index/view/picture/picture_show.html
View file @
c59867f1
...
...
@@ -48,6 +48,7 @@
<option value="2">人群图</option>-->
</select>
<span
class=
"btn btn-info btn3 "
id=
"search"
>
筛选
</span>
<span
class=
"btn btn-info btn3 "
id=
"reset"
>
重置
</span>
</div>
</form>
</td>
...
...
public/resource/js/pictureShow.js
View file @
c59867f1
...
...
@@ -27,10 +27,6 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
$
(
"#search"
).
click
(
function
()
{
picture
.
getList
(
1
);
});
/*
$("#reset").click(function () {//重置
document.getElementById("form_search").reset();
});*/
$
(
document
).
on
(
'click'
,
'.is_show'
,
function
(
e
){
picture
.
getDataByParams
(
e
.
target
.
dataset
.
id
);
...
...
@@ -63,6 +59,10 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
}
});
$
(
'#reset'
).
click
(
function
(){
document
.
getElementById
(
"form_search"
).
reset
();
});
//新增图片存储触发事件
$
(
'#save'
).
click
(
function
(){
var
yetai_str
=
''
;
...
...
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