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
d015a348
Commit
d015a348
authored
Jul 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表
parent
d16d76c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
209 deletions
+13
-209
Member.php
application/index/controller/Member.php
+1
-1
users_list.html
application/index/view/member/users_list.html
+11
-185
user.js
public/resource/js/user.js
+0
-19
user_template_tpl.html
public/resource/template/user_template_tpl.html
+1
-4
No files found.
application/index/controller/Member.php
View file @
d015a348
...
...
@@ -249,7 +249,7 @@ class Member extends Basic{
$where
[
'a.first_login_time'
]
=
[
'between time'
,
[
$params
[
'first_login_start'
]
.
' 00:00:00'
,
$where
[
'a.first_login_time'
]
=
$params
[
'first_login_end'
]
.
' 23:59:59'
]];
}
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status'
;
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status
,a.first_login_time
'
;
try
{
$data
[
'list'
]
=
$this
->
user
->
getUserAgent
(
$pageNo
,
$pageSize
,
'a.id DESC'
,
$fields
,
$where
,
$type
);
...
...
application/index/view/member/users_list.html
View file @
d015a348
...
...
@@ -88,108 +88,12 @@
.clear
{
clear
:
both
;
}
.left
{
.left
{
float
:
left
;
font-size
:
12px
;
}
.bottom
{
margin-top
:
30px
;
}
/*新增商铺*/
.detail-modal-bargaininfo-main-left
{
float
:
left
;
width
:
340px
;
line-height
:
36px
;
}
#bargaininfo_is_open
,
#bargaininfo_type
{
width
:
100px
!important
;
display
:
inline-block
;
}
#bargaininfo_expect_payback_time
{
height
:
32px
;
}
.detail-modal-bargaininfo-main-right
{
line-height
:
36px
;
width
:
700px
;
}
#bargaininfo_yetai
{
width
:
150px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
#bargaininfo_chengjiao_price
,
#bargaininfo_total_commission
{
width
:
120px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
.detail-modal-bargaininfo-form
{
line-height
:
48px
;
width
:
620px
;
margin
:
0
auto
;
}
.detail-modal-bargaininfo-commission-inputpar
{
width
:
100%
;
overflow
:
hidden
;
clear
:
both
;
}
.detail-modal-bargaininfo-commission-sec
,
.addtax-modal-tax-commission-sec
{
overflow
:
hidden
;
}
.detail-modal-bargaininfo-commission-sec
>
label
,
.addtax-modal-tax-commission-sec
>
label
{
float
:
left
;
}
.detail-modal-bargaininfo-commission-sec
>
label
:nth-of-type
(
2
),
.addtax-modal-tax-commission-sec
>
label
:nth-of-type
(
2
)
{
margin-left
:
50px
;
}
.detail-modal-bargaininfo-commission-sec
>
div
,
.addtax-modal-tax-commission-sec
>
div
{
float
:
left
;
width
:
160px
;
}
.detail-modal-bargaininfo-commission-sec
>
mark
,
.addtax-modal-tax-commission-sec
>
mark
{
float
:
left
;
overflow
:
hidden
;
background-color
:
transparent
;
padding-top
:
5px
;
padding-left
:
10px
;
}
.detail-modal-bargaininfo-commission-sec
>
mark
>
img
,
.addtax-modal-tax-commission-sec
>
mark
>
img
{
float
:
left
;
width
:
20px
;
}
#bargaininfo_commission_add_btn
{
width
:
100%
;
margin-bottom
:
20px
;
}
#bargaininfo_commission_add_btn
>
img
{
display
:
block
;
margin
:
0
auto
;
.bottom
{
margin-top
:
30px
;
}
</style>
<!--导航star-->
...
...
@@ -248,12 +152,13 @@
<!-- <div class="row"></div> -->
<!--版本 2.2-->
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"userID"
placeholder=
"客户ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user"
placeholder=
"客户姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"userID"
placeholder=
"客户ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user"
placeholder=
"客户姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"phone"
placeholder=
"客户手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_phone"
placeholder=
"邀请人(C端用户)手机号"
type=
"text"
value=
""
>
<!--业态选择-->
<select
class=
"form-control btn2 margin-top-ld"
name=
"industry_type"
>
...
...
@@ -307,7 +212,7 @@
<option
value=
"0"
>
客方所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
value=
""
>
...
...
@@ -319,7 +224,7 @@
<option
value=
"0"
>
邀请人所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores2"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
...
...
@@ -327,13 +232,13 @@
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_agent_phone"
placeholder=
"邀请人(经纪人)手机号"
type=
"text"
value=
""
>
<!--<div class="clear"></div>-->
<!--<span class='left bottom'>(注:客方所属部门,客方所属门店与邀请人所属部门,邀请人所属门店不作为并列筛选项)</span>-->
<!--<span class='left bottom'>(注:客方所属部门,客方所属门店与邀请人所属部门,邀请人所属门店不作为并列筛选项)</span>-->
<span
class=
"fore-span ld-Marheight"
>
首次登录时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_start"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_end"
type=
"date"
>
<div
class=
"row"
></div>
<div
class=
"clear"
></div>
<!-- <span class="btn btn-info btn3 margin-top-ld" class="reset_1">搜索</span>
<span class="btn btn-info btn3 margin-top-ld" class="reset_1">重置</span> -->
...
...
@@ -480,7 +385,7 @@
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
id=
"close"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"add_user"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"add_user"
>
提交
</button>
</div>
...
...
@@ -692,82 +597,4 @@
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--约带看-->
<div
class=
"modal fade"
id=
"modal-takeLook"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
约带看
</h4>
</div>
<div
class=
"modal-body"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
id=
" "
>
<thead>
<tr>
<td>
<form
id=
"form1"
>
<span
class=
"fore-span ld-Marheight"
>
姓名:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_name"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_phone"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
客户编号:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_id"
></span>
<div
class=
"clear"
></div>
<div
class=
"detail-modal-bargaininfo-commission-inputpar"
>
<div
class=
"detail-modal-bargaininfo-commission-addarea"
>
<div
class=
"form-group detail-modal-bargaininfo-commission-sec"
>
<span
class=
"fore-span ld-Marheight"
>
约带看商铺:
</span>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control btn6 ld-Marheight"
name=
" "
autocomplete=
"off"
id=
"look_shop"
placeholder=
"请输入商铺名称、商铺编号、商铺地址关键词"
>
<ul
class=
"look-shop-ul"
></ul>
</div>
<!--<mark href="javascript:;" class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png" /></mark>-->
</div>
</div>
<div
id=
"bargaininfo_commission_add_btn"
>
<img
src=
"/resource/image/jia2@2x.png"
/>
</div>
</div>
<!--<div class="form-group">
<span class="fore-span ld-Marheight">约带看商铺:</span>
<input type="text" class="form-control btn6 ld-Marheight" name=" " autocomplete="off" id="look_shop" placeholder="请输入商铺名称、商铺编号、商铺地址关键词">
<ul class="look-shop-ul"></ul>
</div>-->
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
预计到场时间:
</span>
<input
class=
"form-control btn5 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"look_shop_date"
name=
" "
type=
"date"
>
<div
class=
"clear"
></div>
<div
class=
"textarea-con ld-Marheight"
>
<span
class=
"fore-span"
>
备注:
</span>
<textarea
name=
""
rows=
"5"
cols=
"50"
></textarea>
</div>
</form>
</td>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"caozuo_table"
>
</table>
</div>
<div
class=
"modal-footer"
>
<!--<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>-->
<button
type=
"button"
class=
"btn btn-primary save_look"
data-dismiss=
"modal"
>
保存
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/user.js
View file @
d015a348
...
...
@@ -41,25 +41,6 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
};
});
});
//详情弹出框,成交信息里的实收佣金相关的事件
var
_iYJAAObj
=
$
(
'.detail-modal-bargaininfo-commission-addarea'
);
_doc
.
on
(
'click'
,
'#bargaininfo_commission_add_btn>img'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
$
(
'.detail-modal-bargaininfo-commission-addarea>div'
).
length
>=
5
){
alert
(
'最多添加5条'
);
return
false
;
}
else
{
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight">约带看商铺:</span><div class="input-group"><input type="number"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/></mark></div>'
);
};
});
//详情弹出框,成交信息里的实收佣金相关的事件,点击x删除这条
_doc
.
on
(
'click'
,
'.detail-modal-bargaininfo-commission-cancel-pic'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
this
).
parent
().
remove
();
});
$
(
".Bannertu"
).
click
(
function
()
{
BrowseServer
(
'cover_image'
);
});
...
...
public/resource/template/user_template_tpl.html
View file @
d015a348
...
...
@@ -25,7 +25,7 @@
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'
last_login_ip
'
]
==
null
){
%
]
[
%
if
(
it
[
item
][
'
first_login_time
'
]
==
null
){
%
]
否
[
%
}
else
{
%
]
是
...
...
@@ -48,9 +48,6 @@
<
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"] %]'
>
约带看
<
/a
>
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
<!--
删除
-->
<!--<
/a>--
>
...
...
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