Commit 75828316 authored by agping's avatar agping

退款审核

parent f963c27a
......@@ -91,7 +91,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
var house_id = e.target.dataset.id;
e.preventDefault();
e.stopPropagation();
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id=' + house_id);
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id=' + house_id+'&type=2');
});
//操作----收款详情
$(document).on('click','.add-pic',function(e){
......@@ -257,7 +257,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
'remark' : remark ,
'img_arr' : pic
}
$.post('/index/checkRefund',params ,function(data){
$.post('/office_index/checkRefund',params ,function(data){
if(data.code == 200) {
$('.modal').modal("hide");
refund.getList(that.pageNo);
......@@ -275,7 +275,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
var params = {
'refund_id' : id
};
$.get('/index/refundDetail',params,function(data){
$.get('/office_index/refundDetail',params,function(data){
if(data.code == 200) {
console.log(data);
var money = data.data.refund_money;
......@@ -408,7 +408,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
//删除退款
deleteRefund: function(id) {
$.ajax({
url: '/index/delRefund',
url: '/office_index/delRefund',
type: 'POST',
async: true,
data: {
......@@ -532,7 +532,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
var params = that.buildSearchParams(0);
params.pageNo = that.pageNo;
params.pageSize = that.pageSize ;
$.get('/index/refundList',params,function(data){
$.get('/office_index/refundList',params,function(data){
if(typeof data === 'object') {
if(data.code == 200) {
that.listData = data.data.list;
......@@ -600,7 +600,7 @@ define(['doT', 'text!temp/refund_office_template_tpl.html', 'css!style/home.css'
// var status = refund.check_status;
var _url = '/index/refundListExcel?';
var _url = '/office_index/refundListExcel?';
// window.open(_url + 'start_time=' + start_time + '&end_time=' + end_time + '&income_start_time=' + income_start_time + '&income_end_time=' + income_end_time + '&type=' + type + '&order_id=' + order_id + '&id=' + id + '&house_id=' + house_id + '&address=' + address + '&district_id=' + district_id+ '&store_id=' + store_id+ '&agent_id=' + agent_id+ '&phone=' + phone+ '&choose_type=' + choose_type +'&is_self=' + is_self+'&pay_log_id=' + pay_log_id+'&status=' + status);
window.open(_url + refund.buildSearchParams(1));
},
......
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