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
e4bd270f
Commit
e4bd270f
authored
Dec 19, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f0bcde2d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
3 deletions
+42
-3
adjustment.html
application/index/view/finance/adjustment.html
+30
-0
getCollection.html
application/index/view/finance/getCollection.html
+1
-1
adjustment.js
public/resource/js/adjustment.js
+7
-2
getCollection.js
public/resource/js/getCollection.js
+4
-0
No files found.
application/index/view/finance/adjustment.html
View file @
e4bd270f
...
@@ -508,6 +508,35 @@
...
@@ -508,6 +508,35 @@
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!-- /#删除模态框 -->
<div
class=
"modal fade"
id=
"modal-delete"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
删除
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
value=
""
id=
"delete_id"
/>
确认删除吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
data-dismiss=
"modal"
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
id=
"img_mask_area"
title=
"点击任意位置可关闭"
>
<div
id=
"img_mask_area"
title=
"点击任意位置可关闭"
>
<img
/>
<img
/>
</div>
</div>
\ No newline at end of file
application/index/view/finance/getCollection.html
View file @
e4bd270f
...
@@ -814,7 +814,7 @@
...
@@ -814,7 +814,7 @@
<img
/>
<img
/>
</div>
</div>
<!-- /#删除模态框 -->
<!-- /#删除模态框 -->
<div
class=
"modal fade"
id=
"modal-delete
1
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-delete"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
...
...
public/resource/js/adjustment.js
View file @
e4bd270f
...
@@ -37,9 +37,14 @@ define(['doT', 'text!temp/adjustment_template_tpl.html', 'css!style/home.css', '
...
@@ -37,9 +37,14 @@ define(['doT', 'text!temp/adjustment_template_tpl.html', 'css!style/home.css', '
//操作----删除
//操作----删除
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
var
id
=
e
.
target
.
dataset
.
id
;
that
.
deleteTableRow
(
id
);
that
.
deleteId
=
id
;
console
.
log
(
id
);
// that.deleteTableRow(id);
// console.log(id);
});
});
$
(
document
).
on
(
'click'
,
'#confirm_delete'
,
function
(
e
){
var
id
=
that
.
deleteId
;
that
.
deleteTableRow
(
id
);
});
//搜索
//搜索
$
(
document
).
on
(
'click'
,
'#search'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'#search'
,
function
(
e
){
that
.
getList
(
that
.
pageNo
);
that
.
getList
(
that
.
pageNo
);
...
...
public/resource/js/getCollection.js
View file @
e4bd270f
...
@@ -189,6 +189,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -189,6 +189,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
//操作----删除
//操作----删除
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
var
id
=
e
.
target
.
dataset
.
id
;
that
.
deleteId
=
id
;
});
$
(
document
).
on
(
'click'
,
'#confirm_delete'
,
function
(
e
){
var
id
=
that
.
deleteId
;
that
.
deleteTableRow
(
id
);
that
.
deleteTableRow
(
id
);
console
.
log
(
id
)
console
.
log
(
id
)
});
});
...
...
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