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
bd258f87
Commit
bd258f87
authored
Aug 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户查看记录
parent
00712311
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
houseList.html
application/index/view/houses/houseList.html
+18
-0
houseList.js
public/resource/js/houseList.js
+31
-0
No files found.
application/index/view/houses/houseList.html
View file @
bd258f87
...
...
@@ -615,6 +615,7 @@
<span
class=
"btn-default-liu"
>
查看日志
</span>
<span
class=
"btn-default-liu"
>
编辑日志
</span>
<span
class=
"btn-default-liu"
>
商铺视频
</span>
<span
class=
"btn-default-liu"
>
客户浏览记录
</span>
</h4>
</div>
...
...
@@ -693,6 +694,23 @@
<tbody
class=
"text-center"
id=
"shop-details-video"
>
</table>
</div>
<!--编辑日志-->
<div
class=
"detail-modal-body-sec iframe-shop-detail-scroll"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<th
class=
"text-center"
>
查看时间
</th>
<th
class=
"text-center"
>
商铺ID
</th>
<th
class=
"text-center"
>
客户ID
</th>
<th
class=
"text-center"
>
查看端口
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"caozuo_table_kehu"
>
</table>
</div>
</div>
</div>
...
...
public/resource/js/houseList.js
View file @
bd258f87
...
...
@@ -508,6 +508,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
if
(
business
.
detailTabIndex
==
5
){
//商铺视频
business
.
shopVideo
();
};
if
(
business
.
detailTabIndex
==
6
){
//商铺视频
business
.
Caozuokehu
();
};
});
// 提交按钮设置案场权限人
...
...
@@ -1093,6 +1096,34 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
}
});
},
Caozuokehu
:
function
()
{
//获取客户浏览商铺记录
var
caozuo_table
=
""
;
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/getEditLog'
,
//获取操作记录
data
:
{
"house_id"
:
business
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
create_time
+
'</td> <td>'
+
item
.
name
+
'</td> <td>'
+
item
.
remark
+
'</td> <td>'
+
item
.
remark
+
'</td></tr>'
});
if
(
caozuo_table
){
$
(
"#caozuo_table_kehu"
).
html
(
caozuo_table
);
}
else
{
$
(
"#caozuo_table_kehu"
).
html
(
'<tr><td colspan="4">暂无数据</td></tr>'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
Submit_follow
:
function
()
{
//提交案场权限人数据
var
agents_id
=
""
;
var
_agents_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