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
6661df8f
Commit
6661df8f
authored
Nov 09, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6edfa262
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
14 deletions
+35
-14
marchin_list.html
application/index/view/marchin/marchin_list.html
+6
-1
marchinList.js
public/resource/js/marchinList.js
+2
-0
public.js
public/resource/js/public.js
+21
-2
marchin_list_template_tpl.html
public/resource/template/marchin_list_template_tpl.html
+5
-2
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+1
-9
No files found.
application/index/view/marchin/marchin_list.html
View file @
6661df8f
...
@@ -24,9 +24,14 @@
...
@@ -24,9 +24,14 @@
#search
{
#search
{
float
:
left
;
float
:
left
;
}
}
#reset
{
#reset
{
float
:
left
;
float
:
left
;
}
}
.J_preview
{
width
:
30px
;
height
:
30px
;
/*border-radius: 15px;*/
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
...
public/resource/js/marchinList.js
View file @
6661df8f
...
@@ -169,6 +169,8 @@
...
@@ -169,6 +169,8 @@
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
$
(
'.J_preview'
).
preview
();
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
...
...
public/resource/js/public.js
View file @
6661df8f
...
@@ -272,7 +272,26 @@ function hideStr(str){
...
@@ -272,7 +272,26 @@ function hideStr(str){
return
str
;
return
str
;
}
}
}
}
//进场的经纬度 和 进场地址
function
adressDeal
(
str1
,
str2
,
address
,
addressA
)
{
if
(
address
!=
undefined
&&
address
!=
''
)
{
var
url
=
'http://api.map.baidu.com/geocoder/v2/?ak=eIxDStjzbtH0WtU50gqdXYCz&output=json&address='
+
address
;
//根据地点名称获取经纬度信息
$
.
ajax
({
type
:
"POST"
,
url
:
url
,
dataType
:
"JSONP"
,
success
:
function
(
data
)
{
if
(
parseInt
(
data
.
status
)
==
0
)
{
addressA
=
data
.
result
.
location
.
lng
;
console
.
log
(
addressA
)
return
addressA
//怎么从ajax 返回值
}
}
});
}
}
//判断数组里有没有 某个字段 返回类名 客户列表
//判断数组里有没有 某个字段 返回类名 客户列表
function
getLoaclId
(
id
){
function
getLoaclId
(
id
){
var
tempArr
=
JSON
.
parse
(
localStorage
.
getItem
(
'id_details_str'
));
var
tempArr
=
JSON
.
parse
(
localStorage
.
getItem
(
'id_details_str'
));
...
@@ -316,4 +335,5 @@ function dealPunctuation(str) {
...
@@ -316,4 +335,5 @@ function dealPunctuation(str) {
// $('.mark').hide();
// $('.mark').hide();
// $('.mark').remove();
// $('.mark').remove();
// }, 2000)
// }, 2000)
//}
//}
\ No newline at end of file
public/resource/template/marchin_list_template_tpl.html
View file @
6661df8f
...
@@ -6,8 +6,11 @@
...
@@ -6,8 +6,11 @@
<
td
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
[
%=
adressDeal
(
it
[
item
][
'latitude'
],
it
[
item
][
'longitude'
],
it
[
item
][
'march_in_area'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
<
img
src
=
'[%=location.href+"/static/chat_image/"+it[item]["march_in_img"] %]'
class
=
"diagram-image J_preview"
data
-
bimg
=
'[%=location.href+"/static/chat_image/"+it[item]["march_in_img"] %]'
>
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
6661df8f
...
@@ -527,15 +527,7 @@
...
@@ -527,15 +527,7 @@
<
/td
>
<
/td
>
<
td
class
=
"text-left"
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
class
=
"text-left"
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'area_demand'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'area_demand'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
"source"
]
==
10
)
{
%
]
APP
注册
[
%
}
else
if
(
it
[
item
][
"source"
]
==
20
)
{
%
]
经纪人新增
[
%
}
else
{
%
]
老数据客户
[
%
}
%
]
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
...
...
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