Commit 90784f3d authored by agping's avatar agping

房源详情

parent 82c695cb
...@@ -20,20 +20,27 @@ ...@@ -20,20 +20,27 @@
<table> <table>
<tbody> <tbody>
<tr> <tr>
<td>所属楼盘:{{ds.title}}</td> <td>所属楼盘:{{d.title}}</td>
<td>楼盘地址:{{ds.address}}</td> <td>楼盘地址:{{d.address}}</td>
<td>所属商圈:{{ds.business_name}}</td> <td>所属商圈:{{d.business_name}}</td>
<td>总层数:{{ds.floor_total}}</td> <td>总层数:{{d.floor_total}}</td>
</tr> </tr>
<tr> <tr>
<td>类型:{{switchType(ds.type)}}</td> <td>类型:{{switchType(d.type)}}</td>
<td colspan="3">简介:{{ds.intro}}</td> <!--<td colspan="3">简介:{{d.intro}}</td>-->
</tr> </tr>
<tr> <tr>
<td colspan="4">交通:{{traffic}}</td> <td colspan="4">交通:{{d.traffic_info}}</td>
</tr> </tr>
<tr> <tr>
<td colspan="4">楼盘图片:{{ds.intro}}</td> <td colspan="4" class="oh">
<div class="fl">楼盘图片:</div>
<div class="fl">
<ul class="oh img-list">
<li class="fl oh" v-for="(item, index) in d.building_image" :key="index" :data-id="item.id"><img class="fl" :src="ServerHostTempC+'/'+item.img_name" preview="2" /></li>
</ul>
</div>
</td>
</tr> </tr>
<tr> <tr>
...@@ -75,7 +82,7 @@ ...@@ -75,7 +82,7 @@
<div class="fl">详情页面轮播图:</div> <div class="fl">详情页面轮播图:</div>
<div class="fl"> <div class="fl">
<ul class="oh img-list"> <ul class="oh img-list">
<li class="fl oh" v-for="(item, index) in d.slide_show" :key="index" :data-id="item.id"><img class="fl" :src="ServerHostTempC+'/'+item.img_name" preview="2" /></li> <li class="fl oh" v-for="(item, index) in d.carousel_image" :key="index" :data-id="item.id"><img class="fl" :src="ServerHostTempC+'/'+item.img_name" preview="2" /></li>
</ul> </ul>
</div> </div>
</td> </td>
...@@ -90,7 +97,7 @@ ...@@ -90,7 +97,7 @@
<div class="fl">房东:</div> <div class="fl">房东:</div>
<div class="fl"> <div class="fl">
<ul class="oh phone-list"> <ul class="oh phone-list">
<li class="fl oh" v-for="(item, index) in d.landlord_phone_array" :key="index"><span>{{item.name+'-'+hidePhone(item.phone)}}</span><a href="javascript:;" class="call-tel-btn" @click="showModal1(item)">拨打</a></li> <li class="fl oh" v-for="(item, index) in d.landlord_info" :key="index"><span>{{item.name+'-'+hidePhone(item.phone)}}</span><a href="javascript:;" class="call-tel-btn" @click="showModal1(item)">拨打</a></li>
</ul> </ul>
</div> </div>
</td> </td>
...@@ -125,7 +132,7 @@ ...@@ -125,7 +132,7 @@
</tr> </tr>
<tr> <tr>
<td v-if="(d.is_exclusive_type==1)" colspan="2">独家有效期:{{d.agent_start_time+'至'+d.agent_end_time}}</td> <td v-if="(d.is_exclusive_type==1)" colspan="2">独家有效期:{{d.agent_start_time+'至'+d.agent_end_time}}</td>
<td v-if="(d.is_exclusive_type==1)" colspan="2">独家方:{{exclusive_name}}</td> <td v-if="(d.is_exclusive_type==1)" colspan="2">独家方:{{d.exclusive_info}}</td>
</tr> </tr>
<tr v-show='clickPublicUser("index/isShow")'> <tr v-show='clickPublicUser("index/isShow")'>
<td colspan="4" align="center"> <td colspan="4" align="center">
......
...@@ -266,11 +266,11 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio ...@@ -266,11 +266,11 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio
var _this = this; var _this = this;
$.ajax({ $.ajax({
type: 'get', type: 'get',
url: '/office_index/houseEdit', url: '/office/getOfficeRoomInfo',
data: { data: {
'id': shop_id, 'id': shop_id,
// 'site_area': 4, //pc后台固定传4 // 'site_area': 4, //pc后台固定传4
// 'AuthToken': _this.user_info_obj.AuthToken 'AuthToken': _this.user_info_obj.AuthToken
}, },
timeout: 30000, timeout: 30000,
dataType: 'json', dataType: 'json',
...@@ -284,8 +284,8 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio ...@@ -284,8 +284,8 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio
_this.select_public_var=_data.data.is_show; _this.select_public_var=_data.data.is_show;
_this.d = _data.data; _this.d = _data.data;
_this.ds = _data.data.building_data; _this.ds = _data.data.building_data;
_this.traffic =_data.data.building_data.traffic.join(',');//交通 // _this.traffic =_data.data.building_data.traffic.join(',');//交通
_this.exclusive_name = _data.data.exclusive_name.join(',');//独家方 // _this.exclusive_name = _data.data.exclusive_name.join(',');//独家方
_this.$nextTick(() => { _this.$nextTick(() => {
vm.$previewRefresh() vm.$previewRefresh()
}); });
......
...@@ -1315,6 +1315,81 @@ if(data.code == 200) { ...@@ -1315,6 +1315,81 @@ if(data.code == 200) {
params.agent_id = user_info_obj.id; params.agent_id = user_info_obj.id;
params.pageNo = business.pageNo; params.pageNo = business.pageNo;
params.pageSize = business.pageSize; params.pageSize = business.pageSize;
if(params.is_show){
params.is_show = $('#is_show option:selected').val(); //c端显示
}
if(params.city){
params.city = $('.shop_city_choose_site_list').val(); //城市筛选
}
if(params.disc){
params.disc = $('#shop_area_id').val(); //区域筛选
}
if(params.business_district_id){
params.business_district_id=$('#business_circle_id').val();//商圈筛选
}
if(params.dish_phone){
params.dish_phone = $('#dish_phone').val(); //盘方手机号
}
if(params.landlord_phone){
params.landlord_phone = $('#landlord_phone').val(); //房东手机号
}
if(params.create_time_start){
params.create_time_start = $('#start_date').val(); //时间1
}
if(params.create_time_end){
params.create_time_end = $('#end_date').val(); //时间2
}
if(params.dish_district_id){
params.dish_district_id = $('#district_id_panfang').val(); //盘方 部门 id
}
if(params.dish_store_id){
params.dish_store_id = $('#guest_stores_panfang').val(); //盘方 门店 id
}
if(params.dish_name){
params.dish_name = business.agent_id_choose; //盘方姓名 下拉式
}
if(params.area_start){
params.area_start = $('#area_start').val(); //面积开始
}
if(params.area_end){
params.area_end = $('#area_end').val(); //面积结束
}
if(params.station_start){
params.station_start = $('#station_start').val(); //工位开始
}
if(params.station_end){
params.station_end = $('#station_end').val(); //工位结束
}
if(params.title){
params.title = $('#office_title').val(); //楼盘标题
}
if(params.id){
params.id = $('#office_id').val(); //楼盘id
}
if(params.status){
params.status = $('#office_status').val(); //上下架
}
if(params.is_rent){
params.is_rent = $('#office_rent').val(); //出租
}
if(params.price_total_start){
params.price_total_start = $('#price_start').val(); //租金总价
}
if(params.price_total_end){
params.price_total_end = $('#price_end').val(); //租金总价
}
if(params.price_start){
params.price_start = $('#price_end_single').val(); //租金单价
}
if(params.price_end){
params.price_end = $('#price_end_single').val(); //租金单价
}
if(params.address){
params.address = $('#office_adrress').val(); //地址
}
if(params.is_exclusive_type){
params.is_exclusive_type = $('#is_exclusive_type').val(); //是否独家
}
$.ajax({ $.ajax({
url: '/office_index/getRoomList', //获取列表 url: '/office_index/getRoomList', //获取列表
type: 'GET', type: 'GET',
......
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