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