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
f9c1c495
Commit
f9c1c495
authored
Dec 28, 2017
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看房时间数据处理
parent
42ca3e2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
agent_detail.js
public/app/js/agent_detail.js
+9
-1
more_pingjia.js
public/app/js/more_pingjia.js
+9
-1
No files found.
public/app/js/agent_detail.js
View file @
f9c1c495
...
...
@@ -137,6 +137,14 @@ $(function() {
return
''
;
}
};
function
dealTimeKf
(
str
){
if
(
str
===
''
||
str
===
null
||
str
===
undefined
){
return
''
;
}
else
{
return
str
.
split
(
'-'
)[
0
]
+
'-'
+
str
.
split
(
'-'
)[
1
];
}
};
function
loadList
(
_fenNum
,
_pingNum
){
$
.
ajax
({
...
...
@@ -167,7 +175,7 @@ $(function() {
'1'
:
dealStar
(
item
[
'evaluate_grade'
]),
'2'
:
dealStarText
(
item
[
'evaluate_grade'
]),
'3'
:
item
[
'created'
],
'4'
:
(
item
[
'receptiontime'
]
!=
''
||
item
[
'houserAddress'
]
!=
''
)?(
item
[
'receptiontime'
].
split
(
'-'
)[
0
]
+
'-'
+
item
[
'receptiontime'
].
split
(
'-'
)[
1
]
+
'在'
+
item
[
'houserAddress'
][
'address'
]
+
'看房'
):
'暂无看房数据'
,
'4'
:
(
item
[
'receptiontime'
]
!=
''
||
item
[
'houserAddress'
]
!=
''
)?(
dealTimeKf
(
item
[
'receptiontime'
])
+
'在'
+
item
[
'houserAddress'
][
'address'
]
+
'看房'
):
'暂无看房数据'
,
'5'
:
item
[
'evaluate_content'
],
'6'
:
location
.
protocol
+
'//'
+
item
[
'user_pic'
],
'7'
:
ServerHost
+
'/app/images/ic_default_headpic.png'
...
...
public/app/js/more_pingjia.js
View file @
f9c1c495
...
...
@@ -48,6 +48,14 @@ $(function() {
return
'非常差'
;
};
};
function
dealTimeKf
(
str
){
if
(
str
===
''
||
str
===
null
||
str
===
undefined
){
return
''
;
}
else
{
return
str
.
split
(
'-'
)[
0
]
+
'-'
+
str
.
split
(
'-'
)[
1
];
}
};
function
ajaxUl
(
fn
){
$
.
ajax
({
...
...
@@ -82,7 +90,7 @@ $(function() {
'1'
:
dealStar
(
item
[
'evaluate_grade'
]),
'2'
:
dealStarText
(
item
[
'evaluate_grade'
]),
'3'
:
item
[
'created'
],
'4'
:
(
item
[
'receptiontime'
]
!=
''
||
item
[
'houserAddress'
]
!=
''
)?(
item
[
'receptiontime'
].
split
(
'-'
)[
0
]
+
'-'
+
item
[
'receptiontime'
].
split
(
'-'
)[
1
]
+
'在'
+
item
[
'houserAddress'
][
'address'
]
+
'看房'
):
'暂无看房数据'
,
'4'
:
(
item
[
'receptiontime'
]
!=
''
||
item
[
'houserAddress'
]
!=
''
)?(
dealTimeKf
(
item
[
'receptiontime'
])
+
'在'
+
item
[
'houserAddress'
][
'address'
]
+
'看房'
):
'暂无看房数据'
,
'5'
:
item
[
'evaluate_content'
],
'6'
:
location
.
protocol
+
'//'
+
item
[
'user_pic'
],
'7'
:
ServerHost
+
'/app/images/ic_default_headpic.png'
...
...
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