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
c00b9cb5
Commit
c00b9cb5
authored
Sep 06, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户浏览
parent
86c66300
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
houseList.html
application/index/view/houses/houseList.html
+4
-0
houseList.js
public/resource/js/houseList.js
+8
-2
No files found.
application/index/view/houses/houseList.html
View file @
c00b9cb5
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"houseList"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"houseList"
/>
<style>
<style>
.weixinimg
{
height
:
30px
;
width
:
30px
;
}
video
{
video
{
outline
:
none
;
outline
:
none
;
}
}
...
...
public/resource/js/houseList.js
View file @
c00b9cb5
...
@@ -1115,7 +1115,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -1115,7 +1115,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
caozuo_table
=
""
;
var
caozuo_table
=
""
;
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
'url'
:
'/broker/get
UserLookShopList
'
,
'url'
:
'/broker/get
ShopUserVisitLog
'
,
data
:
{
data
:
{
"house_id"
:
business
.
house_id
,
"house_id"
:
business
.
house_id
,
"pageNo"
:
business
.
pageNoUser
,
"pageNo"
:
business
.
pageNoUser
,
...
@@ -1141,7 +1141,13 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -1141,7 +1141,13 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
}
else
{
}
else
{
var
type_
=
'微信'
var
type_
=
'微信'
}
}
caozuo_table
+=
'<tr><td>'
+
item
.
look_day
+
'</td> <td>'
+
item
.
house_id
+
'</td> <td>'
+
(
item
.
user_id
==
0
?
''
:
item
.
user_id
)
+
'</td> <td>'
+
type_
+
'</td><td>'
+
item
.
look_day
+
item
.
look_day
+
(
item
.
user_id
==
0
?
''
:
(
' <a class="user-detail btn btn-info" href="#modal-userDetail" data-toggle="modal" data-id="'
+
item
.
user_id
+
'">客户详情</a>'
))
+
'</td></tr>'
if
(
item
.
buyer_img
){
var
img
=
'<img class="diagram-image J_preview weixinimg" src="'
+
item
.
buyer_img
+
'" />'
;
}
else
{
var
img
=
''
;
}
caozuo_table
+=
'<tr><td>'
+
item
.
create_time
+
'</td> <td>'
+
business
.
house_id
+
'</td> <td>'
+
(
!
item
.
user_id
?
''
:
item
.
user_id
)
+
'</td> <td>'
+
type_
+
'</td><td>'
+
(
!
item
.
buyer_nick
?
''
:
item
.
buyer_nick
)
+
img
+
(
!
item
.
user_id
?
''
:
(
' <a class="user-detail btn btn-info" href="#modal-userDetail" data-toggle="modal" data-id="'
+
item
.
user_id
+
'">客户详情</a>'
))
+
'</td></tr>'
});
});
if
(
caozuo_table
){
if
(
caozuo_table
){
$
(
"#caozuo_table_kehu"
).
append
(
caozuo_table
);
$
(
"#caozuo_table_kehu"
).
append
(
caozuo_table
);
...
...
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