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
8d208cfa
Commit
8d208cfa
authored
Mar 04, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 特殊字符
parent
c913fa9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+2
-1
user_template_tpl.html
public/resource/template/user_template_tpl.html
+2
-1
No files found.
public/resource/template/remark_follow_template_tpl.html
View file @
8d208cfa
<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'
)));
%
]
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
...
...
@@ -36,7 +37,7 @@
<
td
width
=
"16%"
>
[
%
if
((
it
[
item
][
'agent_id'
]
*
1
==
0
)
||
(
check_auth
(
'index/useraction_search'
)))
{
%
]
<
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"] %]'
data
-
vip
=
'[%= it[item]["vip"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
it[item
]
)
%]</
p
>&
nbsp
;
<
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"] %]'
data
-
vip
=
'[%= it[item]["vip"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
delName(it[item
])
)
%]</
p
>&
nbsp
;
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
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 @
8d208cfa
<script
id=
"user_list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
2
:
return
"btn-info"
;
case
1
:
return
"btn-default"
}};
%
]
[
%
var
sw3
=
function
(
s
){
switch
(
Number
(
s
)){
case
0
:
return
"btn-info"
;
case
1
:
return
"btn-info"
;
case
-
1
:
return
"btn-default"
}};
%
]
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
...
...
@@ -52,7 +53,7 @@
<
/td
>
<
td
width
=
"16%"
>
[
%
if
((
it
[
item
][
'agent_id'
]
*
1
==
0
)
||
(
check_auth
(
'index/useraction_search'
)))
{
%
]
<
a
class
=
"btn1 caozuo genj_ure caozuo-add-color [%= getLoaclId(it[item]['id']) %]"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
data
-
agent
=
'[%= it[item]["agent_id"] %]'
data
-
vip
=
'[%= it[item]["vip"] %]'
data
-
current
=
'[%= it[item]["current_agent_id"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
it[item
]
)
%]</
p
>&
nbsp
;
<
a
class
=
"btn1 caozuo genj_ure caozuo-add-color [%= getLoaclId(it[item]['id']) %]"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
data
-
agent
=
'[%= it[item]["agent_id"] %]'
data
-
vip
=
'[%= it[item]["vip"] %]'
data
-
current
=
'[%= it[item]["current_agent_id"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
delName(it[item
])
)
%]</
p
>&
nbsp
;
<
a
class
=
"btn1 is_show [%= sw(it[item]['is_collect']) %]"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
cid
=
'[%= it[item]["is_collect"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
data
-
agent
=
'[%= it[item]["agent_id"] %]'
>
[
%
if
(
it
[
item
][
"is_collect"
]
==
2
)
{
%
]
...
...
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