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
97a9c0ac
Commit
97a9c0ac
authored
Jul 24, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0578e00d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
storeList.js
public/resource/js/storeList.js
+3
-2
No files found.
public/resource/js/storeList.js
View file @
97a9c0ac
...
@@ -60,7 +60,6 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -60,7 +60,6 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
});
});
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
store
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
store
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
$
(
"#modal-title"
).
html
(
"编辑门店信息"
);
$
(
"#modal-title"
).
html
(
"编辑门店信息"
);
store
.
Edit
();
store
.
Edit
();
...
@@ -92,7 +91,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -92,7 +91,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
document
).
delegate
(
".add"
,
"click"
,
function
()
{
//list2消失
$
(
document
).
delegate
(
".add"
,
"click"
,
function
()
{
//list2消失
document
.
getElementById
(
'form_id'
).
reset
();
document
.
getElementById
(
'form_id'
).
reset
();
$
(
"#modal-title"
).
html
(
"新增门店"
);
$
(
"#modal-title"
).
html
(
"新增门店"
);
$
(
'#ss-store'
).
val
(
'
0
'
);
$
(
'#ss-store'
).
val
(
''
);
});
});
/************************************************百度地址定位相关*************************************************************/
/************************************************百度地址定位相关*************************************************************/
...
@@ -377,6 +376,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -377,6 +376,8 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
"#ss-store"
).
html
(
_html
);
$
(
"#ss-store"
).
html
(
_html
);
}
else
if
(
obj
.
type
==
'1'
){
}
else
if
(
obj
.
type
==
'1'
){
$
(
"#qx-store"
).
append
(
_html
);
$
(
"#qx-store"
).
append
(
_html
);
$
(
"#qx-store-new"
).
append
(
_html
);
}
else
{}
}
else
{}
fn
&&
fn
();
fn
&&
fn
();
...
...
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