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