Commit 6cc8dfe3 authored by agping's avatar agping

办公楼成交报告

parent 75828316
......@@ -453,7 +453,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
var _id = _$this.closest('tr').attr('data-id');
$.ajax({
type: 'GET',
url: '/index/getRealIncome',
url: '/office_index/getRealIncome',
data: {
'bargain_id': _id
},
......@@ -1256,7 +1256,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
bargaininfoShowRed: function() {
$.ajax({
'type': 'GET',
'url': '/index/checkReferrer',
'url': '/office_index/checkReferrer',
data: {
"report_id": bargain.report_id_liu
},
......@@ -1302,7 +1302,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
});
$.ajax({
'type': 'POST',
'url': '/index/editBargainInfo',
'url': '/office_index/editBargainInfo',
data: _data,
dataType: "json",
success: function(data) {
......@@ -1411,7 +1411,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
passBack: function() { //点击通过
$.ajax({
'type': 'POST',
'url': '/index/backOutToOne',
'url': '/office_index/backOutToOne',
data: {
"bargain_id": bargain.bargain_id,
"content": $.trim($("#pass_cexiao").val())
......@@ -1503,7 +1503,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
newAddMaid: function(fn){
$.ajax({
type: 'GET',
url: '/index/searchOrderAgents',
url: '/office_index/searchOrderAgents',
data: {
'order_id': bargain.order_id
},
......@@ -1548,7 +1548,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
};
$.ajax({
type: 'POST',
url: '/index/addBargain',
url: '/office_index/addBargain',
data: {
'id': bargain.bargain_id,
'agent_id': _ywyId,
......@@ -1588,7 +1588,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
editMaidOk: function(){
$.ajax({
type: 'POST',
url: '/index/getBargainCommission',
url: '/office_index/getBargainCommission',
data: {
'bargain_id': $('#modal_new_maid').attr('data-id'),
'agent_id': $('#addmaid_input_ywy').attr('data-id'),
......@@ -1800,7 +1800,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
} else {
$.ajax({
type: 'POST',
url: '/index/addRealIncome',
url: '/office_index/addRealIncome',
data: _back.list[count],
timeout: 30000,
dataType: 'json',
......@@ -1848,12 +1848,12 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
$('#addtax_date').val('');//开票日期置空
if(obj['type'] === 'new'){
$('#modal_new_tax .modal-title').html('新增开票');
_url = '/index/searchBargainAgents';
_url = '/office_index/searchBargainAgents';
_data['bargain_id'] = bargain.bargain_id;
}else{
$('#modal_new_tax .modal-title').html('编辑开票');
_tempTableObj.attr('data-recordid',obj['id']);
_url = '/index/getTaxesById';
_url = '/office_index/getTaxesById';
_data['taxes_id'] = obj['id'];
};
$.ajax({
......@@ -1927,7 +1927,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
});
$.ajax({
type: 'POST',
url: '/index/addTallAge',
url: '/office_index/addTallAge',
data: _data,
timeout: 30000,
dataType: 'json',
......@@ -1964,7 +1964,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
delTaxOk: function(id) {
$.ajax({
type: 'POST',
url: '/index/delTaxes',
url: '/office_index/delTaxes',
data: {
'taxes_id': id
},
......@@ -1998,7 +1998,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
deletMaid: function(id){
$.ajax({
type: 'POST',
url: '/index/delPartialCommission',
url: '/office_index/delPartialCommission',
data: {
'partial_id': id
},
......@@ -2100,15 +2100,15 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
switchUrl: function(){
switch (Number(this.mainTabIndex)){
case 0:
return '/index/reportListAll/10';
return '/office_index/reportListAll/10';
case 1:
return '/index/reportListOne/1';
return '/office_index/reportListOne/1';
case 2:
return '/index/reportListTwo/2';
return '/office_index/reportListTwo/2';
case 3:
return '/index/reportListThree/3';
return '/office_index/reportListThree/3';
case 4:
return '/index/reportListStatement/4';
return '/office_index/reportListStatement/4';
default:
return '';
}
......
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