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
47c93755
Commit
47c93755
authored
Aug 20, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b16eb189
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+1
-0
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+3
-1
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
47c93755
...
...
@@ -1345,6 +1345,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
temp
=
document
.
getElementById
(
'remark_follow_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
47c93755
<script
id=
"remark_follow_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
2
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
...
...
@@ -30,7 +32,7 @@
<
td
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
width
=
"16%"
>
[
%
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/useraction_search'
)
&&
it
[
item
][
'vip'
]
==
0
&&
it
[
item
][
"is_outstrip_twenty_four_hours"
]
*
1
))
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
user_info_obj
.
id
)
||
(
check_auth
(
'index/useraction_search'
)
&&
it
[
item
][
'vip'
]
==
0
&&
it
[
item
][
"is_outstrip_twenty_four_hours"
]
*
1
))
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
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"] %]'
>
详情
/
跟进
<
/a> 
;
[
%
if
(
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