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
cc9c7c85
Commit
cc9c7c85
authored
Jul 09, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c80caaaf
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
129 additions
and
35 deletions
+129
-35
user_genjing_modal.html
application/index/view/member/user_genjing_modal.html
+1
-2
users_list.html
application/index/view/member/users_list.html
+2
-2
account_statement_office.html
...n/index/view/officeBuilding/account_statement_office.html
+4
-9
account_statement_shop.html
...ion/index/view/officeBuilding/account_statement_shop.html
+4
-10
performancesubsidiaryList.html
...view/performancesubsidiary/performancesubsidiaryList.html
+5
-10
performance_subsidiary.js
public/resource/js/performance_subsidiary.js
+36
-0
reportListOffice.js
public/resource/js/reportListOffice.js
+36
-0
reportListShop.js
public/resource/js/reportListShop.js
+36
-0
user.js
public/resource/js/user.js
+4
-1
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+1
-1
No files found.
application/index/view/member/user_genjing_modal.html
View file @
cc9c7c85
...
...
@@ -688,8 +688,7 @@
</table>
<div
class=
"kefang-detail"
>
<span>
888888
</span>
<span>
888888
</span>
</div>
<!--关联客户-->
<div>
...
...
application/index/view/member/users_list.html
View file @
cc9c7c85
...
...
@@ -730,7 +730,7 @@
</div>
</div>
<div
class=
"form-group form-group-bottom"
>
<label
class=
"col-sm-3 control-label"
>
客方:
</label>
<label
class=
"col-sm-3 control-label"
>
<span
class=
"kefang-city"
></span>
客方:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"agent_id"
autocomplete=
"off"
id=
"set_father_id3"
placeholder=
"请输入"
>
<ul
class=
"user-ul"
>
...
...
@@ -1028,7 +1028,7 @@
<tr>
<td>
<div
class=
"form-group"
>
<span
class=
"fore-span ld-Marheight"
>
客方:
</span>
<span
class=
"fore-span ld-Marheight"
>
<span
class=
"kefang-city"
></span>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6-1 ld-Marheight cus_fang"
name=
"pwd"
autocomplete=
"off"
>
<ul
class=
"user-ul2"
></ul>
...
...
application/index/view/officeBuilding/account_statement_office.html
View file @
cc9c7c85
...
...
@@ -867,15 +867,7 @@
</tr>
<tr>
<td>
<div
class=
"form-group"
>
<span
class=
"fore-span"
>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6-1 cus_fang_edit input-border-0"
name=
"pwd"
autocomplete=
"off"
disabled=
"disabled"
>
<!--<ul class="user-ul2"></ul>-->
</div>
</div>
</td>
<td>
<span
class=
"fore-span"
>
是否转介绍:
</span>
<span
class=
"user-details-introduce fore-span"
></span>
...
...
@@ -884,6 +876,8 @@
<span
class=
"fore-span"
>
邀请人(介绍人):
</span>
<span
class=
"user-details-introduce-id fore-span"
></span>
</td>
<td>
</td>
</tr>
<tr>
...
...
@@ -897,6 +891,7 @@
</thead>
</table>
<div
class=
"kefang-detail"
></div>
<h4
class=
"modal-title-genjing clear text-info"
>
客户跟进
</h4>
...
...
application/index/view/officeBuilding/account_statement_shop.html
View file @
cc9c7c85
...
...
@@ -867,15 +867,7 @@
</tr>
<tr>
<td>
<div
class=
"form-group"
>
<span
class=
"fore-span"
>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6-1 cus_fang_edit input-border-0"
name=
"pwd"
autocomplete=
"off"
disabled=
"disabled"
>
<!--<ul class="user-ul2"></ul>-->
</div>
</div>
</td>
<td>
<span
class=
"fore-span"
>
是否转介绍:
</span>
<span
class=
"user-details-introduce fore-span"
></span>
...
...
@@ -884,7 +876,8 @@
<span
class=
"fore-span"
>
邀请人(介绍人):
</span>
<span
class=
"user-details-introduce-id fore-span"
></span>
</td>
<td>
</td>
</tr>
<tr>
<td>
...
...
@@ -897,6 +890,7 @@
</thead>
</table>
<div
class=
"kefang-detail"
></div>
<h4
class=
"modal-title-genjing clear text-info"
>
客户跟进
</h4>
...
...
application/index/view/performancesubsidiary/performancesubsidiaryList.html
View file @
cc9c7c85
...
...
@@ -321,15 +321,7 @@
</tr>
<tr>
<td>
<div
class=
"form-group"
>
<span
class=
"fore-span"
>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6-1 cus_fang_edit input-border-0"
name=
"pwd"
autocomplete=
"off"
disabled=
"disabled"
>
<!--<ul class="user-ul2"></ul>-->
</div>
</div>
</td>
<td>
<span
class=
"fore-span"
>
是否转介绍:
</span>
<span
class=
"user-details-introduce fore-span"
></span>
...
...
@@ -338,7 +330,9 @@
<span
class=
"fore-span"
>
邀请人(介绍人):
</span>
<span
class=
"user-details-introduce-id fore-span"
></span>
</td>
<td>
</td>
</tr>
<tr>
<td>
...
...
@@ -351,6 +345,7 @@
</thead>
</table>
<div
class=
"kefang-detail"
></div>
<h4
class=
"modal-title-genjing clear text-info"
>
客户跟进
</h4>
...
...
public/resource/js/performance_subsidiary.js
View file @
cc9c7c85
...
...
@@ -168,6 +168,7 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
bargain
.
kefangDetail
();
$
(
".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
);
//昵称
...
...
@@ -222,6 +223,41 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
}
});
},
// 获取客户详情(客方)
kefangDetail
:
function
()
{
//获取跟进详情的数据
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/userDetail'
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
bargain
.
detail_user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
// 显示多个客方
var
kefang_table
=
""
;
if
(
data
[
'data'
][
'customer_relegation_list'
]){
$
.
each
(
data
[
'data'
][
'customer_relegation_list'
],
function
(
i
,
item
)
{
kefang_table
+=
'<span>'
+
item
.
site_name
+
'客方:'
+
item
.
agent_name
+
'-'
+
item
.
agent_phone
+
'</span> '
;
});
$
(
'.kefang-detail'
).
html
(
kefang_table
);
}
else
{
$
(
'.kefang-detail'
).
html
(
'客方:'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//获取 客户跟进信息
getGenjincon
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
...
...
public/resource/js/reportListOffice.js
View file @
cc9c7c85
...
...
@@ -2349,6 +2349,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
bargain
.
kefangDetail
();
$
(
".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
);
//昵称
...
...
@@ -2403,6 +2404,41 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
}
});
},
// 获取客户详情(客方)
kefangDetail
:
function
()
{
//获取跟进详情的数据
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/userDetail'
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
bargain
.
detail_user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
// 显示多个客方
var
kefang_table
=
""
;
if
(
data
[
'data'
][
'customer_relegation_list'
]){
$
.
each
(
data
[
'data'
][
'customer_relegation_list'
],
function
(
i
,
item
)
{
kefang_table
+=
'<span>'
+
item
.
site_name
+
'客方:'
+
item
.
agent_name
+
'-'
+
item
.
agent_phone
+
'</span> '
;
});
$
(
'.kefang-detail'
).
html
(
kefang_table
);
}
else
{
$
(
'.kefang-detail'
).
html
(
'客方:'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//获取 客户跟进信息
getGenjincon
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
...
...
public/resource/js/reportListShop.js
View file @
cc9c7c85
...
...
@@ -2299,6 +2299,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
bargain
.
kefangDetail
();
$
(
".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
);
//昵称
...
...
@@ -2353,6 +2354,41 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
}
});
},
// 获取客户详情(客方)
kefangDetail
:
function
()
{
//获取跟进详情的数据
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/userDetail'
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
bargain
.
detail_user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
// 显示多个客方
var
kefang_table
=
""
;
if
(
data
[
'data'
][
'customer_relegation_list'
]){
$
.
each
(
data
[
'data'
][
'customer_relegation_list'
],
function
(
i
,
item
)
{
kefang_table
+=
'<span>'
+
item
.
site_name
+
'客方:'
+
item
.
agent_name
+
'-'
+
item
.
agent_phone
+
'</span> '
;
});
$
(
'.kefang-detail'
).
html
(
kefang_table
);
}
else
{
$
(
'.kefang-detail'
).
html
(
'客方:'
);
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//获取 客户跟进信息
getGenjincon
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
...
...
public/resource/js/user.js
View file @
cc9c7c85
...
...
@@ -539,6 +539,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
document
).
delegate
(
".add-user-new"
,
"click"
,
function
()
{
//新增客户
user
.
agent_id
=
''
;
$
(
'#shangpu_tags_area'
).
html
(
''
);
var
str_
=
user_info_obj
.
city
;
$
(
'.kefang-city'
).
html
(
str_
.
substr
(
0
,
str_
.
length
-
1
));
user
.
getSiteTags
();
//获取站点 城市
});
// 跟进的提交按钮 点击
...
...
@@ -568,6 +570,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
});
//客户列表操作
$
(
document
).
delegate
(
".cao-zuo-record"
,
"click"
,
function
()
{
//点击操作跟进详情
var
str_
=
user_info_obj
.
city
;
$
(
'.kefang-city'
).
html
(
str_
.
substr
(
0
,
str_
.
length
-
1
));
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
user
.
agent_id_infor
=
$
(
this
).
attr
(
"data-agentId"
);
...
...
@@ -599,7 +603,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
getSiteTagsEdit
();
user
.
getUserLogNew
();
//客户详情获取最近一条带看动态
$
(
'.user-log-more'
).
show
();
//显示加载更多
});
//点击缓存
...
...
public/resource/js/user_genjing_modal.js
View file @
cc9c7c85
...
...
@@ -174,7 +174,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
'1'
:
_data
.
data
.
internet_img_name
}));
}
else
{
alert
(
_data
.
msg
);
//
alert(_data.msg);
};
},
error
:
function
()
{
...
...
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