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
28a12063
Commit
28a12063
authored
May 17, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9bcdfa30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
openCheckList.js
public/resource/js/openCheckList.js
+11
-10
No files found.
public/resource/js/openCheckList.js
View file @
28a12063
...
...
@@ -9,6 +9,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
listData
:
""
,
agent_id_phone
:
''
,
deleteRefundId
:
''
,
status
:
''
,
url
:
''
,
init
:
function
()
{
//初始化dot
...
...
@@ -115,8 +116,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
//审核通过
$
(
document
).
on
(
'click'
,
'#check_yes'
,
function
(
e
){
var
text
=
$
(
'#check_past'
).
val
();
that
.
checkRefund
(
1
,
text
);
that
.
checkRefund
();
});
...
...
@@ -207,20 +207,20 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
});
},
checkRefund
:
function
(
status
,
remark
,
pic
){
checkRefund
:
function
(){
var
that
=
refund
;
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
var
params
=
{
'
refund
_id'
:
that
.
check_id
,
'status'
:
status
,
'
remark'
:
remark
,
'
img_arr'
:
pic
'
open
_id'
:
that
.
check_id
,
'status'
:
refund
.
status
,
'
operation_id'
:
user_info_obj
.
id
,
'
operation_name'
:
user_info_obj
.
name
}
$
.
post
(
'/index/
checkRefund
'
,
params
,
function
(
data
){
$
.
post
(
'/index/
openPayLogCheck
'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'.modal'
).
modal
(
"hide"
);
refund
.
getList
(
that
.
pageNo
);
$
(
'#check_past'
).
val
(
''
);
$
(
'#check_bohui'
).
val
(
''
);
$
(
'#container_body_img_area3'
).
empty
();
}
else
{
alert
(
data
.
msg
);
...
...
@@ -256,6 +256,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
tag
+=
'</div>'
;
}
$
(
'.check_person'
).
append
(
tag
);
refund
.
status
=
data
.
data
.
status
;
var
str
=
''
;
if
(
data
.
data
.
status
==
1
)
{
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