Commit 4e0f596d authored by agping's avatar agping

办公楼

parent 9e9f2286
......@@ -235,7 +235,7 @@ define(['doT', 'text!temp/follow_office_template_tpl.html', 'css!style/home.css'
}
$.ajax({
type: 'POST',
url: '/broker/houseFollowUpList', //商铺跟进 对接接口
url: '/office/houseFollowUpList', //商铺跟进 对接接口
data: params,
timeout: 30000,
dataType: 'json',
......
......@@ -1025,7 +1025,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
getRole: function(fn) {
var userObj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
$.ajax({
url: '/broker/getCommission',
url: '/office_index/getCommission',
type: 'GET',
async: true,
data: {
......
......@@ -156,13 +156,13 @@ define(['doT', 'text!temp/wait_backout_office_template_tpl.html', 'text!temp/rep
pass: function() { //点击通过
var a_url = '';
if(bargain.mainTabIndex == 0) {
a_url = "/index/checkBackOutOne/1"
a_url = "/office_index/checkBackOutOne/1"
};
if(bargain.mainTabIndex == 1) {
a_url = "/index/checkBackOutTwo/2"
a_url = "/office_index/checkBackOutTwo/2"
};
if(bargain.mainTabIndex == 2) {
a_url = "/index/checkBackOutThree/3"
a_url = "/office_index/checkBackOutThree/3"
};
console.log(a_url);
// if(bargain.mainTabIndex == 3) {
......@@ -198,13 +198,13 @@ define(['doT', 'text!temp/wait_backout_office_template_tpl.html', 'text!temp/rep
switchUrl: function(){
switch (Number(this.mainTabIndex)){
case 0:
return '/index/backOutOne/5';
return '/office_index/backOutOne/5';
case 1:
return '/index/backOutTwo/7';
return '/office_index/backOutTwo/7';
case 2:
return '/index/backOutThree/8';
return '/office_index/backOutThree/8';
case 3:
return '/index/reportListUndone/6';
return '/office_index/reportListUndone/6';
default:
return '';
}
......@@ -352,7 +352,7 @@ define(['doT', 'text!temp/wait_backout_office_template_tpl.html', 'text!temp/rep
//恢复正常
backToNormal: function() {
$.ajax({
url: '/index/recoveryBargain',
url: '/office_index/recoveryBargain',
type: 'POST',
async: true,
data: {
......
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