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
434d8e75
Commit
434d8e75
authored
Aug 09, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
79fd30a8
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
178 additions
and
128 deletions
+178
-128
getCollection.html
application/index/view/collection/getCollection.html
+1
-1
HouseFollowUp.html
application/index/view/houses/HouseFollowUp.html
+2
-2
houseList.html
application/index/view/houses/houseList.html
+2
-2
myCollectionShopList.html
...ion/index/view/myCollectionShop/myCollectionShopList.html
+1
-1
myCollectionUserList.html
...ion/index/view/myCollectionUser/myCollectionUserList.html
+2
-2
performancesubsidiaryList.html
...view/performancesubsidiary/performancesubsidiaryList.html
+15
-14
remark_follow_index.html
application/index/view/remark/remark_follow_index.html
+4
-4
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+17
-6
callPhoneIndex.js
public/resource/js/callPhoneIndex.js
+11
-8
houseList.js
public/resource/js/houseList.js
+3
-8
myCollectionShopList.js
public/resource/js/myCollectionShopList.js
+2
-2
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+26
-11
performance_subsidiary.js
public/resource/js/performance_subsidiary.js
+11
-14
user.js
public/resource/js/user.js
+17
-9
followHouseUp_template_tpl.html
public/resource/template/followHouseUp_template_tpl.html
+1
-5
get_collection_template_tpl.html
public/resource/template/get_collection_template_tpl.html
+1
-0
house_template_tpl.html
public/resource/template/house_template_tpl.html
+8
-1
my_collection_shop_template_tpl.html
...ic/resource/template/my_collection_shop_template_tpl.html
+22
-20
my_collection_user_template_tpl.html
...ic/resource/template/my_collection_user_template_tpl.html
+6
-3
performance_subsidiary_template_tpl.html
...esource/template/performance_subsidiary_template_tpl.html
+12
-8
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+3
-4
user_template_tpl.html
public/resource/template/user_template_tpl.html
+11
-3
No files found.
application/index/view/collection/getCollection.html
View file @
434d8e75
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
<th
class=
"text-center"
>
所属门店
</th>
<th
class=
"text-center"
>
所属门店
</th>
<th
class=
"text-center"
>
收款金额(元)
</th>
<th
class=
"text-center"
>
收款金额(元)
</th>
<th
class=
"text-center"
>
实付金额(元)
</th>
<th
class=
"text-center"
>
实付金额(元)
</th>
<
th
class=
"text-center"
>
手续费(元)
</th
>
<
!--<th class="text-center">手续费(元)</th>--
>
<th
class=
"text-center"
>
入账类型
</th>
<th
class=
"text-center"
>
入账类型
</th>
<th
class=
"text-center"
>
入账方式
</th>
<th
class=
"text-center"
>
入账方式
</th>
<th
class=
"text-center"
>
商铺地址
</th>
<th
class=
"text-center"
>
商铺地址
</th>
...
...
application/index/view/houses/HouseFollowUp.html
View file @
434d8e75
...
@@ -83,8 +83,8 @@
...
@@ -83,8 +83,8 @@
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_city_id"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_city_id"
>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
"310100"
>
上海
</option>
<option
value=
"310100"
>
上海
市
</option>
<option
value=
"330100"
>
杭州
</option>
<option
value=
"330100"
>
杭州
市
</option>
</select>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_area_id"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_area_id"
>
...
...
application/index/view/houses/houseList.html
View file @
434d8e75
...
@@ -120,8 +120,8 @@
...
@@ -120,8 +120,8 @@
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"internal_title_open"
placeholder=
"对外商铺名称"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"internal_title_open"
placeholder=
"对外商铺名称"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_city_id"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_city_id"
>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
"310100"
>
上海
</option>
<option
value=
"310100"
>
上海
市
</option>
<option
value=
"330100"
>
杭州
</option>
<option
value=
"330100"
>
杭州
市
</option>
</select>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_area_id"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_area_id"
>
...
...
application/index/view/myCollectionShop/myCollectionShopList.html
View file @
434d8e75
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<th
class=
"text-center"
>
面积
</th>
<th
class=
"text-center"
>
面积
</th>
<th
class=
"text-center"
>
业态
</th>
<th
class=
"text-center"
>
业态
</th>
<!--<th class="text-center">最后跟进时间</th>-->
<!--<th class="text-center">最后跟进时间</th>-->
<
th
class=
"text-center"
>
状态
</th
>
<
!--<th class="text-center">状态</th>--
>
<th
class=
"text-center"
>
操作
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
...
...
application/index/view/myCollectionUser/myCollectionUserList.html
View file @
434d8e75
...
@@ -899,8 +899,8 @@
...
@@ -899,8 +899,8 @@
<span
class=
"fore-span ld-Marheight"
>
客户标签:
</span>
<span
class=
"fore-span ld-Marheight"
>
客户标签:
</span>
<select
class=
"form-control btn6 fore-span ld-Marheight"
id=
"user_label_edit"
>
<select
class=
"form-control btn6 fore-span ld-Marheight"
id=
"user_label_edit"
>
<option
value=
''
>
请选择
</option>
<option
value=
''
>
请选择
</option>
<option
value=
"
40
"
>
是租客也是房东
</option>
<option
value=
"
1
"
>
是租客也是房东
</option>
<option
value=
"
41
"
>
纯房东
</option>
<option
value=
"
2
"
>
纯房东
</option>
</select>
</select>
</td>
</td>
</tr>
</tr>
...
...
application/index/view/performancesubsidiary/performancesubsidiaryList.html
View file @
434d8e75
...
@@ -21,21 +21,21 @@
...
@@ -21,21 +21,21 @@
<thead>
<thead>
<!--三级审核的搜索功能-->
<!--三级审核的搜索功能-->
<tr>
<tr>
<td
colspan=
"
9
"
>
<td
colspan=
"
10
"
>
<form
id=
"maintable_form_search"
>
<form
id=
"maintable_form_search"
>
<!--<span class="fore-span">商铺类型:</span>-->
<!--<span class="fore-span">商铺类型:</span>-->
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_shop_type"
>
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_shop_type
_yeji
"
>
<option
value=
"
-1
"
>
商铺类型
</option>
<option
value=
""
>
商铺类型
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
<option
value=
"1"
>
街铺
</option>
</select>
</select>
<!--<span class="fore-span">成交类型:</span>-->
<!--<span class="fore-span">成交类型:</span>-->
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_deal_type"
>
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_deal_type"
>
<option
value=
"
-1
"
>
成交类型
</option>
<option
value=
""
>
成交类型
</option>
<option
value=
"0"
>
出租
</option>
<option
value=
"
1
0"
>
出租
</option>
<option
value=
"
1
"
>
增佣
</option>
<option
value=
"
20
"
>
增佣
</option>
<option
value=
"
2
"
>
代理费
</option>
<option
value=
"
30
"
>
代理费
</option>
<option
value=
"
3
"
>
好处费
</option>
<option
value=
"
40
"
>
好处费
</option>
</select>
</select>
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
...
@@ -65,13 +65,14 @@
...
@@ -65,13 +65,14 @@
</tr>
</tr>
<tr
class=
"maintable-tr-bar"
>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
提交时间
</th>
<th
class=
"text-center"
>
提交时间
</th>
<th
class=
"text-center"
>
是否开业
</th>
<th
class=
"text-center"
>
成交类型
</th>
<th
class=
"text-center"
>
商铺地址
</th>
<th
class=
"text-center"
>
商铺地址
</th>
<th
class=
"text-center"
>
商铺号
</th>
<th
class=
"text-center"
>
商铺编号
</th>
<th
class=
"text-center"
>
成交客户
</th>
<th
class=
"text-center"
>
分佣提成方
</th>
<th
class=
"text-center"
>
客户电话
</th>
<th
class=
"text-center"
>
所属部门门店
</th>
<!--<th class="text-center">成交类型</th>
<th
class=
"text-center"
>
分佣比例
</th>
<th class="text-center">应收佣金(元)</th>-->
<th
class=
"text-center"
>
应收佣金(元)
</th>
<th
class=
"text-center"
>
实收佣金(元)
</th>
<th
class=
"text-center"
>
操作
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
...
...
application/index/view/remark/remark_follow_index.html
View file @
434d8e75
...
@@ -322,8 +322,8 @@
...
@@ -322,8 +322,8 @@
<select
class=
"form-control btn2 ld-Marheight"
id=
"user_city_choose"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"user_city_choose"
>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
""
selected=
"selected"
>
城市筛选
</option>
<option
value=
"310100"
>
上海
</option>
<option
value=
"310100"
>
上海
市
</option>
<option
value=
"330100"
>
杭州
</option>
<option
value=
"330100"
>
杭州
市
</option>
</select>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"user_area_choose"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"user_area_choose"
>
<option
value=
""
selected=
"selected"
>
区域筛选
</option>
<option
value=
""
selected=
"selected"
>
区域筛选
</option>
...
@@ -737,8 +737,8 @@
...
@@ -737,8 +737,8 @@
<span
class=
"fore-span ld-Marheight"
>
客户标签:
</span>
<span
class=
"fore-span ld-Marheight"
>
客户标签:
</span>
<select
class=
"form-control btn6 fore-span ld-Marheight"
id=
"user_label_edit"
>
<select
class=
"form-control btn6 fore-span ld-Marheight"
id=
"user_label_edit"
>
<option
value=
''
>
请选择
</option>
<option
value=
''
>
请选择
</option>
<option
value=
"
40
"
>
是租客也是房东
</option>
<option
value=
"
1
"
>
是租客也是房东
</option>
<option
value=
"
41
"
>
纯房东
</option>
<option
value=
"
2
"
>
纯房东
</option>
</select>
</select>
</td>
</td>
</tr>
</tr>
...
...
public/resource/js/RemarkFollowIndex.js
View file @
434d8e75
...
@@ -749,13 +749,24 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'ckfinder', 'ckfinde
...
@@ -749,13 +749,24 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'ckfinder', 'ckfinde
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
var
city_id
=
310100
;
}
}
if
(
data
.
data
.
user_info
.
city
==
'杭州市'
){
if
(
data
.
data
.
user_info
.
city
==
'杭州市'
){
$
(
"#user_city_edit"
).
val
(
330100
);
//编辑客方
$
(
"#user_city_edit"
).
val
(
330100
);
//编辑客方
var
city_id
=
330100
;
}
}
//区域 渲染
if
(
city_id
)
{
user
.
getCityAreaList
(
city_id
,
function
(
_data
)
{
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
});
$
(
"#user_area_edit"
).
html
(
_str
).
val
(
data
.
data
.
user_info
.
disc
);
});
}
else
{
$
(
"#user_area_edit"
).
val
(
data
.
data
.
user_info
.
disc
);
//编辑区域
};
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
...
@@ -766,14 +777,14 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'ckfinder', 'ckfinde
...
@@ -766,14 +777,14 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'ckfinder', 'ckfinde
if
(
data
.
data
.
user_info
.
source
==
30
)
{
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
".source_type"
).
html
(
'老数据报备客户'
);
$
(
".source_type"
).
html
(
'老数据报备客户'
);
}
}
if
(
data
.
data
.
user_info
.
source
==
40
)
{
if
(
data
.
data
.
user_info
.
user_label
==
1
)
{
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
"#user_label_edit"
).
val
(
40
);
$
(
"#user_label_edit"
).
val
(
1
);
}
}
if
(
data
.
data
.
user_info
.
source
==
41
)
{
if
(
data
.
data
.
user_info
.
user_label
==
2
)
{
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
"#user_label_edit"
).
val
(
41
);
$
(
"#user_label_edit"
).
val
(
2
);
}
}
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
...
...
public/resource/js/callPhoneIndex.js
View file @
434d8e75
...
@@ -201,7 +201,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
...
@@ -201,7 +201,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
});
});
$
(
".close"
).
click
(
function
()
{
$
(
".close"
).
click
(
function
()
{
document
.
getElementById
(
"add_user_form"
).
reset
();
//
document.getElementById("add_user_form").reset();
$
(
".user-ul"
).
empty
();
$
(
".user-ul"
).
empty
();
});
});
...
@@ -258,9 +258,12 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
...
@@ -258,9 +258,12 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
//客户列表操作
//客户列表操作
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击操作跟进详情
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
if
(
user
.
user_id
){
console
.
log
(
user
.
user_id
);
if
(
user
.
user_id
==
'null'
){
// $("#modal-record").modal('hide');
alert
(
'当前用户不存在'
);
alert
(
'当前用户不存在'
);
return
false
;
}
}
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
user
.
agent_id_infor
=
$
(
this
).
attr
(
"data-agentId"
);
user
.
agent_id_infor
=
$
(
this
).
attr
(
"data-agentId"
);
...
@@ -795,7 +798,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
...
@@ -795,7 +798,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
// $(".user_details_label").val(data.data.user_info.
source
); //客方详情 标签
// $(".user_details_label").val(data.data.user_info.
user_label
); //客方详情 标签
$
(
".user_details_city"
).
html
(
data
.
data
.
user_info
.
city
+
data
.
data
.
user_info
.
disc
);
//客方详情 城市
$
(
".user_details_city"
).
html
(
data
.
data
.
user_info
.
city
+
data
.
data
.
user_info
.
disc
);
//客方详情 城市
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
...
@@ -820,14 +823,14 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
...
@@ -820,14 +823,14 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'ckfinder', 'ckfinderSta
if
(
data
.
data
.
user_info
.
source
==
30
)
{
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
".source_type"
).
html
(
'老数据报备客户'
);
$
(
".source_type"
).
html
(
'老数据报备客户'
);
}
}
if
(
data
.
data
.
user_info
.
source
==
40
)
{
if
(
data
.
data
.
user_info
.
source
==
1
)
{
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
"#user_label_edit"
).
val
(
40
);
$
(
"#user_label_edit"
).
val
(
1
);
}
}
if
(
data
.
data
.
user_info
.
source
==
41
)
{
if
(
data
.
data
.
user_info
.
source
==
2
)
{
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
"#user_label_edit"
).
val
(
41
);
$
(
"#user_label_edit"
).
val
(
2
);
}
}
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
...
...
public/resource/js/houseList.js
View file @
434d8e75
...
@@ -130,10 +130,10 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -130,10 +130,10 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
this
).
html
(
'取消收藏'
);
$
(
this
).
html
(
'取消收藏'
);
}
else
if
(
str
==
"取消收藏"
)
{
}
else
if
(
str
==
"取消收藏"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_shoucang'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_shoucang'
);
params
.
type
=
0
;
params
.
type
=
2
;
$
(
this
).
html
(
'收藏'
);
$
(
this
).
html
(
'收藏'
);
}
else
{
}
else
{
params
.
type
=
2
;
params
.
type
=
3
;
}
}
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
//禁用
$
.
ajax
({
//禁用
...
@@ -730,6 +730,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -730,6 +730,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
},
},
//==============批量修改客方===========
//==============批量修改客方===========
getList
:
function
(
pageNo
,
type
)
{
getList
:
function
(
pageNo
,
type
)
{
business
.
agents_id
=
business
.
agent_id
;
business
.
pageNo
=
pageNo
;
business
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
// 商铺列表 默认时间显示
// 商铺列表 默认时间显示
...
@@ -806,12 +807,6 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -806,12 +807,6 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
str_area
+=
'<option value="'
+
(
item
.
id
*
1
+
1
)
+
'">'
+
item
.
value
+
'</option>'
;
str_area
+=
'<option value="'
+
(
item
.
id
*
1
+
1
)
+
'">'
+
item
.
value
+
'</option>'
;
}
}
});
});
//区域筛选
$
.
each
(
data
.
data
.
area
[
1
].
disc
,
function
(
i
,
item
)
{
if
(
item
!=
"全上海市"
){
str_district
+=
'<option value="'
+
item
+
'">'
+
item
+
'</option>'
;
}
});
//业态筛选
//业态筛选
$
.
each
(
data
.
data
.
yetai
,
function
(
i
,
item
)
{
$
.
each
(
data
.
data
.
yetai
,
function
(
i
,
item
)
{
if
(
item
!=
'全部'
){
if
(
item
!=
'全部'
){
...
...
public/resource/js/myCollectionShopList.js
View file @
434d8e75
...
@@ -84,10 +84,10 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -84,10 +84,10 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
$
(
this
).
html
(
'取消收藏'
);
$
(
this
).
html
(
'取消收藏'
);
}
else
if
(
str
==
"取消收藏"
)
{
}
else
if
(
str
==
"取消收藏"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_shoucang'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_shoucang'
);
params
.
type
=
0
;
params
.
type
=
2
;
$
(
this
).
html
(
'收藏'
);
$
(
this
).
html
(
'收藏'
);
}
else
{
}
else
{
params
.
type
=
2
;
params
.
type
=
3
;
}
}
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
//禁用
$
.
ajax
({
//禁用
...
...
public/resource/js/myCollectionUserList.js
View file @
434d8e75
...
@@ -89,10 +89,10 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
...
@@ -89,10 +89,10 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
$
(
this
).
html
(
'取消收藏'
);
$
(
this
).
html
(
'取消收藏'
);
}
else
if
(
str
==
"取消收藏"
)
{
}
else
if
(
str
==
"取消收藏"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show'
);
params
.
type
=
0
;
params
.
type
=
2
;
$
(
this
).
html
(
'收藏'
);
$
(
this
).
html
(
'收藏'
);
}
else
{
}
else
{
params
.
type
=
2
;
params
.
type
=
3
;
}
}
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
//禁用
$
.
ajax
({
//禁用
...
@@ -667,7 +667,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
...
@@ -667,7 +667,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
// params.city = $("#user_city_edit").val();
// params.city = $("#user_city_edit").val();
params
.
disc
=
$
(
"#user_area_edit"
).
val
();
params
.
disc
=
$
(
"#user_area_edit"
).
val
();
params
.
source
=
$
(
"#user_label_edit"
).
val
();
params
.
user_label
=
$
(
"#user_label_edit"
).
val
();
$
.
ajax
({
$
.
ajax
({
...
@@ -799,12 +799,27 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
...
@@ -799,12 +799,27 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
var
city_id
=
310100
;
}
}
if
(
data
.
data
.
user_info
.
city
==
'杭州市'
){
if
(
data
.
data
.
user_info
.
city
==
'杭州市'
){
$
(
"#user_city_edit"
).
val
(
330100
);
//编辑客方
$
(
"#user_city_edit"
).
val
(
330100
);
//编辑客方
}
var
city_id
=
330100
;
};
//区域 渲染
if
(
city_id
)
{
user
.
getCityAreaList
(
city_id
,
function
(
_data
)
{
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
});
$
(
"#user_area_edit"
).
html
(
_str
).
val
(
data
.
data
.
user_info
.
disc
);
});
}
else
{
$
(
"#user_area_edit"
).
val
(
data
.
data
.
user_info
.
disc
);
//编辑区域
};
// $("#user_area_edit").val(data.data.user_info.disc); //编辑区域
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
if
(
data
.
data
.
user_info
.
source
==
10
)
{
...
@@ -816,16 +831,16 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
...
@@ -816,16 +831,16 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
if
(
data
.
data
.
user_info
.
source
==
30
)
{
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
".source_type"
).
html
(
'老数据报备客户'
);
$
(
".source_type"
).
html
(
'老数据报备客户'
);
}
}
if
(
data
.
data
.
user_info
.
source
==
40
)
{
if
(
data
.
data
.
user_info
.
user_label
==
1
)
{
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
"#user_label_edit"
).
val
(
40
);
$
(
"#user_label_edit"
).
val
(
1
);
}
}
;
if
(
data
.
data
.
user_info
.
source
==
41
)
{
if
(
data
.
data
.
user_info
.
user_label
==
2
)
{
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
"#user_label_edit"
).
val
(
41
);
$
(
"#user_label_edit"
).
val
(
2
);
}
}
;
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
...
...
public/resource/js/performance_subsidiary.js
View file @
434d8e75
define
([
'doT'
,
'text!temp/performance_subsidiary_template_tpl.html'
,
'text!temp/reportList_no_edit_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
define
([
'doT'
,
'text!temp/performance_subsidiary_template_tpl.html'
,
'text!temp/reportList_no_edit_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
)
{
bargain
=
{
bargain
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -1328,26 +1328,22 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
...
@@ -1328,26 +1328,22 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
},
},
//获取一级审核,二级审核,三级审核,结单数据列表共用的方法
//获取一级审核,二级审核,三级审核,结单数据列表共用的方法
getList
:
function
(
pageNo
){
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
var
params
=
{
var
params
=
{
'pageNo'
:
pageNo
,
'pageNo'
:
pageNo
,
'pageSize'
:
bargain
.
pageSize
,
'pageSize'
:
bargain
.
pageSize
,
// 'shop_type': $('#maintable_shop_type
').val(),
'shop_type'
:
$
(
'#maintable_shop_type_yeji
'
).
val
(),
'
create_time'
:
$
.
trim
(
$
(
'#maintable_create_time'
).
val
()
),
'
trade_type'
:
$
(
'#maintable_deal_type'
).
val
(
),
'
end_time'
:
$
.
trim
(
$
(
'#maintable_end
_time'
).
val
()),
'
create_time_start'
:
$
.
trim
(
$
(
'#maintable_create
_time'
).
val
()),
'
internal_address'
:
$
.
trim
(
$
(
'#maintable_internal_address
'
).
val
()),
'
create_time_end'
:
$
.
trim
(
$
(
'#maintable_end_time
'
).
val
()),
'
user_phone'
:
$
.
trim
(
$
(
'#maintable_user_phone'
).
val
()),
'
landmark'
:
$
.
trim
(
$
(
'#maintable_internal_address'
).
val
()),
//没有商铺地址 接口
'house_
number
'
:
$
.
trim
(
$
(
'#maintable_shop_num'
).
val
()),
'house_
id
'
:
$
.
trim
(
$
(
'#maintable_shop_num'
).
val
()),
'district_id'
:
$
(
"select[name='district_id'] option:selected"
).
val
(),
'district_id'
:
$
(
"select[name='district_id'] option:selected"
).
val
(),
'store_id'
:
$
(
"select[name='store_id'] option:selected"
).
val
(),
'store_id'
:
$
(
"select[name='store_id'] option:selected"
).
val
(),
'agent_name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'agent_phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
()),
'phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
())
'partial_name'
:
$
.
trim
(
$
(
'#partical_name'
).
val
())
};
};
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
// url: bargain.switchUrl(),
url
:
'/index/performanceInfo'
,
//获取业绩明细列表
url
:
'/index/performanceInfo'
,
//获取业绩明细列表
data
:
params
,
data
:
params
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -1356,7 +1352,8 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
...
@@ -1356,7 +1352,8 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'performance_subsidiary_list_tpl'
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'performance_subsidiary_list_tpl'
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
console
.
log
(
data
.
data
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
...
...
public/resource/js/user.js
View file @
434d8e75
...
@@ -89,10 +89,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -89,10 +89,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
this
).
html
(
'取消收藏'
);
$
(
this
).
html
(
'取消收藏'
);
}
else
if
(
str
==
"取消收藏"
)
{
}
else
if
(
str
==
"取消收藏"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show'
);
params
.
type
=
0
;
params
.
type
=
2
;
$
(
this
).
html
(
'收藏'
);
$
(
this
).
html
(
'收藏'
);
}
else
{
}
else
{
params
.
type
=
2
;
params
.
type
=
3
;
}
}
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
//禁用
$
.
ajax
({
//禁用
...
@@ -786,14 +786,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -786,14 +786,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
".user_details_label"
).
val
(
data
.
data
.
user_info
.
user_label
);
//客方详情 标签
// $(".user_details_label").val(data.data.user_info.source); //客方详情 标签
// $(".user_details_city").html(data.data.user_info.city + data.data.user_info.disc); //客方详情 城市
$
(
".user_details_city"
).
html
(
data
.
data
.
user_info
.
city
+
data
.
data
.
user_info
.
disc
);
//客方详情 城市
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
$
(
"#take_look_phone"
).
html
(
data
.
data
.
user_info
.
user_phone
);
//约带看手机号
$
(
"#take_look_phone"
).
html
(
data
.
data
.
user_info
.
user_phone
);
//约带看手机号
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
if
(
data
.
data
.
user_info
.
city
==
'上海市'
){
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
$
(
"#user_city_edit"
).
val
(
310100
);
//编辑客方
var
city_id
=
310100
;
var
city_id
=
310100
;
...
@@ -816,8 +813,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -816,8 +813,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
};
};
// $("#user_area_edit").val(data.data.user_info.disc); //编辑区域
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
...
@@ -857,8 +852,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -857,8 +852,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
},
//筛选
//筛选
getList
:
function
(
pageNo
)
{
getList
:
function
(
pageNo
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
user
.
pageNo
=
pageNo
;
user
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
params
.
agents_id
=
user_info_obj
.
id
;
// 并列搜索
// 并列搜索
// if($("#district_id").val()!=0){
// if($("#district_id").val()!=0){
...
@@ -980,6 +978,16 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -980,6 +978,16 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
params
.
disc
=
$
(
"#user_area_add"
).
val
();
params
.
disc
=
$
(
"#user_area_add"
).
val
();
params
.
user_label
=
$
(
"#user_label_add"
).
val
();
params
.
user_label
=
$
(
"#user_label_add"
).
val
();
if
(
params
.
city
==
''
)
{
alert
(
'请选择城市'
);
$
(
'#user_city_add'
).
focus
();
return
;
}
if
(
params
.
user_name
==
''
)
{
alert
(
'请选择城市'
);
$
(
"#user_area_add"
).
focus
();
return
;
}
if
(
params
.
user_name
==
''
)
{
if
(
params
.
user_name
==
''
)
{
alert
(
'姓名不能为空'
);
alert
(
'姓名不能为空'
);
$
(
"input[name='user_name']"
).
focus
();
$
(
"input[name='user_name']"
).
focus
();
...
...
public/resource/template/followHouseUp_template_tpl.html
View file @
434d8e75
...
@@ -17,12 +17,8 @@
...
@@ -17,12 +17,8 @@
<
/td
>
<
/td
>
<
td
>
<
td
>
<
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]["house_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]["house_id"] %]'
data
-
toggle
=
"modal"
>
跟进
/
查看
<
/a
>
<
/td
>
<
/td
>
<!--<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["report_id"] %]'
>
查看商铺
<
/a
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["report_id"] %]'
>
商铺跟进
<
/a
>
<
/td>--
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
...
...
public/resource/template/get_collection_template_tpl.html
View file @
434d8e75
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
'transaction_fee'
]
%
]
<
/td>--
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
...
...
public/resource/template/house_template_tpl.html
View file @
434d8e75
<script
id=
"house_list_tpl"
type=
"text/template"
>
<script
id=
"house_list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
1
:
return
"btn-info"
;
case
2
:
return
"btn-default"
}};
%
]
[
%
if
(
it
)
{
%
]
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
...
@@ -55,7 +56,13 @@
...
@@ -55,7 +56,13 @@
<
/td>--
>
<
/td>--
>
<
td
>
<
td
>
<
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
>
<
a
class
=
"btn1 btn-info is_show_shoucang"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
收藏
<
/a
>
<
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
>
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit'
))
{
%
]
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
...
...
public/resource/template/my_collection_shop_template_tpl.html
View file @
434d8e75
...
@@ -2,34 +2,36 @@
...
@@ -2,34 +2,36 @@
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<!--<
th
class
=
"text-center"
>
编号
<
/th
>
<
th
class
=
"text-center"
>
类型
<
/th
>
<
th
class
=
"text-center"
>
区域
0
<
/th
>
<
th
class
=
"text-center"
>
对内名称
<
/th
>
<
th
class
=
"text-center"
>
租金均价
<
/th
>
<
th
class
=
"text-center"
>
面积
<
/th
>
<
th
class
=
"text-center"
>
业态
<
/th
>
<
th
class
=
"text-center"
>
最后跟进时间
<
/th
>
<
th
class
=
"text-center"
>
状态
<
/th
>
<
th
class
=
"text-center"
>
操作
<
/th>--
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'shop_type'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
[
%
}
else
{
%
]
街铺
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'title'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'title'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'rent_price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'shop_area_start'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
'status'
]
%
]
<
/td>--
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"status"
]
!=
null
)
{
%
]
[
%
if
(
it
[
item
][
'rent_type'
]
==
1
)
{
%
]
[
%=
hideStr
(
it
[
item
][
'status'
])
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
2
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
%
[
%
}
else
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
/
天
/
㎡
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/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
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
>
<
td
>
<
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
>
<
a
class
=
"btn1 btn-
info is_show_shoucang"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
收藏
<
/a
>
<
a
class
=
"btn1 btn-
default is_show_shoucang"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
取消
收藏
<
/a
>
<
/td
>
<
/td
>
<!--<
td
>
<!--<
td
>
...
...
public/resource/template/my_collection_user_template_tpl.html
View file @
434d8e75
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<
td
>
[
%=
it
[
item
][
"user_id"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_id"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_name"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_name"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_phone"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_phone"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"user_status"
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"user_status"
]
==
0
)
{
%
]
求租
[
%
}
else
if
(
it
[
item
][
"user_status"
]
==
1
)
{
%
]
已租
[
%
}
else
{
%
]
无效
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"industry_type"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"industry_type"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"price_demand"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"price_demand"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"area_demand"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"area_demand"
]
%
]
<
/td
>
...
@@ -14,8 +14,11 @@
...
@@ -14,8 +14,11 @@
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-info is_show"
data
-
id
=
'[%= it[item]["user_id"] %]'
>
收藏
<
/a
>
<
a
class
=
"btn1 btn-default is_show"
data
-
id
=
'[%= it[item]["user_id"] %]'
>
取消收藏
<
/a
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/performance_subsidiary_template_tpl.html
View file @
434d8e75
<script
id=
"performance_subsidiary_list_tpl"
type=
"text/template"
>
<script
id=
"performance_subsidiary_list_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
if
(
it
)
{
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
data
-
id
=
"[%= it[item]['bargain_id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
data
-
fatherid
=
"[%= it[item]['father_id'] %]"
>
<
tr
class
=
"text-center"
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
data
-
fatherid
=
"[%= it[item]['father_id'] %]"
>
<
td
>
[
%=
it
[
item
][
'operation_date'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'district_store'
]
%
]
<
/td
>
<
td
>
[
%=
sw
(
it
[
item
][
'trade_type'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'district_name'
]
%
]
-
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_number'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'scale'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
order_
id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
tr
>
<
tr
>
<
td
colspan
=
"
8
"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
td
colspan
=
"
10
"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
</script>
</script>
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
434d8e75
...
@@ -33,11 +33,10 @@
...
@@ -33,11 +33,10 @@
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success take-look"
href
=
"#modal-takeLook"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
phone
=
'[%= it[item]["user_phone"] %]'
>
约带看
<
/a>--
>
[
%
}
%
]
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
...
...
public/resource/template/user_template_tpl.html
View file @
434d8e75
<script
id=
"user_list_tpl"
type=
"text/template"
>
<script
id=
"user_list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
1
:
return
"btn-info"
;
case
2
:
return
"btn-default"
}};
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
...
@@ -44,13 +45,20 @@
...
@@ -44,13 +45,20 @@
<
/td
>
<
/td
>
<
td
width
=
"16%"
>
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/useraction_search'
)
)
{
%
]
<
a
class
=
"btn1 btn-success caozuo genj_ure"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 caozuo genj_ure caozuo-add-color [%= getLoaclId(it[item]['id']) %]"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 is_show [%= sw(it[item]['is_collect']) %]"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
cid
=
'[%= it[item]["is_collect"] %]'
>
[
%
if
(
it
[
item
][
"is_collect"
]
==
1
)
{
%
]
收藏
[
%
}
else
if
(
it
[
item
][
"is_collect"
]
==
2
)
{
%
]
取消收藏
[
%
}
%
]
<
/a
>
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
[
%
}
%
]
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a> --
>
<
a
class
=
"btn1 btn-success take-look"
href
=
"#modal-takeLook"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
phone
=
'[%= it[item]["user_phone"] %]'
>
约带看
<
/a
>
[
%
}
%
]
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
...
...
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