Commit b0b2e01f authored by agping's avatar agping

1

parent bb20aa58
......@@ -2198,7 +2198,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
};
$.ajax({
type: 'GET',
url: '/index/getCollection',
url: '/office_index/getCollection',
data: params,
timeout: 30000,
dataType: 'json',
......@@ -2438,7 +2438,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
var params = {
'pay_id' : id
};
$.post('/index/getCollectionDetail',params , function(data){
$.post('/office_index/getCollectionDetail',params , function(data){
if(data.code == 200) {
that.getValueFunction(data.data);
} else {
......@@ -2566,7 +2566,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
$('.result2-du,.result-du').remove(); //删除之前存在的图片 显示从接口获取的数据 用来区分新添加的 和 已经保存的
$.ajax({
'type': 'GET',
'url': '/index/receiptImgList',
'url': '/office_index/receiptImgList',
data: {
"id": id_pic,
},
......@@ -2592,7 +2592,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
spandelList: function(n) { //删除已经保存的图片都调用
$.ajax({
'type': 'POST',
'url': '/index/deleteReceiptImg',
'url': '/office_index/deleteReceiptImg',
data: {
id: n
},
......@@ -2610,7 +2610,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
saveRecervables : function(){
var that = bargain;
var params = that.recervablesParams();
$.post('/index/getCollectionEdit',params,function(data){
$.post('/office_index/getCollectionEdit',params,function(data){
if(data.code == 200) {
bargain.getList();
} else {
......
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