Commit 28a12063 authored by agping's avatar agping

1

parent 9bcdfa30
...@@ -9,6 +9,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', ' ...@@ -9,6 +9,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
listData :"", listData :"",
agent_id_phone : '', agent_id_phone : '',
deleteRefundId:'', deleteRefundId:'',
status:'',
url:'', url:'',
init: function() { init: function() {
//初始化dot //初始化dot
...@@ -115,8 +116,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', ' ...@@ -115,8 +116,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
//审核通过 //审核通过
$(document).on('click','#check_yes',function(e){ $(document).on('click','#check_yes',function(e){
var text = $('#check_past').val(); that.checkRefund();
that.checkRefund(1,text);
}); });
...@@ -207,20 +207,20 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', ' ...@@ -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 that = refund ;
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
console.log(user_info_obj);
var params = { var params = {
'refund_id' : that.check_id , 'open_id' : that.check_id ,
'status' : status , 'status' : refund.status ,
'remark' : remark , 'operation_id' : user_info_obj.id,
'img_arr' : pic 'operation_name': user_info_obj.name
} }
$.post('/index/checkRefund',params ,function(data){ $.post('/index/openPayLogCheck',params ,function(data){
if(data.code == 200) { if(data.code == 200) {
$('.modal').modal("hide"); $('.modal').modal("hide");
refund.getList(that.pageNo); refund.getList(that.pageNo);
$('#check_past').val('');
$('#check_bohui').val('');
$('#container_body_img_area3').empty(); $('#container_body_img_area3').empty();
} else { } else {
alert(data.msg); alert(data.msg);
...@@ -256,6 +256,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', ' ...@@ -256,6 +256,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
tag += '</div>'; tag += '</div>';
} }
$('.check_person').append(tag); $('.check_person').append(tag);
refund.status = data.data.status;
var str = '' ; var str = '' ;
if (data.data.status == 1) { if (data.data.status == 1) {
str = '总监已审'; str = '总监已审';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment