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