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
d142e834
Commit
d142e834
authored
Aug 17, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话修改
parent
6562bf05
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
176 additions
and
13 deletions
+176
-13
index.html
application/index/view/cell_phone/index.html
+53
-0
users_list.html
application/index/view/member/users_list.html
+3
-3
myCollectionUserList.html
...ion/index/view/myCollectionUser/myCollectionUserList.html
+57
-2
remark_follow_index.html
application/index/view/remark/remark_follow_index.html
+59
-3
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+0
-0
callPhoneIndex.js
public/resource/js/callPhoneIndex.js
+0
-0
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+0
-0
user.js
public/resource/js/user.js
+4
-5
No files found.
application/index/view/cell_phone/index.html
View file @
d142e834
...
@@ -638,3 +638,56 @@
...
@@ -638,3 +638,56 @@
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--拨打电话弹框相关-->
<div
id=
"call_modal"
>
<div
class=
"call-modal-main"
>
<p
class=
"call-modal-main-title"
>
选择本机手机号
</p>
<ol
id=
"call_modal_phone_list"
>
<li
class=
"call-select"
><input
placeholder=
"请输入本机手机号"
maxlength=
"11"
type=
"tel"
id=
"call_modal_phone_self"
readonly=
""
/>
<div
class=
"call-edit-icon"
>
完成
</div>
<div
class=
"call-submit-ing-icon"
>
提交中ing
</div>
<div
class=
"call-select-icon"
><img
src=
"/app/images/ic_duigou_gre.png"
/></div>
</li>
</ol>
<div
id=
"add_phone_btn"
>
增加手机号
</div>
<p
class=
"call-modal-main-tip"
>
请确认选择的手机号和本机号码相同,否则提示为空号
</p>
</div>
<div
class=
"call-btn-area"
>
<div
id=
"call_btn_cancel"
>
取消
</div>
<div
id=
"call_btn_ok"
>
确认
</div>
<div
id=
"call_btn_ok_temp"
>
等待拨打 ing
</div>
</div>
</div>
<!--/拨打电话弹框相关-->
<div
id=
"genjin_modal"
>
<div
class=
"genjin-modal-main"
>
<div
class=
"call-hide-area"
>
<p>
请使用
<span></span>
的手机拨打该虚拟号:
</p>
<p>
(使用其他手机号拨打是打不通的)
</p>
<p></p>
</div>
<div
class=
"genjin-content-area"
><textarea
placeholder=
"请输入跟进信息"
id=
"content"
></textarea></div>
<div
class=
"genjin-mark-area"
>
<div
class=
"genjin-mark-area-putong"
>
<div
class=
"genjin-mark-area-title"
>
普通标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
></div>
</div>
<div
class=
"genjin-mark-area-zhuangtai"
>
<div
class=
"genjin-mark-area-title"
>
状态标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
>
<a
data-markid=
"-1"
>
无效
</a>
<a
data-markid=
"1"
>
已租
</a>
<a
data-markid=
"0"
>
求租
</a>
</div>
</div>
</div>
<div
class=
"genjin-submit-area"
>
<a
href=
"javascript:;"
id=
"btn_save"
>
提交
</a>
<a
href=
"javascript:;"
id=
"btn_save_temp"
>
正在保存...
</a>
</div>
</div>
<div
id=
"close_btn"
><img
src=
"/app/images/ic_cha.png"
/></div>
</div>
application/index/view/member/users_list.html
View file @
d142e834
...
@@ -659,7 +659,7 @@
...
@@ -659,7 +659,7 @@
</div>
</div>
<!--客户详情 客户跟进 不可编辑-->
<!--客户详情 客户跟进 不可编辑-->
<div
class=
"modal fade"
id=
"modal-record"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-record"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
...
@@ -717,7 +717,7 @@
...
@@ -717,7 +717,7 @@
<td>
<td>
<span
class=
"fore-span"
>
电话:
</span>
<span
class=
"fore-span"
>
电话:
</span>
<span
class=
"fore-span cus_phone"
></span>
<span
class=
"fore-span cus_phone"
></span>
<!--<a class="fore-span btn-primary user_call"
href="#modal-call"
data-toggle="modal">拨打</a>-->
<!--<a class="fore-span btn-primary user_call" data-toggle="modal">拨打</a>-->
<a
class=
"fore-span btn-primary user_call"
>
拨打
</a>
<a
class=
"fore-span btn-primary user_call"
>
拨打
</a>
</td>
</td>
</tr>
</tr>
...
@@ -1222,7 +1222,7 @@
...
@@ -1222,7 +1222,7 @@
<td>
<td>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<!--<a class="fore-span btn-primary ld-Marheight user_call"
href="#modal-call"
data-toggle="modal">拨打</a>-->
<!--<a class="fore-span btn-primary ld-Marheight user_call" data-toggle="modal">拨打</a>-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
application/index/view/myCollectionUser/myCollectionUserList.html
View file @
d142e834
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
<td>
<td>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<a
class=
"fore-span btn-primary ld-Marheight user_call"
href=
"#modal-call"
data-toggle=
"modal"
>
拨打
</a>
<a
class=
"fore-span btn-primary ld-Marheight user_call"
data-toggle=
"modal"
>
拨打
</a>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -796,6 +796,61 @@
...
@@ -796,6 +796,61 @@
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--拨打电话弹框相关-->
<div
id=
"call_modal"
>
<div
class=
"call-modal-main"
>
<p
class=
"call-modal-main-title"
>
选择本机手机号
</p>
<ol
id=
"call_modal_phone_list"
>
<li
class=
"call-select"
><input
placeholder=
"请输入本机手机号"
maxlength=
"11"
type=
"tel"
id=
"call_modal_phone_self"
readonly=
""
/>
<div
class=
"call-edit-icon"
>
完成
</div>
<div
class=
"call-submit-ing-icon"
>
提交中ing
</div>
<div
class=
"call-select-icon"
><img
src=
"/app/images/ic_duigou_gre.png"
/></div>
</li>
</ol>
<div
id=
"add_phone_btn"
>
增加手机号
</div>
<p
class=
"call-modal-main-tip"
>
请确认选择的手机号和本机号码相同,否则提示为空号
</p>
</div>
<div
class=
"call-btn-area"
>
<div
id=
"call_btn_cancel"
>
取消
</div>
<div
id=
"call_btn_ok"
>
确认
</div>
<div
id=
"call_btn_ok_temp"
>
等待拨打 ing
</div>
</div>
</div>
<!--/拨打电话弹框相关-->
<div
id=
"genjin_modal"
>
<div
class=
"genjin-modal-main"
>
<div
class=
"call-hide-area"
>
<p>
请使用
<span></span>
的手机拨打该虚拟号:
</p>
<p>
(使用其他手机号拨打是打不通的)
</p>
<p></p>
</div>
<div
class=
"genjin-content-area"
><textarea
placeholder=
"请输入跟进信息"
id=
"content"
></textarea></div>
<div
class=
"genjin-mark-area"
>
<div
class=
"genjin-mark-area-putong"
>
<div
class=
"genjin-mark-area-title"
>
普通标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
></div>
</div>
<div
class=
"genjin-mark-area-zhuangtai"
>
<div
class=
"genjin-mark-area-title"
>
状态标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
>
<a
data-markid=
"-1"
>
无效
</a>
<a
data-markid=
"1"
>
已租
</a>
<a
data-markid=
"0"
>
求租
</a>
</div>
</div>
</div>
<div
class=
"genjin-submit-area"
>
<a
href=
"javascript:;"
id=
"btn_save"
>
提交
</a>
<a
href=
"javascript:;"
id=
"btn_save_temp"
>
正在保存...
</a>
</div>
</div>
<div
id=
"close_btn"
><img
src=
"/app/images/ic_cha.png"
/></div>
</div>
<!--客户编辑-->
<!--客户编辑-->
<div
class=
"modal fade"
id=
"modal-record-edit"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-record-edit"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-dialog modal-body-details"
>
...
@@ -847,7 +902,7 @@
...
@@ -847,7 +902,7 @@
<td>
<td>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<!--<a class="fore-span btn-primary ld-Marheight user_call"
href="#modal-call"
data-toggle="modal">拨打</a>-->
<!--<a class="fore-span btn-primary ld-Marheight user_call" data-toggle="modal">拨打</a>-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
application/index/view/remark/remark_follow_index.html
View file @
d142e834
...
@@ -392,7 +392,7 @@
...
@@ -392,7 +392,7 @@
</div>
</div>
<!--客户详情 客户跟进 不可编辑-->
<!--客户详情 客户跟进 不可编辑-->
<div
class=
"modal fade"
id=
"modal-record"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-record"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
...
@@ -450,7 +450,7 @@
...
@@ -450,7 +450,7 @@
<td>
<td>
<span
class=
"fore-span"
>
电话:
</span>
<span
class=
"fore-span"
>
电话:
</span>
<span
class=
"fore-span cus_phone"
></span>
<span
class=
"fore-span cus_phone"
></span>
<a
class=
"fore-span btn-primary user_call"
href=
"#modal-call"
data-toggle=
"modal"
>
拨打
</a>
<a
class=
"fore-span btn-primary user_call"
data-toggle=
"modal"
>
拨打
</a>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -663,6 +663,62 @@
...
@@ -663,6 +663,62 @@
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--拨打电话弹框相关-->
<div
id=
"call_modal"
>
<div
class=
"call-modal-main"
>
<p
class=
"call-modal-main-title"
>
选择本机手机号
</p>
<ol
id=
"call_modal_phone_list"
>
<li
class=
"call-select"
><input
placeholder=
"请输入本机手机号"
maxlength=
"11"
type=
"tel"
id=
"call_modal_phone_self"
readonly=
""
/>
<div
class=
"call-edit-icon"
>
完成
</div>
<div
class=
"call-submit-ing-icon"
>
提交中ing
</div>
<div
class=
"call-select-icon"
><img
src=
"/app/images/ic_duigou_gre.png"
/></div>
</li>
</ol>
<div
id=
"add_phone_btn"
>
增加手机号
</div>
<p
class=
"call-modal-main-tip"
>
请确认选择的手机号和本机号码相同,否则提示为空号
</p>
</div>
<div
class=
"call-btn-area"
>
<div
id=
"call_btn_cancel"
>
取消
</div>
<div
id=
"call_btn_ok"
>
确认
</div>
<div
id=
"call_btn_ok_temp"
>
等待拨打 ing
</div>
</div>
</div>
<!--/拨打电话弹框相关-->
<div
id=
"genjin_modal"
>
<div
class=
"genjin-modal-main"
>
<div
class=
"call-hide-area"
>
<p>
请使用
<span></span>
的手机拨打该虚拟号:
</p>
<p>
(使用其他手机号拨打是打不通的)
</p>
<p></p>
</div>
<div
class=
"genjin-content-area"
><textarea
placeholder=
"请输入跟进信息"
id=
"content"
></textarea></div>
<div
class=
"genjin-mark-area"
>
<div
class=
"genjin-mark-area-putong"
>
<div
class=
"genjin-mark-area-title"
>
普通标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
></div>
</div>
<div
class=
"genjin-mark-area-zhuangtai"
>
<div
class=
"genjin-mark-area-title"
>
状态标签:(必选)
</div>
<div
class=
"genjin-mark-area-alink"
>
<a
data-markid=
"-1"
>
无效
</a>
<a
data-markid=
"1"
>
已租
</a>
<a
data-markid=
"0"
>
求租
</a>
</div>
</div>
</div>
<div
class=
"genjin-submit-area"
>
<a
href=
"javascript:;"
id=
"btn_save"
>
提交
</a>
<a
href=
"javascript:;"
id=
"btn_save_temp"
>
正在保存...
</a>
</div>
</div>
<div
id=
"close_btn"
><img
src=
"/app/images/ic_cha.png"
/></div>
</div>
<!--客户编辑-->
<!--客户编辑-->
<div
class=
"modal fade"
id=
"modal-record-edit"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-record-edit"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
...
@@ -714,7 +770,7 @@
...
@@ -714,7 +770,7 @@
<td>
<td>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<span
class=
"fore-span ld-Marheight cus_phone"
></span>
<!--<a class="fore-span btn-primary ld-Marheight user_call"
href="#modal-call"
data-toggle="modal">拨打</a>-->
<!--<a class="fore-span btn-primary ld-Marheight user_call" data-toggle="modal">拨打</a>-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
public/resource/js/RemarkFollowIndex.js
View file @
d142e834
This diff is collapsed.
Click to expand it.
public/resource/js/callPhoneIndex.js
View file @
d142e834
This diff is collapsed.
Click to expand it.
public/resource/js/myCollectionUserList.js
View file @
d142e834
This diff is collapsed.
Click to expand it.
public/resource/js/user.js
View file @
d142e834
define
([
'doT'
,
'text!temp/user_template_tpl.html'
,
'c
kfinder'
,
'ckfinderStart'
,
'css!style/home.css'
,
'css!style/call_genjin_modal.css
'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/user_template_tpl.html'
,
'c
ss!style/home.css'
,
'css!style/call_genjin_modal.css'
,
'ckfinder'
,
'ckfinderStart
'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
console
.
log
(
user_info_obj
);
var
_doc
=
$
(
document
),
var
_doc
=
$
(
document
),
_token
=
user_info_obj
.
AuthToken
,
_token
=
user_info_obj
.
AuthToken
;
_customerId
=
getUrlParam
(
'customerId'
);
var
_genjinModal
=
$
(
'#genjin_modal'
),
//跟进模态框dom
var
_genjinModal
=
$
(
'#genjin_modal'
),
//跟进模态框dom
_callModal
=
$
(
'#call_modal'
),
//拨打电话模态框dom
_callModal
=
$
(
'#call_modal'
),
//拨打电话模态框dom
_markAreaObj
=
$
(
'.genjin-mark-area-zhuangtai>.genjin-mark-area-alink'
),
//跟进标签列表状态标签区域dom
_markAreaObj
=
$
(
'.genjin-mark-area-zhuangtai>.genjin-mark-area-alink'
),
//跟进标签列表状态标签区域dom
...
@@ -542,7 +541,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -542,7 +541,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
var
_data
=
{
var
_data
=
{
'AuthToken'
:
_token
,
'AuthToken'
:
_token
,
'content'
:
_beizhuObjVal
,
'content'
:
_beizhuObjVal
,
'user_id'
:
_customerI
d
,
'user_id'
:
user
.
customerInfo
.
user_i
d
,
'agent_id'
:
_userId
,
'agent_id'
:
_userId
,
'user_status'
:
_genjinMarkOBj
.
attr
(
'data-markid'
)
'user_status'
:
_genjinMarkOBj
.
attr
(
'data-markid'
)
};
};
...
@@ -866,7 +865,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -866,7 +865,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
_backPhone
=
data
[
'data'
][
'phone'
];
_backPhone
=
data
[
'data'
][
'
data'
][
'
phone'
];
console
.
log
(
_backPhone
);
console
.
log
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(3)'
).
html
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(3)'
).
html
(
_backPhone
);
...
...
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