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
ad803d17
Commit
ad803d17
authored
Sep 03, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
83795f22
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
houseList.html
application/index/view/houses/houseList.html
+19
-0
user_genjing_modal.html
application/index/view/member/user_genjing_modal.html
+3
-3
houseList.js
public/resource/js/houseList.js
+7
-1
No files found.
application/index/view/houses/houseList.html
View file @
ad803d17
...
@@ -703,6 +703,8 @@
...
@@ -703,6 +703,8 @@
<th
class=
"text-center"
>
商铺ID
</th>
<th
class=
"text-center"
>
商铺ID
</th>
<th
class=
"text-center"
>
客户ID
</th>
<th
class=
"text-center"
>
客户ID
</th>
<th
class=
"text-center"
>
查看端口
</th>
<th
class=
"text-center"
>
查看端口
</th>
<th
class=
"text-center"
>
头像/昵称
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"caozuo_table_kehu"
></tbody>
<tbody
class=
"text-center"
id=
"caozuo_table_kehu"
></tbody>
...
@@ -721,6 +723,23 @@
...
@@ -721,6 +723,23 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--客户浏览-->
<div
class=
"modal fade"
id=
"modal-userDetail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
style=
"width: 850px;"
>
<div
class=
"modal-content"
>
<button
type=
"button"
data-dismiss=
"modal"
aria-hidden=
"true"
style=
"margin-left: 791px;font-size: 26px;height: 20px;line-height: 20px;background: #fff;border: 0;position: relative;z-index: 666666;outline: none;"
>
×
</button>
<div
class=
"modal-body"
style=
"margin-top: -23px;padding: 0;"
>
<iframe
src=
""
frameborder=
"0"
class=
"iframe-user-detail"
style=
"width:100%;height: 756px;display: block;border: none;border-radius: 6px;"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--加载图标-->
<!--加载图标-->
<div
id=
"main_loading_pic"
>
<div
id=
"main_loading_pic"
>
<img
src=
"/resource/image/jz2.gif"
>
<img
src=
"/resource/image/jz2.gif"
>
...
...
application/index/view/member/user_genjing_modal.html
View file @
ad803d17
...
@@ -1028,11 +1028,11 @@
...
@@ -1028,11 +1028,11 @@
<div
class=
"modal fade"
id=
"modal-userDetail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-userDetail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
style=
"width: 850px;"
>
<div
class=
"modal-dialog"
style=
"width: 850px;"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<
p
style=
"position: absolute;font-size: 16px;margin-left: 20px;"
class=
"text-danger"
>
关联客户详情
</p
>
<
!--<p style="position: absolute;font-size: 16px;margin-left: 20px;" class="text-danger">关联客户详情</p>--
>
<button
type=
"button"
data-dismiss=
"modal"
aria-hidden=
"true"
style=
"margin-left: 791px;font-size: 26px;height: 20px;line-height: 20px;background: #fff;border: 0;"
>
<button
type=
"button"
data-dismiss=
"modal"
aria-hidden=
"true"
style=
"margin-left: 791px;font-size: 26px;height: 20px;line-height: 20px;background: #fff;border: 0;
position: relative;z-index: 666666;outline: none;
"
>
×
×
</button>
</button>
<div
class=
"modal-body"
style=
"margin-top: -
6
px;"
>
<div
class=
"modal-body"
style=
"margin-top: -
20
px;"
>
<iframe
src=
""
frameborder=
"0"
class=
"iframe-user-detail"
style=
"width:100%;height: 756px;display: block;border: none;border-radius: 6px;"
></iframe>
<iframe
src=
""
frameborder=
"0"
class=
"iframe-user-detail"
style=
"width:100%;height: 756px;display: block;border: none;border-radius: 6px;"
></iframe>
</div>
</div>
...
...
public/resource/js/houseList.js
View file @
ad803d17
...
@@ -139,6 +139,12 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -139,6 +139,12 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
});
});
//点击客户详情
_doc
.
on
(
'click'
,
'.user-detail'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
'.iframe-user-detail'
).
attr
(
'src'
,
'/index/userModalList?type=1&data='
+
$
(
this
).
attr
(
'data-id'
));
});
_doc
.
on
(
"input"
,
"#dish_name"
,
function
()
{
//客户列表 客方员工姓名 下拉式搜索
_doc
.
on
(
"input"
,
"#dish_name"
,
function
()
{
//客户列表 客方员工姓名 下拉式搜索
if
(
$
(
"#dish_name"
).
val
()
==
''
)
{
if
(
$
(
"#dish_name"
).
val
()
==
''
)
{
business
.
agent_id_choose
=
''
;
business
.
agent_id_choose
=
''
;
...
@@ -1135,7 +1141,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -1135,7 +1141,7 @@ 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></tr>'
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
(
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