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
b02a94db
Commit
b02a94db
authored
May 07, 2018
by
agping
Committed by
hujun
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务修改
parent
9bad1733
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
43 deletions
+7
-43
refundList.js
public/resource/js/refundList.js
+1
-1
waitBackout.js
public/resource/js/waitBackout.js
+5
-41
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+1
-1
No files found.
public/resource/js/refundList.js
View file @
b02a94db
...
...
@@ -38,7 +38,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
$
(
document
).
delegate
(
"
#modal-rejected"
,
"click"
,
function
()
{
//点击编辑
$
(
document
).
delegate
(
"
.rejected"
,
"click"
,
function
()
{
//点击驳回
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
...
...
public/resource/js/waitBackout.js
View file @
b02a94db
...
...
@@ -358,7 +358,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/re
portListBackout/5
'
,
url
:
'/index/re
fundListAttache/0
'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -368,17 +368,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj);
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// }
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
@@ -419,7 +408,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/re
portListBackout/5
'
,
url
:
'/index/re
fundListManager/1
'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -429,17 +418,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj.level);
// if(user_info_obj.level==20 && $('.btn-info').index()==1){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// }
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
@@ -481,7 +459,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/re
portListBackout/5
'
,
url
:
'/index/re
fundListMajordomo/2
'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -531,7 +509,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/re
portListBackout/5
'
,
url
:
'/index/re
fundListCashier/3
'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -571,7 +549,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/re
portListBackout/5
'
,
url
:
'/index/re
fundListAttache/0
'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -581,20 +559,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj.level);
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
// }else{
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// };
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
public/resource/template/refund_template_tpl.html
View file @
b02a94db
...
...
@@ -9,7 +9,7 @@
<
td
>
[
%=
it
[
item
][
'refund_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'card_no'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success
edit
"
href
=
"#modal-rejected"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
驳回
<
/a
>
<
a
class
=
"btn1 btn-success
rejected
"
href
=
"#modal-rejected"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
驳回
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
/td
>
...
...
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