Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
3dcb5972
Commit
3dcb5972
authored
Jun 03, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5de72c91
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
69 additions
and
119 deletions
+69
-119
office_detail_pc.html
application/app_broker/view/index/office_detail_pc.html
+27
-26
officeEdit.html
application/index/view/officeBuilding/officeEdit.html
+0
-0
office_detail_pc.js
public/app/js/office_detail_pc.js
+3
-3
officeBuildingList.js
public/resource/js/officeBuildingList.js
+1
-33
officeEdit.js
public/resource/js/officeEdit.js
+0
-0
office_building_list_template_tpl.html
.../resource/template/office_building_list_template_tpl.html
+38
-57
No files found.
application/app_broker/view/index/office_detail_pc.html
View file @
3dcb5972
...
...
@@ -20,16 +20,16 @@
<table>
<tbody>
<tr>
<td>
所属楼盘:{{d.
id
}}
</td>
<td>
楼盘地址:{{
(d.shop_type==1)?'街铺':'商场'
}}
</td>
<td>
所属商圈:{{
(d.is_show==1)?'否':'是'
}}
</td>
<td>
总层数:{{
(d.is_exclusive_type==1)?'是':'否'
}}
</td>
<td>
所属楼盘:{{d.
building_data.title
}}
</td>
<td>
楼盘地址:{{
d.building_data.address
}}
</td>
<td>
所属商圈:{{
d.building_data.business_name
}}
</td>
<td>
总层数:{{
d.building_data.floor_total
}}
</td>
</tr>
<tr>
<td>
类型:{{d.
id
}}
</td>
<td>
交通:{{
(d.shop_type==1)?'街铺':'商场'
}}
</td>
<td>
简介:{{
(d.is_show==1)?'否':'是'
}}
</td>
<td>
楼盘图片:{{
(d.is_exclusive_type==1)?'是':'否'
}}
</td>
<td>
类型:{{d.
building_data.type
}}
</td>
<td>
交通:{{
d.building_data.traffic
}}
</td>
<td>
简介:{{
d.building_data.intro
}}
</td>
<td>
楼盘图片:{{
d.building_data.intro
}}
</td>
</tr>
<tr>
<td>
所在楼层:{{d.id}}
</td>
...
...
@@ -38,32 +38,33 @@
<td>
是否独家:{{(d.is_exclusive_type==1)?'是':'否'}}
</td>
</tr>
<tr>
<td>
租金总价:{{d.id}}
</td>
<td>
租金单价:{{(d.shop_type==1)?'街铺':'商场'}}
</td>
<td>
转让费:{{(d.is_show==1)?'否':'是'}}
</td>
<td>
物业管理费:{{(d.is_exclusive_type==1)?'是':'否'}}
</td>
<td>
租金总价:{{d.price_total}}
</td>
<td>
租金单价:{{d.price}}
</td>
<td>
转让费:{{d.slotting_fee}}
</td>
<!--<td>转让费:{{(d.is_show==1)?'否':'是'}}</td>-->
<td>
物业管理费:{{d.management_fee}}
</td>
</tr>
<tr>
<td>
可容纳工位:{{d.
i
d}}
</td>
<td>
面积:{{
(d.shop_type==1)?'街铺':'商场'
}}
</td>
<td>
所属楼层:{{
(d.is_show==1)?'否':'是'
}}
</td>
<td>
入驻时间:{{
(d.is_exclusive_type==1)?'是':'否'
}}
</td>
<td>
可容纳工位:{{d.
station_start}}-{{d.station_en
d}}
</td>
<td>
面积:{{
d.area
}}
</td>
<td>
所属楼层:{{
d.floor_tag
}}
</td>
<td>
入驻时间:{{
d.enter_time
}}
</td>
</tr>
<tr>
<td>
付款规则:{{d.
id
}}
</td>
<td>
签约年限:{{
(d.shop_type==1)?'街铺':'商场'
}}
</td>
<td>
可注册公司:{{(d.is_
show
==1)?'否':'是'}}
</td>
<td>
是否可分割:{{(d.is_
exclusive_type
==1)?'是':'否'}}
</td>
<td>
付款规则:{{d.
payment_month}}-{{d.deposit_month
}}
</td>
<td>
签约年限:{{
d.age_limit_start}}-{{d.age_limit_end
}}
</td>
<td>
可注册公司:{{(d.is_
register
==1)?'否':'是'}}
</td>
<td>
是否可分割:{{(d.is_
partition
==1)?'是':'否'}}
</td>
</tr>
<tr>
<td>
车位情况:{{d.
id
}}
</td>
<
td>
免租时间:{{(d.shop_type==1)?'街铺':'商场'}}
</td
>
<td>
来源:{{
(d.is_show==1)?'否':'是'
}}
</td>
<td>
是否对客户展示:{{(d.is_
exclusive_type==1
)?'是':'否'}}
</td>
<td>
车位情况:{{d.
carport
}}
</td>
<
!--<td>免租时间:{{(d.rent_free == -1)?'面议':d.rent_free}}</td>--
>
<td>
来源:{{
d.source
}}
</td>
<td>
是否对客户展示:{{(d.is_
show==0
)?'是':'否'}}
</td>
</tr>
<tr>
<td>
交付装修:{{d.
id
}}
</td>
<td>
办公楼标签:{{
(d.shop_type==1)?'街铺':'商场'
}}
</td>
<td>
交付装修:{{d.
decoration
}}
</td>
<td>
办公楼标签:{{
d.shop_sign
}}
</td>
<td></td>
<td></td>
</tr>
...
...
application/index/view/officeBuilding/officeEdit.html
View file @
3dcb5972
This diff is collapsed.
Click to expand it.
public/app/js/office_detail_pc.js
View file @
3dcb5972
...
...
@@ -25,7 +25,7 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio
content
:
''
,
//跟进的内容,填写
select_public
:
''
,
//c端公开选择
select_public_var
:
''
,
//记录c端公开 的变量
d
:
{}
d
:
{}
,
//房源详情
},
created
:
function
()
{
var
_this
=
this
;
...
...
@@ -262,10 +262,10 @@ require(['vue','css!style/office_detail_pc.css','jquery0325', 'common'], functio
var
_this
=
this
;
$
.
ajax
({
type
:
'get'
,
url
:
'/
broker/getShopDetail
'
,
url
:
'/
office/houseEdit
'
,
data
:
{
'id'
:
shop_id
,
'site_area'
:
4
,
//pc后台固定传4
//
'site_area': 4, //pc后台固定传4
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
},
timeout
:
30000
,
...
...
public/resource/js/officeBuildingList.js
View file @
3dcb5972
...
...
@@ -1315,40 +1315,8 @@ if(data.code == 200) {
params
.
agent_id
=
user_info_obj
.
id
;
params
.
pageNo
=
business
.
pageNo
;
params
.
pageSize
=
business
.
pageSize
;
params
.
is_carefully_chosen
=
$
(
'#is_carefully_chosen option:selected'
).
val
();
//首页显示
params
.
is_show
=
$
(
'#is_show option:selected'
).
val
();
//c端显示
params
.
shop_type
=
$
(
'#shop_type option:selected'
).
val
();
//商铺类型
// params.leased = $('#leased option:selected').val(); 商铺状态
params
.
status
=
$
(
'#leased option:selected'
).
val
();
//商铺状态 上架 下架
params
.
is_exclusive_type
=
$
(
'#is_exclusive_type option:selected'
).
val
();
//是否独家
params
.
id
=
$
(
'#id'
).
val
();
//商铺编号
params
.
internal_address
=
$
(
'#shop_address'
).
val
();
//商铺地址,即对内地址
params
.
internal_title
=
$
(
'#internal_title'
).
val
();
//对内商铺名称
params
.
external_title
=
$
(
'#internal_title_open'
).
val
();
//对外商铺名称
params
.
is_lock
=
$
(
'#is_lock_plate'
).
val
();
//锁盘筛选
params
.
vip
=
$
(
'#is_vip_plate'
).
val
();
//VIP盘筛选
//添加个人商铺和所有商铺选择功能
params
.
dish_id
=
business
.
all_shop
?
''
:
user_info_obj
.
id
;
params
.
city
=
$
(
'.shop_city_choose_site_list'
).
val
();
//城市筛选
params
.
disc
=
$
(
'#shop_area_id'
).
val
();
//区域筛选
params
.
business_id
=
$
(
'#business_circle_id'
).
val
();
//商圈筛选
params
.
industry_type
=
$
(
'#yetai_id'
).
val
();
//业态筛选
params
.
dish_phone
=
$
(
'#dish_phone'
).
val
();
//盘方手机号
params
.
landlord_phone
=
$
(
'#landlord_phone'
).
val
();
//房东手机号
params
.
start_date
=
$
(
'#start_date'
).
val
();
//时间1
params
.
end_date
=
$
(
'#end_date'
).
val
();
//时间2
params
.
dish_district_id
=
$
(
'#district_id_panfang'
).
val
();
//盘方 部门 id
params
.
dish_store_id
=
$
(
'#guest_stores_panfang'
).
val
();
//盘方 门店 id
params
.
dish_name
=
business
.
agent_id_choose
;
//盘方姓名 下拉式
params
.
area_start
=
$
(
'#area_start'
).
val
();
//面积开始
params
.
area_end
=
$
(
'#area_end'
).
val
();
//面积结束
params
.
price_start
=
$
(
'#price_start'
).
val
();
//月租金开始
params
.
price_end
=
$
(
'#price_end'
).
val
();
//月租金结束
params
.
fit_industry_type
=
$
(
'#suitable_yetai_input'
).
val
();
//适合业态
params
.
residue_type
=
$
(
'#lease_state'
).
val
();
//求租 已租 无效 筛选
$
.
ajax
({
url
:
'/
index/getHouseList.html
'
,
//获取列表
url
:
'/
office_index/getRoomList
'
,
//获取列表
type
:
'GET'
,
async
:
true
,
data
:
params
,
...
...
public/resource/js/officeEdit.js
View file @
3dcb5972
This diff is collapsed.
Click to expand it.
public/resource/template/office_building_list_template_tpl.html
View file @
3dcb5972
...
...
@@ -6,53 +6,31 @@
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
[
%
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
<
span
class
=
"btn1 btn-warning btn-xs"
>
锁盘
<
/span
>
[
%
}
%
]
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
<
span
class
=
"btn1 btn-warning btn-xs"
>
VIP
盘
<
/span
>
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
[
%
}
else
{
%
]
街铺
[
%
if
(
it
[
item
][
'type'
]
==
1
)
{
%
]
写字楼
[
%
}
else
if
(
it
[
item
][
'type'
]
==
2
)
{
%
]
商住两用
[
%
}
else
if
(
it
[
item
][
'type'
]
==
3
)
{
%
]
园区
[
%
}
else
if
(
it
[
item
][
'type'
]
==
4
)
{
%
]
洋房
[
%
}
else
if
(
it
[
item
][
'type'
]
==
5
)
{
%
]
联合办公
[
%
}
else
if
(
it
[
item
][
'type'
]
==
6
)
{
%
]
厂房
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'disc'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_title'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'floor'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'rent_type'
]
==
1
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
2
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
%
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
3
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
/
天
/
㎡
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
4
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
/
年
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
5
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
/
月
/
㎡
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"slotting_fee"
]
/
100
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"slotting_fee"
]
/
100
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
[
%=
it
[
item
][
"shop_area_start"
]
+
'-'
+
it
[
item
][
"shop_area_end"
]
%
]
㎡
[
%
}
else
{
%
]
[
%=
it
[
item
][
"shop_area_start"
]
%
]
㎡
[
%
}
%
]
<
/td
>
<
td
width
=
"10%"
>
[
%=
hideStr
(
it
[
item
][
'industry_type'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'dish_name'
]
%
]
<
/td
>
<
td
width
=
"10%"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%=
it
[
item
][
'business_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'title'
]
%
]
<
/td
>
<
td
>
楼层
<
/td
>
<
td
>
[
%=
it
[
item
][
"price_total"
]
%
]
<
/td
>
<
td
>
租金单价
<
/td
>
<
td
>
[
%=
it
[
item
][
"area"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"station_start"
]
%
]
-
[
%=
it
[
item
][
"station_end"
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
审核
[
%
}
else
if
(
it
[
item
][
"status"
]
==
1
){
%
]
...
...
@@ -63,31 +41,34 @@
无效
[
%
}
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"residue_num"
]
==
0
)
{
%
]
已租
[
%
}
else
{
%
]
求租
[
%
}
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"is_show"
]
==
0
)
{
%
]
是
[
%
}
else
if
(
it
[
item
][
"is_show"
]
==
1
)
{
%
]
否
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'dish_name'
]
%
]
<
/td
>
<
td
width
=
"10%"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"is_lock"
]
==
0
||
check_auth
(
'index/lockHouse'
)
||
it
[
item
][
"auth_edit_exclusive"
]
==
1
||
it
[
item
][
"auth_edit_house"
]
==
1
)
{
%
]
<
a
class
=
"btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]"
href
=
"#modal_shop_detail"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
跟进
/
查看
<
/a
>
<
a
class
=
"btn1 is_show_shoucang [%= sw(it[item]['is_collect']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
!--<
a
class
=
"btn1 is_show_shoucang [%= sw(it[item]['is_collect']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_collect"
]
==
1
)
{
%
]
取消收藏
[
%
}
else
if
(
it
[
item
][
"is_collect"
]
==
2
)
{
%
]
收藏
[
%
}
%
]
<
/a
>
<
/a>
--
>
[
%
}
%
]
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
...
...
@@ -104,7 +85,7 @@
[
%
if
(
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success is_show btn-default-hide-display"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
!--<
a
class
=
"btn1 btn-success is_show btn-default-hide-display"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_carefully_chosen"
]
==
0
)
{
%
]
推荐至首页
[
%
}
else
if
(
it
[
item
][
"is_carefully_chosen"
]
==
1
)
{
%
]
...
...
@@ -112,39 +93,39 @@
[
%
}
%
]
<
/a
>
<
/a>
--
>
[
%
}
%
]
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
!--<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
已锁盘
[
%
}
else
{
%
]
锁盘
[
%
}
%
]
<
/a
>
<
/a>
--
>
[
%
}
%
]
[
%
if
(
it
[
item
][
"is_can_edit_only_contract"
]
==
0
)
{
%
]
<
a
class
=
"btn1 btn-success dujia btn-default-hide-display"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
exclusive
=
'[%= it[item]["auth_edit_exclusive"] %]'
>
是否独家
<
/a
>
[
%
}
%
]
<
!--<
a
class
=
"btn1 btn-success dujia btn-default-hide-display"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
exclusive
=
'[%= it[item]["auth_edit_exclusive"] %]'
>
是否独家
<
/a
>
-->
[
%
}
%
]
[
%
if
(
check_auth
(
'index/houseDel'
))
{
%
]
[
%
if
((
it
[
item
][
"status"
]
!=
3
)){
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
无效
<
/a
>
<
!--<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
无效
<
/a
>
[
%
}
else
{
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
class
=
"btn1 btn-default add_applies del_modal btn-default-hide-display"
>
已无效
<
/a
>
[
%
}
%
]
[
%
}
%
]
-->
[
%
}
%
]
[
%
if
(
check_auth
(
'index/vipHouse'
))
{
%
]
<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw3(it[item]['is_vip']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
!--<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw3(it[item]['is_vip']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
取消
VIP
盘
[
%
}
else
{
%
]
VIP
盘
[
%
}
%
]
<
/a
>
<
/a>
--
>
[
%
}
%
]
<
a
class
=
"btn1 btn-default btn-default-hide-caozuo btn-default-hide-display"
><<<<
/a
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment