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
ffd42aa9
Commit
ffd42aa9
authored
Jul 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eecfefdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
publicCostDetails.js
public/resource/js/publicCostDetails.js
+5
-5
storeCost.js
public/resource/js/storeCost.js
+1
-1
No files found.
public/resource/js/publicCostDetails.js
View file @
ffd42aa9
...
@@ -151,10 +151,10 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -151,10 +151,10 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
if
(
confirm
(
'确认删除吗?'
)){
//
if(confirm('确认删除吗?')){
_this
.
parent
().
remove
();
_this
.
parent
().
remove
();
that
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
that
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
};
//
};
});
});
//编辑费用详情 点击保存
//编辑费用详情 点击保存
_doc
.
on
(
'click'
,
'.save_cost'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.save_cost'
,
function
(
e
)
{
...
@@ -431,7 +431,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -431,7 +431,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
data
.
msg
);
alert
(
'删除成功'
);
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
}
}
...
...
public/resource/js/storeCost.js
View file @
ffd42aa9
...
@@ -114,7 +114,7 @@ define(['doT', 'text!temp/store_cost_template_tpl.html', 'css!style/home.css', '
...
@@ -114,7 +114,7 @@ define(['doT', 'text!temp/store_cost_template_tpl.html', 'css!style/home.css', '
if
(
$
(
'#commit_home'
).
val
()){
if
(
$
(
'#commit_home'
).
val
()){
params
.
district_id
=
$
(
'#commit_home'
).
val
();
params
.
district_id
=
$
(
'#commit_home'
).
val
();
}
else
{
}
else
{
params
.
district_id
=
1
;
//
params.district_id= 1;
}
}
$
.
get
(
'/index/getAllStoreCost'
,
params
,
function
(
data
){
$
.
get
(
'/index/getAllStoreCost'
,
params
,
function
(
data
){
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
...
...
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