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
202715a8
Commit
202715a8
authored
Jul 11, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表
parent
5e794064
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
71 additions
and
64 deletions
+71
-64
shop_detail_pc.html
application/app_broker/view/index/shop_detail_pc.html
+30
-50
shop_detail_pc.css
public/app/css/shop_detail_pc.css
+19
-3
shop_detail_pc.js
public/app/js/shop_detail_pc.js
+2
-2
houseList.js
public/resource/js/houseList.js
+3
-2
public.js
public/resource/js/public.js
+8
-0
reportList.js
public/resource/js/reportList.js
+1
-1
house_template_tpl.html
public/resource/template/house_template_tpl.html
+3
-5
reportList_maid_template_tpl.html
public/resource/template/reportList_maid_template_tpl.html
+5
-1
No files found.
application/app_broker/view/index/shop_detail_pc.html
View file @
202715a8
...
@@ -13,14 +13,14 @@
...
@@ -13,14 +13,14 @@
<body
style=
"display: none;"
>
<body
style=
"display: none;"
>
<div
id=
"app"
>
<div
id=
"app"
>
<main>
<main>
<section>
<section
v-if=
"d.lookShopArr && (d.lookShopArr.isPanParty || (d.lookShopArr.residue_num>0))"
>
<table>
<table>
<tbody>
<tbody>
<tr>
<tr>
<td>
商铺编号:{{d.id}}
</td>
<td>
商铺编号:{{d.id}}
</td>
<td>
商铺类型:{{d.shop_type?'街铺':'商场'}}
</td>
<td>
商铺类型:{{d.shop_type?'街铺':'商场'}}
</td>
<td>
是否对客户展示:{{}}
</td>
<td>
是否对客户展示:{{
d.is_show?'否':'是'
}}
</td>
<td>
是否独家:{{}}
</td>
<td>
是否独家:{{
d.is_exclusive_type?'是':'否'
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td>
{{dealPrice}}
</td>
<td>
{{dealPrice}}
</td>
...
@@ -41,15 +41,15 @@
...
@@ -41,15 +41,15 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
对内商铺名称:{{}}
</td>
<td
colspan=
"2"
>
对内商铺名称:{{
d.internal_title
}}
</td>
<td
colspan=
"2"
>
对内商铺地址:{{}}
</td>
<td
colspan=
"2"
>
对内商铺地址:{{
d.province}}{{d.city+d.disc+d.internal_address
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
交通:{{d.traffic}}
</td>
<td
colspan=
"2"
>
交通:{{d.traffic}}
</td>
<td
colspan=
"2"
>
签约规则:{{d.sign_rule}}
</td>
<td
colspan=
"2"
>
签约规则:{{d.sign_rule}}
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
对内项目优势:{{}}
</td>
<td
colspan=
"2"
>
对内项目优势:{{
d.internal_item_advantage
}}
</td>
<td
colspan=
"2"
>
标签:{{d.shop_sign}}
</td>
<td
colspan=
"2"
>
标签:{{d.shop_sign}}
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -58,15 +58,8 @@
...
@@ -58,15 +58,8 @@
<td>
开业时间:{{d.start_business_date}}
</td>
<td>
开业时间:{{d.start_business_date}}
</td>
<td>
煤气:{{d.is_has_gas?'没有':'有'}}
</td>
<td>
煤气:{{d.is_has_gas?'没有':'有'}}
</td>
</tr>
</tr>
<tr>
<tr
class=
"tr-seat"
>
<td
colspan=
"4"
class=
"oh"
>
<td
colspan=
"4"
></td>
<div
class=
"fl"
>
列表页封面图:
</div>
<div
class=
"fl"
>
<ul>
<li><img
:src=
"d"
/></li>
</ul>
</div>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"4"
class=
"oh"
>
<td
colspan=
"4"
class=
"oh"
>
...
@@ -78,79 +71,66 @@
...
@@ -78,79 +71,66 @@
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr
class=
"tr-seat"
>
<td
colspan=
"4"
class=
"oh"
>
<td
colspan=
"4"
></td>
<div
class=
"fl"
>
独家合同:
</div>
<div
class=
"fl"
>
<ul
class=
"oh img-list"
>
<li
class=
"fl oh"
v-for=
"(item, index) in d.images"
:key=
"index"
:data-id=
"item.id"
><img
class=
"fl"
:src=
"d.api_path+item.img_name"
/></li>
</ul>
</div>
</td>
</tr>
</tr>
<tr>
<tr
v-if=
"!d.is_show"
>
<td
colspan=
"2"
>
对外商铺名称:{{}}
</td>
<td
colspan=
"2"
>
对外商铺名称:{{
d.external_title
}}
</td>
<td
colspan=
"2"
>
对外商铺地址:{{}}
</td>
<td
colspan=
"2"
>
对外商铺地址:{{
d.province}}{{d.city+d.disc+d.external_address
}}
</td>
</tr>
</tr>
<tr>
<tr
v-if=
"!d.is_show"
>
<td
colspan=
"2"
>
对外项目优势:{{}}
</td>
<td
colspan=
"2"
>
对外项目优势:{{
d.external_item_advantage
}}
</td>
<td
colspan=
"2"
></td>
<td
colspan=
"2"
></td>
</tr>
</tr>
<tr
class=
"tr-seat"
>
<td
colspan=
"4"
></td>
</tr>
<tr>
<tr>
<td
colspan=
"4"
>
<td
colspan=
"4"
>
<div
class=
"fl"
>
房东:
</div>
<div
class=
"fl"
>
房东:
</div>
<div
class=
"fl"
>
<div
class=
"fl"
>
<ul
class=
"oh
lanlord
-list"
>
<ul
class=
"oh
phone
-list"
>
<li
class=
"fl oh"
v-for=
"(item, index) in d.landlord_phone"
:key=
"index"
>
{{item.name+'-'+item.phone}}
</li>
<li
class=
"fl oh"
v-for=
"(item, index) in d.landlord_phone"
:key=
"index"
>
{{item.name+'-'+item.phone}}
</li>
</ul>
</ul>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"4"
>
房东备注:{{}}
</td>
<td
colspan=
"4"
>
房东备注:{{
d.landlord_remark
}}
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"4"
>
<td
colspan=
"4"
>
<div
class=
"fl"
>
盘方:
</div>
<div
class=
"fl"
>
盘方:
</div>
<div
class=
"fl"
>
<div
class=
"fl"
>
<ul
class=
"oh
lanlord
-list"
>
<ul
class=
"oh
phone
-list"
>
<li
class=
"fl oh"
v-for=
"(item, index) in d.panParty"
:key=
"index"
:data-id=
"item.id"
>
{{item.name+'-'+item.phone}}
</li>
<li
class=
"fl oh"
v-for=
"(item, index) in d.panParty"
:key=
"index"
:data-id=
"item.id"
>
{{item.name+'-'+item.phone}}
</li>
</ul>
</ul>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr
v-if=
"false"
>
<td
colspan=
"4"
>
<td
colspan=
"4"
>
<div
class=
"fl"
>
案场权限人:
</div>
<div
class=
"fl"
>
案场权限人:
</div>
<div
class=
"fl"
>
<div
class=
"fl"
>
<ul
class=
"oh
lanlord
-list"
>
<ul
class=
"oh
phone
-list"
>
<li
class=
"fl oh"
v-for=
"(item, index) in d.panParty"
:key=
"index"
:data-id=
"item.phone"
>
{{item.name+'-'+item.phone}}
</li>
<li
class=
"fl oh"
v-for=
"(item, index) in d.panParty"
:key=
"index"
:data-id=
"item.phone"
>
{{item.name+'-'+item.phone}}
</li>
</ul>
</ul>
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
上传时间:{{d
ealArea
}}
</td>
<td>
上传时间:{{d
.create_time
}}
</td>
<td>
最后编辑时间:{{d.
market_area
}}
</td>
<td>
最后编辑时间:{{d.
update_time
}}
</td>
<td
>
独家有效期:{{d.residue_num
}}
</td>
<td
v-if=
"d.is_exclusive_type"
>
独家有效期:{{d.agent_start_time+'至'+d.agent_end_time
}}
</td>
<td
>
独家方:{{d.total}}
</td>
<td
v-if=
"d.is_exclusive_type"
>
<!--独家方:{{d.exclusive_name}}-->
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</section>
</section>
<section
v-else
>
查看数量已达上限
</section>
</main>
</main>
</div>
</div>
<script
src=
"/app/js/libs/require.min.js"
data-js=
"/app/js/shop_detail_pc.js"
data-main=
"/app/js/main"
data-norem=
"yes"
defer
async=
"true"
></script>
<script
src=
"/app/js/libs/require.min.js"
data-js=
"/app/js/shop_detail_pc.js"
data-main=
"/app/js/main"
data-norem=
"yes"
defer
async=
"true"
></script>
</body>
</body>
</html>
</html>
\ No newline at end of file
<!--
report 报备
march_in 进场
follow_up_log 跟进
pay_log 收款
refund 退款
bargain 成交报告
-->
\ No newline at end of file
public/app/css/shop_detail_pc.css
View file @
202715a8
@charset
"utf-8"
;
@charset
"utf-8"
;
body
{
body
{
background-color
:
white
;
background-color
:
white
;
font-size
:
1
6
px
;
font-size
:
1
4
px
;
}
}
main
>
section
{
main
>
section
{
padding
:
20px
;
padding
:
20px
;
...
@@ -14,6 +14,16 @@ table td{
...
@@ -14,6 +14,16 @@ table td{
padding
:
5px
10px
;
padding
:
5px
10px
;
width
:
260px
;
width
:
260px
;
}
}
.tr-seat
{
height
:
20px
;
}
tbody
>
tr
:nth-of-type
(
10
),
tbody
>
tr
:nth-of-type
(
12
),
tbody
>
tr
:nth-of-type
(
14
),
tbody
>
tr
:nth-of-type
(
16
)
{
margin-top
:
20px
;
border-top
:
1px
solid
#999
;
}
.img-list
>
li
{
.img-list
>
li
{
width
:
140px
;
width
:
140px
;
...
@@ -26,4 +36,11 @@ table td{
...
@@ -26,4 +36,11 @@ table td{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
object-fit
:
cover
;
object-fit
:
cover
;
}
}
\ No newline at end of file
.phone-list
>
li
{
background-color
:
#e0e0e0
;
}
.phone-list
>
li
+
li
{
margin-left
:
20px
;
}
public/app/js/shop_detail_pc.js
View file @
202715a8
'use strict'
;
'use strict'
;
require
([
'vue'
,
'css!style/shop_detail_pc.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
){
require
([
'vue'
,
'css!style/shop_detail_pc.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
){
var
shop_id
=
getUrlParam
(
'shop_id'
);
var
shop_id
=
getUrlParam
(
'shop_id'
);
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
session
Storage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
local
Storage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
data
:
{
data
:
{
...
@@ -16,7 +16,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'],function
...
@@ -16,7 +16,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'],function
url
:
ServerHostTempC
+
'/broker/getShopDetail'
,
url
:
ServerHostTempC
+
'/broker/getShopDetail'
,
data
:
{
data
:
{
'id'
:
shop_id
,
'id'
:
shop_id
,
'site_area'
:
3
,
'site_area'
:
4
,
//pc后台固定传4
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
},
},
timeout
:
30000
,
timeout
:
30000
,
...
...
public/resource/js/houseList.js
View file @
202715a8
...
@@ -288,6 +288,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -288,6 +288,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-success'
).
addClass
(
'btn-warning'
);
var
_id
=
_this
.
attr
(
'data-id'
);
var
_id
=
_this
.
attr
(
'data-id'
);
console
.
log
(
_id
);
console
.
log
(
_id
);
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
...
@@ -707,7 +708,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -707,7 +708,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
getFollowupList
:
function
(){
getFollowupList
:
function
(){
$
.
ajax
({
$
.
ajax
({
'type'
:
'get'
,
'type'
:
'get'
,
'url'
:
'https://pre2.tonglianjituan.com'
+
'/broker/getListByHouseId'
,
'url'
:
ServerHostTempC
+
'/broker/getListByHouseId'
,
data
:
{
data
:
{
'house_id'
:
business
.
id
,
'house_id'
:
business
.
id
,
'AuthToken'
:
business
.
AuthToken
'AuthToken'
:
business
.
AuthToken
...
@@ -742,7 +743,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -742,7 +743,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
};
};
$
.
ajax
({
$
.
ajax
({
'type'
:
'post'
,
'type'
:
'post'
,
'url'
:
'https://pre2.tonglianjituan.com'
+
'/broker/addShopFollowUp'
,
'url'
:
ServerHostTempC
+
'/broker/addShopFollowUp'
,
data
:
{
data
:
{
'house_id'
:
business
.
id
,
'house_id'
:
business
.
id
,
'AuthToken'
:
business
.
AuthToken
,
'AuthToken'
:
business
.
AuthToken
,
...
...
public/resource/js/public.js
View file @
202715a8
...
@@ -93,6 +93,14 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -93,6 +93,14 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
layerTipsX
=
function
(
n
){
layer
.
open
({
content
:
n
,
skin
:
"msg"
,
time
:
2
})};
//注册一个layer自定义全局函数
layerTipsX
=
function
(
n
){
layer
.
open
({
content
:
n
,
skin
:
"msg"
,
time
:
2
})};
//注册一个layer自定义全局函数
});
});
var
ServerHost
=
location
.
origin
;
var
ServerHostTempC
=
'https://pre2.tonglianjituan.com'
;
if
(
~
ServerHost
.
indexOf
(
'run.tonglianjituan.com'
)){
ServerHostTempC
=
'https://run.tonglianjituan.com'
;
};
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
ServerHostTempC
=
'https://api.tonglianjituan.com'
;
};
function
getUrlParam
(
name
)
{
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
decodeURI
(
window
.
location
.
search
).
substr
(
1
).
match
(
reg
);
var
r
=
decodeURI
(
window
.
location
.
search
).
substr
(
1
).
match
(
reg
);
...
...
public/resource/js/reportList.js
View file @
202715a8
...
@@ -219,7 +219,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -219,7 +219,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
if
(
confirm
(
'确认删除吗?'
)){
if
(
confirm
(
'确认删除吗?'
)){
var
_id
=
_this
.
closest
(
'tr'
).
attr
(
'data-
agent
id'
);
var
_id
=
_this
.
closest
(
'tr'
).
attr
(
'data-id'
);
bargain
.
deletMaid
(
_id
);
bargain
.
deletMaid
(
_id
);
};
};
});
});
...
...
public/resource/template/house_template_tpl.html
View file @
202715a8
...
@@ -52,11 +52,9 @@
...
@@ -52,11 +52,9 @@
[
%
}
%
]
[
%
}
%
]
<
/td>--
>
<
/td>--
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit'
))
{
%
]
<
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 [%= (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
>
[
%
}
%
]
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit
'
))
{
%
]
[
%
if
(
check_auth
(
'broker/addShopFollowUp
'
))
{
%
]
<
a
class
=
"btn1 btn-success "
href
=
"#modal_followup"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
跟进
<
/a
>
<
a
class
=
"btn1 btn-success "
href
=
"#modal_followup"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
跟进
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
@@ -65,7 +63,7 @@
...
@@ -65,7 +63,7 @@
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/houseEdit'
))
{
%
]
[
%
if
(
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐
至首页
<
/a
>
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐
<
/a
>
[
%
}
%
]
[
%
}
%
]
<!--
[
%
if
(
check_auth
(
'index/addHousesAgents'
))
{
%
]
<!--
[
%
if
(
check_auth
(
'index/addHousesAgents'
))
{
%
]
...
...
public/resource/template/reportList_maid_template_tpl.html
View file @
202715a8
...
@@ -31,7 +31,11 @@
...
@@ -31,7 +31,11 @@
<
/div>
<
/div>
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
><
a
href
=
"javascript:;"
class
=
"detail-modal-maid-a-del"
>
删除
<
/a></
td
>
<
td
>
[
%
if
(
check_auth
(
'index/delPartialCommission'
)
&&
(
it
[
'data'
][
i
][
'father_id'
]
!=
0
))
{
%
]
<
a
href
=
"javascript:;"
class
=
"detail-modal-maid-a-del"
>
删除
<
/a
>
[
%
}
%
]
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
...
...
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