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
61fc066e
Commit
61fc066e
authored
Oct 31, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广链接 修改
parent
2ab88949
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
Report.php
application/index/controller/Report.php
+1
-1
houseList.html
application/index/view/houses/houseList.html
+1
-1
route.php
application/route.php
+1
-1
houseList.js
public/resource/js/houseList.js
+25
-0
No files found.
application/index/controller/Report.php
View file @
61fc066e
...
...
@@ -22,7 +22,7 @@ class Report extends Basic
public
function
inspectionRecordAll
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'reportList'
);
return
view
(
'report
/report
List'
);
}
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
...
...
application/index/view/houses/houseList.html
View file @
61fc066e
...
...
@@ -306,7 +306,7 @@
<!-- 本人商铺 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"persional_shop"
title=
"点击切换到本人商铺"
>
本人商铺
</span>
<!-- 生成推广链接 -->
<a
href=
"#modal_link"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
>
生成推广链接
</a>
<a
href=
"#modal_link"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld
link_shop_c
"
>
生成推广链接
</a>
<!-- 高级搜索 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"main_select"
title=
"高级搜索"
>
高级搜索
</span>
</div>
...
...
application/route.php
View file @
61fc066e
...
...
@@ -342,7 +342,7 @@ Route::group('index', [
'addSite'
=>
[
'index/Site/addSite'
,
[
'method'
=>
'POST|GET'
]
],
//获取站点列表 朱伟 2018-10-18
'getSiteList'
=>
[
'index/Site/getSiteList'
,
[
'method'
=>
'POST|GET'
]
],
//获取站点列表 朱伟 2018-10-18
'delImageDepot'
=>
[
'index/Site/delImageDepot'
,
[
'method'
=>
'POST|GET'
]
],
//关闭或开启站点 朱伟 2018-10-18
'inspectionRecordAll'
=>
[
'index/
r
eport/inspectionRecordAll'
,
[
'method'
=>
'GET'
]
],
//全部约带看
'inspectionRecordAll'
=>
[
'index/
R
eport/inspectionRecordAll'
,
[
'method'
=>
'GET'
]
],
//全部约带看
]);
...
...
public/resource/js/houseList.js
View file @
61fc066e
...
...
@@ -115,6 +115,31 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
_doc
.
delegate
(
".addphone-agent"
,
"click"
,
function
()
{
//客户列表 客户员工 下拉式 搜索 点击li事件 获取id ul消失
business
.
addphoneAgent
(
this
);
});
_doc
.
on
(
'click'
,
'.link_shop_c'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
var
_shopLink
=
'https://www.tonglianjituan.com/shop_link.html?type=1&city=1'
;
var
_select_type
=
0
;
if
(
$
(
'#district_id_panfang'
).
val
()){
_shopLink
+=
p_district_id
+
"&"
+
$
(
'#district_id_panfang'
).
val
();
var
_select_type
=
1
;
};
if
(
$
(
'#guest_stores_panfang'
).
val
()){
_shopLink
+=
p_store_id
+
"&"
+
$
(
'#guest_stores_panfang'
).
val
();
var
_select_type
=
2
;
}
if
(
$
(
'#dish_name'
).
val
()){
_shopLink
+=
p_agent_id
+
"&"
+
$
(
'#dish_name'
).
val
();
var
_select_type
=
3
;
}
_shopLink
+=
"&"
+
_select_type
;
if
(
_select_type
==
0
){
$
(
'#link_content'
).
html
(
'进行部门 门店 个人筛选 才会有 推广链接产生'
);
}
else
{
$
(
'#link_content'
).
html
(
_shopLink
);
}
});
//点击复制按钮 复制推广 链接
_doc
.
on
(
'click'
,
'.copy_link_content'
,
function
(
e
)
{
e
.
preventDefault
();
...
...
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