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
05a2264e
Commit
05a2264e
authored
Oct 16, 2018
by
xishifeng
Committed by
hujun
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化处理
parent
724fa716
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
7 deletions
+10
-7
houseFollowUp.js
public/resource/js/houseFollowUp.js
+1
-1
houseList.js
public/resource/js/houseList.js
+1
-1
myCollectionShopList.js
public/resource/js/myCollectionShopList.js
+1
-1
public.js
public/resource/js/public.js
+5
-2
followHouseUp_template_tpl.html
public/resource/template/followHouseUp_template_tpl.html
+1
-1
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+1
-1
No files found.
public/resource/js/houseFollowUp.js
View file @
05a2264e
...
@@ -270,7 +270,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
...
@@ -270,7 +270,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
var
_htmlTemp
=
''
;
var
_htmlTemp
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
'0'
:
v
.
step
,
'0'
:
dealPunctuation
(
v
.
step
)
,
'1'
:
v
.
agent_name
,
'1'
:
v
.
agent_name
,
'2'
:
v
.
create_time
'2'
:
v
.
create_time
})
})
...
...
public/resource/js/houseList.js
View file @
05a2264e
...
@@ -1423,7 +1423,7 @@ if(data.code == 200) {
...
@@ -1423,7 +1423,7 @@ if(data.code == 200) {
var
_htmlTemp
=
''
;
var
_htmlTemp
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
'0'
:
v
.
step
,
'0'
:
dealPunctuation
(
v
.
step
)
,
'1'
:
v
.
agent_name
,
'1'
:
v
.
agent_name
,
'2'
:
v
.
create_time
'2'
:
v
.
create_time
})
})
...
...
public/resource/js/myCollectionShopList.js
View file @
05a2264e
...
@@ -265,7 +265,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -265,7 +265,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
var
_htmlTemp
=
''
;
var
_htmlTemp
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
$
.
each
(
data
.
data
,
function
(
i
,
v
)
{
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
_htmlTemp
+=
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>'
.
stringFormatObj
({
'0'
:
v
.
step
,
'0'
:
dealPunctuation
(
v
.
step
)
,
'1'
:
v
.
agent_name
,
'1'
:
v
.
agent_name
,
'2'
:
v
.
create_time
'2'
:
v
.
create_time
})
})
...
...
public/resource/js/public.js
View file @
05a2264e
...
@@ -275,4 +275,8 @@ function hideStr(str){
...
@@ -275,4 +275,8 @@ function hideStr(str){
//处理url信息,改为当前域名的协议
//处理url信息,改为当前域名的协议
function
urlDeal
(
urlStr
,
httpStr
)
{
function
urlDeal
(
urlStr
,
httpStr
)
{
return
urlStr
.
replace
(
/
(
http|https
)
:
\/\/
/g
,
(
httpStr
?
(
httpStr
+
':'
)
:
location
.
protocol
)
+
'//'
);
return
urlStr
.
replace
(
/
(
http|https
)
:
\/\/
/g
,
(
httpStr
?
(
httpStr
+
':'
)
:
location
.
protocol
)
+
'//'
);
}
}
\ No newline at end of file
function
dealPunctuation
(
str
)
{
return
str
.
replace
(
/!!!!!/g
,
''
).
replace
(
/!!!!!/g
,
''
).
replace
(
/
?????
/g
,
''
).
replace
(
/?????/g
,
''
).
replace
(
/。。。。。/g
,
''
);
}
public/resource/template/followHouseUp_template_tpl.html
View file @
05a2264e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<!--
对接接口
-->
<!--
对接接口
-->
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
width
=
"47%"
class
=
"text-left follow-up-home"
>
[
%=
it
[
item
][
'follow_up_info'
]
%
]
<
/td
>
<
td
width
=
"47%"
class
=
"text-left follow-up-home"
>
[
%=
dealPunctuation
(
it
[
item
][
'follow_up_info'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
<
td
>
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
05a2264e
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
【无效】
【无效】
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%=
it
[
item
][
'content'
]
%
]
[
%=
dealPunctuation
(
it
[
item
][
'content'
])
%
]
<
/td
>
<
/td
>
<
td
>
[
%=
it
[
item
][
'admin'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'admin'
]
%
]
<
/td
>
<
td
>
<
td
>
...
...
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