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
934c661b
Commit
934c661b
authored
Aug 28, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
3224ff53
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
118 additions
and
48 deletions
+118
-48
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+10
-16
report_list.css
public/resource/css/report_list.css
+1
-1
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+32
-6
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+32
-6
public.js
public/resource/js/public.js
+1
-0
user.js
public/resource/js/user.js
+34
-11
my_collection_user_template_tpl.html
...ic/resource/template/my_collection_user_template_tpl.html
+1
-1
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+5
-5
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+1
-1
user_template_tpl.html
public/resource/template/user_template_tpl.html
+1
-1
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
934c661b
...
...
@@ -5,26 +5,20 @@
float
:
left
;
}
.modal-body-width-w
{
width
:
90
0px
;
width
:
108
0px
;
}
.modal-body-width-h
{
height
:
686px
;
overflow-y
:
scroll
;
}
.modal-body-width-two-w
{
width
:
886
px
;
width
:
980
px
;
}
.modal-body-width-two-h
{
height
:
6
3
6px
;
height
:
6
8
6px
;
overflow-y
:
scroll
;
}
/*二级弹窗*/
.modal-body-width-two
{
width
:
800px
;
height
:
700px
;
overflow-y
:
scroll
;
}
#rank_start_day
,
#rank_end_day
,
#performance_ranking
{
font-size
:
16px
;
}
...
...
@@ -462,14 +456,14 @@
<tr>
<th
class=
"text-center"
>
分佣方
</th>
<th
class=
"text-center"
>
业务员
</th>
<th
class=
"text-center"
>
所属
部门/门店
</th>
<th
class=
"text-center"
>
部门/门店
</th>
<th
class=
"text-center"
>
分佣比例
</th>
<th
class=
"text-center"
>
应分佣金
(元)
</th>
<th
class=
"text-center"
>
预分佣金
(元)
</th>
<th
class=
"text-center"
>
手续费
(元)
</th>
<th
class=
"text-center"
>
慈善基金
(元)
</th>
<th
class=
"text-center"
>
现金奖
(元)
</th>
<th
class=
"text-center"
>
实收佣金
(元)
</th>
<th
class=
"text-center"
>
应分佣金
</th>
<th
class=
"text-center"
>
预分佣金
</th>
<th
class=
"text-center"
>
手续费
</th>
<th
class=
"text-center"
>
慈善基金
</th>
<th
class=
"text-center"
>
现金奖
</th>
<th
class=
"text-center"
>
实收佣金
</th>
<th
class=
"text-center"
>
确认时间
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
...
...
public/resource/css/report_list.css
View file @
934c661b
...
...
@@ -332,7 +332,7 @@ addtax_
#modal_detail
>
div
{
width
:
1
2
80px
;
width
:
1
1
80px
;
}
/*成交信息tab*/
...
...
public/resource/js/RemarkFollowIndex.js
View file @
934c661b
...
...
@@ -260,6 +260,11 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
checkLogin
();
user
.
modify_add
();
});
// 客户编辑 修改记录
$
(
document
).
delegate
(
".cao-zuo-record"
,
"click"
,
function
()
{
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
Caozuorecord
();
});
$
(
document
).
delegate
(
".caozuo-yue"
,
"click"
,
function
()
{
//约带看初始化
$
(
'#look_shop_date'
).
val
(
''
);
...
...
@@ -1345,20 +1350,41 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
else
{
$
(
"#caozuo_table_edit"
).
html
(
'暂无数据(*^_^*)'
);
};
//转介绍然人 记录
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//客户编辑 修改记录
Caozuorecord
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
checkLogin
();
$
.
ajax
({
url
:
'/broker/useraction_search'
,
type
:
'POST'
,
async
:
true
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
user
.
user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
//转介绍人 记录
var
caozuo_table_introduce
=
""
;
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
caozuo_table_introduce
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
if
(
caozuo_table_introduce
){
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
);
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
_introduce
);
}
else
{
$
(
"#caozuo_table_edit_introduce"
).
html
(
'暂无数据(*^_^*)'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
...
...
public/resource/js/myCollectionUserList.js
View file @
934c661b
...
...
@@ -271,6 +271,11 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
$
(
document
).
delegate
(
"#modify_add"
,
"click"
,
function
()
{
user
.
modify_add
();
});
// 客户编辑 修改记录
$
(
document
).
delegate
(
".cao-zuo-record"
,
"click"
,
function
()
{
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
Caozuorecord
();
});
$
(
document
).
delegate
(
".caozuo-yue"
,
"click"
,
function
()
{
//约带看初始化
$
(
'#look_shop_date'
).
val
(
''
);
...
...
@@ -1335,20 +1340,41 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
}
else
{
$
(
"#caozuo_table_edit"
).
html
(
'暂无数据(*^_^*)'
);
};
//转介绍然人 记录
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//客户编辑 修改记录
Caozuorecord
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
checkLogin
();
$
.
ajax
({
url
:
'/broker/useraction_search'
,
type
:
'POST'
,
async
:
true
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
user
.
user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
//转介绍人 记录
var
caozuo_table_introduce
=
""
;
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
caozuo_table_introduce
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
if
(
caozuo_table_introduce
){
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
);
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
_introduce
);
}
else
{
$
(
"#caozuo_table_edit_introduce"
).
html
(
'暂无数据(*^_^*)'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
...
...
public/resource/js/public.js
View file @
934c661b
...
...
@@ -43,6 +43,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
//登录时间无效 直接跳转登录页面
if
(
!
user_info_obj
){
alert
(
'登录失效,请您重新登录'
);
window
.
location
.
href
=
"login.html"
;
}
...
...
public/resource/js/user.js
View file @
934c661b
...
...
@@ -401,6 +401,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
document
).
delegate
(
"#modify_add"
,
"click"
,
function
()
{
user
.
modify_add
();
});
// 客户编辑 修改记录
$
(
document
).
delegate
(
".cao-zuo-record"
,
"click"
,
function
()
{
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
Caozuorecord
();
});
$
(
document
).
delegate
(
".caozuo-yue"
,
"click"
,
function
()
{
//约带看初始化
$
(
'#look_shop_date'
).
val
(
''
);
...
...
@@ -432,8 +437,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
'.detail-modal-body-sec:nth-of-type(1)'
).
show
().
siblings
().
hide
();
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
user
.
Caozuo
();
});
//点击缓存
$
(
document
).
delegate
(
".caozuo-add-color"
,
"click"
,
function
()
{
//点击操作跟进详情
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
...
...
@@ -514,7 +519,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
search_phone_look
(
this
);
}
});
//查看弹出框里的tab点击事件,查看
商铺,商铺跟进
//查看弹出框里的tab点击事件,查看
客户详情,客户约带看
_doc
.
on
(
'click'
,
'.detail-modal-header-tab>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
...
...
@@ -552,14 +557,12 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
document
).
delegate
(
".addphone3"
,
"click"
,
function
()
{
//list3消失
user
.
addphone3
(
this
);
});
// =============================下拉列表===================
$
(
document
).
delegate
(
".submit_edit"
,
"click"
,
function
(
e
)
{
//提交
e
.
preventDefault
();
e
.
stopPropagation
();
user
.
Submit_follow
();
});
// =============下拉列表========================
var
_ajaxObjTel
=
null
;
_doc
.
on
(
'input'
,
'.phone_jia'
,
function
()
{
var
_this
=
$
(
this
),
...
...
@@ -1531,7 +1534,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
else
{
$
(
".user-details-introduce"
).
html
(
'否'
);
//转介绍详情
}
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
...
...
@@ -1541,24 +1543,46 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
else
{
$
(
"#caozuo_table_edit"
).
html
(
'暂无数据(*^_^*)'
);
};
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//客户编辑 修改记录
Caozuorecord
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
checkLogin
();
$
.
ajax
({
url
:
'/broker/useraction_search'
,
type
:
'POST'
,
async
:
true
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
user
.
user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
//转介绍人 记录
var
caozuo_table_introduce
=
""
;
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
caozuo_table_introduce
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
});
if
(
caozuo_table_introduce
){
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
);
$
(
"#caozuo_table_edit_introduce"
).
html
(
caozuo_table
_introduce
);
}
else
{
$
(
"#caozuo_table_edit_introduce"
).
html
(
'暂无数据(*^_^*)'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//筛选
getList
:
function
(
pageNo
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
...
...
@@ -1905,7 +1929,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
checkLogin
();
$
.
ajax
({
url
:
'/broker/useraction_search'
,
// url: 'https://pre2.tonglianjituan.com'+'/broker/useraction_search',
type
:
'GET'
,
async
:
true
,
data
:
{
...
...
public/resource/template/my_collection_user_template_tpl.html
View file @
934c661b
...
...
@@ -17,7 +17,7 @@
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo
cao-zuo-record
"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
934c661b
...
...
@@ -249,7 +249,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'trade_type'
]
%
]
<
/td
>
<
td
class
=
"text-
center
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-
left
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'district_name'
]
+
'-'
+
it
[
item
][
'store_name'
]
%
]
<
/a></
td
>
...
...
@@ -291,7 +291,7 @@
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/a></
td
>
<
td
class
=
"text-
center
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-
left
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
sw
(
it
[
item
][
'trade_type'
])
%
]
<
/td
>
...
...
@@ -335,7 +335,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
swType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
swPayType
(
it
[
item
][
'pay_type'
])
%
]
<
/td
>
<
td
class
=
"text-
center
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-
left
"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideStr
(
it
[
item
][
'house_title'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
...
...
@@ -429,7 +429,7 @@
<
th
class
=
"text-center"
>
类型
<
/th
>
<
th
class
=
"text-center"
>
租金均价
<
/th
>
<
th
class
=
"text-center"
>
面积
<
/th
>
<
th
class
=
"text-
center
"
>
业态
<
/th
>
<
th
class
=
"text-
left
"
>
业态
<
/th
>
<
th
class
=
"text-center"
>
最后跟进时间
<
/th
>
<
th
class
=
"text-center"
>
状态
<
/th
>
<
/tr
>
...
...
@@ -489,7 +489,7 @@
<
th
class
=
"text-center"
>
创建时间
<
/th
>
<
th
class
=
"text-center"
>
最后跟进时间
<
/th
>
<
th
class
=
"text-center"
>
客户状态
<
/th
>
<
th
class
=
"text-
center
"
>
业态
<
/th
>
<
th
class
=
"text-
left
"
>
业态
<
/th
>
<
th
class
=
"text-center"
>
面积
<
/th
>
<
th
class
=
"text-center"
>
产生类型
<
/th
>
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
934c661b
...
...
@@ -40,7 +40,7 @@
<
a
class
=
"btn1 caozuo genj_ure caozuo-add-color [%= getLoaclRemarkId(it[item]['id']) %]"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
data
-
remark
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo
cao-zuo-record
"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
[
%
}
%
]
...
...
public/resource/template/user_template_tpl.html
View file @
934c661b
...
...
@@ -60,7 +60,7 @@
[
%
}
%
]
<
/a
>
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo
cao-zuo-record
"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
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