Commit bb20aa58 authored by agping's avatar agping

1

parent f8dbad30
......@@ -51,7 +51,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
e.preventDefault();
e.stopPropagation();
var _id=bargain.detail_shop_id;
$('.iframe-shop-detail').attr('src', '/app_broker/shop_detail_pc?shop_id='+_id);//记得修改修改
$('.iframe-shop-detail').attr('src', '/app_broker/office_detail_pc?shop_id='+_id);//办公楼详情
$('.detail-modal-header-tab-liu>a:nth-of-type(1)').removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
$('.detail-modal-body-sec-liu:nth-of-type(1)').show().siblings().hide();
});
......@@ -64,7 +64,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
bargain.detailTabIndexLiu = _this.index();
$('.detail-modal-body-sec-liu:nth-of-type('+(bargain.detailTabIndexLiu+1)+')').show().siblings().hide();
if(bargain.detailTabIndexLiu == 0){
$('.iframe-shop-detail').attr('src', '/app_broker/shop_detail_pc?shop_id='+bargain.detail_shop_id);
$('.iframe-shop-detail').attr('src', '/app_broker/office_detail_pc?shop_id='+bargain.detail_shop_id);
}else if(bargain.detailTabIndexLiu == 1){
bargain.getFollowupList();
}
......@@ -600,7 +600,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
var _this = $(this);
var _id = _this.closest('tr').data('orderid');
console.log(_id);
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id='+_id);
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id='+_id+'&type=2');
});
var _doc = $(document);
......@@ -1099,7 +1099,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
$.ajax({
'type': 'get',
'url': '/broker/getListByHouseId',
'url': '/office/getListByHouseId',
data: {
'house_id': bargain.detail_shop_id,
'AuthToken': user_info_obj.AuthToken
......@@ -1176,7 +1176,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
bargaininfoShow: function() { //报告详情
$.ajax({
'type': 'GET',
'url': '/index/bargainInfo',
'url': '/office_index/bargainInfo',
data: {
"id": bargain.bargain_id
},
......@@ -1234,7 +1234,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
bargaininfoShowLiu: function() { //获取report_id
$.ajax({
'type': 'GET',
'url': '/index/bargainInfo',
'url': '/office_index/bargainInfo',
data: {
"id": bargain.bargain_id
},
......@@ -1326,7 +1326,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
$("#maid_new_table_list").html('');
$.ajax({
type: 'GET',
url: '/index/commissionList',
url: '/office_index/commissionList',
data: {
'id': bargain.bargain_id
},
......@@ -1432,7 +1432,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
taxShow: function() {
$.ajax({
type: 'GET',
url: '/index/getTallAge',
url: '/office_index/getTallAge',
data: {
'bargain_id': bargain.bargain_id
},
......
......@@ -5,7 +5,7 @@
<td>[%= it[item]['house_id'] %]</td>
<td>[%= it[item]['house_title'] %]</td>
<td>[%= it[item]['appellation'] %]</td>
<td>[%= it[item]["phone"] %]</td>
<td>[%= hideTel(it[item]["phone"]) %]</td>
<td>[%= it[item]["expect_time"] %]</td>
<td>[% if(it[item]["other_require"] != null) { %]
[%= it[item]['other_require'] %]
......
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