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
8c9c4086
Commit
8c9c4086
authored
Jul 16, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
efd2a3d1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
19 deletions
+32
-19
users_list.html
application/index/view/member/users_list.html
+22
-4
user.js
public/resource/js/user.js
+3
-1
user_template_tpl.html
public/resource/template/user_template_tpl.html
+7
-14
No files found.
application/index/view/member/users_list.html
View file @
8c9c4086
...
...
@@ -6,9 +6,11 @@
overflow-y
:
auto
;
padding-bottom
:
60px
;
}
.modal-body-details
{
.modal-body-details
{
width
:
850px
;
}
.user-ul
{
width
:
100%
;
height
:
auto
;
...
...
@@ -222,6 +224,13 @@
height
:
450px
;
overflow-y
:
scroll
;
}
/*客户详情 头像*/
#user_pic
{
width
:
30px
;
height
:
30px
;
border-radius
:
15px
;
}
</style>
<!--导航star-->
...
...
@@ -552,7 +561,7 @@
</h4>
</div>
<div
class=
"modal-body modal-body1"
>
<table
class=
"
table table-striped table-bordered table-hover table-condensed"
id=
"caozuo_hide"
>
<table
class=
"
"
id=
"caozuo_hide"
border=
'0'
>
<thead>
<tr>
<td
width=
"40%"
>
...
...
@@ -632,6 +641,7 @@
</td>
<td>
<span
class=
"fore-span ld-Marheight"
>
昵称:
</span>
<img
src=
""
alt=
""
id=
"user_pic"
class=
"fore-span ld-Marheight diagram-image J_preview"
/>
<span
class=
"fore-span ld-Marheight"
id=
"cus_nick"
></span>
</td>
</tr>
...
...
@@ -652,10 +662,18 @@
</td>
</tr>
<tr
class=
"ld-Marheight"
>
<td
class=
"text-left"
>
客方修改记录:
</td>
<td
class=
"text-left "
><label>
客方修改记录:
</label></td>
</tr>
</thead>
</table>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<!--<thead>
<tr class="ld-Marheight">
<td class="text-left">客方修改记录:</td>
</tr>
</thead>-->
<tbody
class=
"text-center"
id=
"caozuo_table"
></tbody>
</table>
...
...
public/resource/js/user.js
View file @
8c9c4086
define
([
'doT'
,
'text!temp/user_template_tpl.html'
,
'ckfinder'
,
'ckfinderStart'
,
'css!style/home.css'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/user_template_tpl.html'
,
'ckfinder'
,
'ckfinderStart'
,
'css!style/home.css'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
var
user
=
{
pageNo
:
1
,
/*第几页*/
...
...
@@ -46,6 +46,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
event
:
function
()
{
var
_doc
=
$
(
document
);
$
(
'.J_preview'
).
preview
();
//预览图片
//约带看列表 点击新增商铺
var
_iYJAAObj
=
$
(
'.detail-modal-bargaininfo-commission-addarea'
);
_doc
.
on
(
'click'
,
'#bargaininfo_commission_add_btn>img'
,
function
(
e
)
{
...
...
@@ -620,6 +621,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"#cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
"#cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
"#cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
"#user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
"#registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
"#firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
"#sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
...
...
public/resource/template/user_template_tpl.html
View file @
8c9c4086
...
...
@@ -13,24 +13,16 @@
<
td
>
[
%
if
(
it
[
item
][
"follow_time"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"follow_time"
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
<
!--<
td
>
[
%
if
(
it
[
item
][
"user_status"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"user_status"
]
%
]
[
%
}
%
]
<
/td>--
>
<
td
>
[
%
if
(
it
[
item
][
"user_status"
]
==
0
)
{
%
]
求租
[
%
}
else
if
(
it
[
item
][
"user_status"
]
==
1
)
{
%
]
以租
[
%
}
else
{
%
]
无效
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"industry_type"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"industry_type"
]
%
]
[
%
}
%
]
<
/td
>
<!--<
td
>
[
%
if
(
it
[
item
][
"status"
]
==
-
1
)
{
%
]
未注册
[
%
}
else
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
注册
[
%
}
else
{
%
]
删除
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'last_login_time'
]
!=
null
){
%
]
是
[
%
}
else
if
(
it
[
item
][
'first_login_time'
]
!=
null
){
%
]
是
[
%
}
else
{
%
]
否
[
%
}
%
]
<
/td>--
>
<
td
>
[
%
if
(
it
[
item
][
'price_demand'
]
!=
null
){
%
]
[
%=
it
[
item
][
"price_demand"
]
%
]
[
%
}
%
]
<
/td
>
...
...
@@ -38,7 +30,8 @@
[
%
if
(
it
[
item
][
'area_demand'
]
!=
null
){
%
]
[
%=
it
[
item
][
"area_demand"
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'source'
]
!=
null
){
%
]
[
%=
it
[
item
][
"source"
]
%
]
[
%
}
%
]
[
%
if
(
it
[
item
][
"source"
]
==
10
)
{
%
]
客户
c
端注册
[
%
}
else
if
(
it
[
item
][
"source"
]
==
20
)
{
%
]
经纪人报备时添加,状态未激
[
%
}
else
{
%
]
老数据报备客户
[
%
}
%
]
<!--
[
%
if
(
it
[
item
][
'source'
]
!=
null
){
%
]
[
%=
it
[
item
][
"source"
]
%
]
[
%
}
%
]
-->
<
/td
>
<
td
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
check_auth
(
'index/pcEditClient'
)
)
{
%
]
...
...
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