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
101c43a4
Commit
101c43a4
authored
Apr 01, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
普通标签 修改
parent
ed117bfc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
38 deletions
+54
-38
footer_tpl.html
application/index/view/global/footer_tpl.html
+1
-1
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+53
-37
No files found.
application/index/view/global/footer_tpl.html
View file @
101c43a4
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=20190688
2
'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=20190688
6
'
charset=
'utf-8'
></script>
public/resource/js/user_genjing_modal.js
View file @
101c43a4
...
...
@@ -833,43 +833,46 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
};
//获取跟进标签列表信息
_userId
&&
$
.
ajax
({
type
:
'GET'
,
url
:
ServerHostTempC
+
'/broker/getULabelsListApp'
,
data
:
{
'AuthToken'
:
_token
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
_htmlTemp
=
''
;
$
.
each
(
data
[
'data'
][
'list'
],
function
(
i
,
item
)
{
_htmlTemp
+=
'<a data-markid="{1}" data-free="{2}">{0}</a>'
.
stringFormatObj
({
'0'
:
item
[
'name'
],
'1'
:
item
[
'id'
],
'2'
:
item
[
'free'
]
});
});
_markAreaObj2
.
html
(
_htmlTemp
);
}
else
{
layerTipsX
(
data
[
'msg'
]);
};
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
'timeout'
){
layerTipsX
(
'请求超时'
);
};
}
});
// _userId && $.ajax({
// type: 'GET',
// url: ServerHostTempC + '/broker/getULabelsListApp',
// data: {
// 'AuthToken': _token
// },
// timeout: 30000,
// dataType: 'json',
// beforeSend: function() {},
// success: function(data) {
// if(typeof data === 'object') {
// if (data.code == 200) {
// var _htmlTemp = '';
// data['data']['list'] = [{"id":"1","name":"未打通","operation_id":"314","update_time":"2018-08-06 13:45:52","create_time":"2018-03-01 16:11:38","type":"1","free":"1"},{"id":"2","name":"无意向","operation_id":"1","update_time":"2018-03-02 16:14:03","create_time":"2018-03-01 16:15:35","type":"1","free":"1"},{"id":"3","name":"有意向","operation_id":"314","update_time":"2018-08-07 17:14:15","create_time":"2018-03-01 16:15:35","type":"1","free":"0"},{"id":"4","name":"取消拨打","operation_id":"288","update_time":"2018-08-05 20:24:06","create_time":"2018-03-01 16:11:38","type":"1","free":"1"}];
// $.each(data['data']['list'], function(i, item) {
// _htmlTemp += '<a data-markid="{1}" data-free="{2}">{0}</a>'.stringFormatObj({
// '0':item['name'],
// '1':item['id'],
// '2':item['free']
// });
// });
// _markAreaObj2.html(_htmlTemp);
// }else {
// layerTipsX(data['msg']);
// };
// }else{
// layerTipsX('数据错误');
// };
// },
// error: function() {
// layerTipsX('error');
// },
// complete: function(xhr, textStatus){
// if(textStatus === 'timeout'){
// layerTipsX('请求超时');
// };
// }
// });
//获取跟进标签列表信息
_userId
&&
user
.
getPhoneLabelLiu
();
},
event
:
function
()
{
...
...
@@ -980,6 +983,19 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
}
},
getPhoneLabelLiu
:
function
(
n
)
{
//拨打电话 获取普通标签
var
_htmlTemp
=
''
;
var
_data
=
[{
"id"
:
"1"
,
"name"
:
"未打通"
,
"operation_id"
:
"314"
,
"update_time"
:
"2018-08-06 13:45:52"
,
"create_time"
:
"2018-03-01 16:11:38"
,
"type"
:
"1"
,
"free"
:
"1"
},{
"id"
:
"2"
,
"name"
:
"无意向"
,
"operation_id"
:
"1"
,
"update_time"
:
"2018-03-02 16:14:03"
,
"create_time"
:
"2018-03-01 16:15:35"
,
"type"
:
"1"
,
"free"
:
"1"
},{
"id"
:
"3"
,
"name"
:
"有意向"
,
"operation_id"
:
"314"
,
"update_time"
:
"2018-08-07 17:14:15"
,
"create_time"
:
"2018-03-01 16:15:35"
,
"type"
:
"1"
,
"free"
:
"0"
},{
"id"
:
"4"
,
"name"
:
"取消拨打"
,
"operation_id"
:
"288"
,
"update_time"
:
"2018-08-05 20:24:06"
,
"create_time"
:
"2018-03-01 16:11:38"
,
"type"
:
"1"
,
"free"
:
"1"
}];
console
.
log
(
666
)
$
.
each
(
_data
,
function
(
i
,
item
)
{
_htmlTemp
+=
'<a data-markid="{1}" data-free="{2}">{0}</a>'
.
stringFormatObj
({
'0'
:
item
[
'name'
],
'1'
:
item
[
'id'
],
'2'
:
item
[
'free'
]
});
});
_markAreaObj2
.
html
(
_htmlTemp
);
},
search_phone_look
:
function
(
n
)
{
//商铺名选择
$
.
ajax
({
url
:
'/broker/getShopListByReport'
,
...
...
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