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
28accb44
Commit
28accb44
authored
Sep 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台添加成交地图
parent
f03dd73d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
1 deletion
+65
-1
RealTimePerformance.php
application/index/controller/RealTimePerformance.php
+8
-0
deal_map.html
application/index/view/realtime/deal_map.html
+13
-0
route.php
application/route.php
+2
-1
dealMap.js
public/resource/js/dealMap.js
+42
-0
No files found.
application/index/controller/RealTimePerformance.php
View file @
28accb44
...
...
@@ -144,5 +144,12 @@ class RealTimePerformance extends Basic
return
view
(
'achievements_report/location-map'
);
}
}
//成交地图
public
function
dealMap
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'realtime/deal_map'
);
}
}
}
\ No newline at end of file
application/index/view/realtime/deal_map.html
0 → 100644
View file @
28accb44
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"dealMap"
/>
<style>
.detail-modal-header-tab
>
span
{
margin-right
:
10px
;
}
</style>
<div
style=
"width: 100%;background: #fff;"
>
<div
class=
"detail-modal-body-sec1"
style=
"height: 1280px;"
>
<iframe
src=
""
style=
"width: 100%;height: 100%;border: 0;"
class=
"iframeShop"
></iframe>
</div>
</div>
application/route.php
View file @
28accb44
...
...
@@ -377,7 +377,8 @@ Route::group('index', [
'delFinanceReport'
=>
[
'index/RealTimePerformance/delFinanceReport'
,
[
'method'
=>
'GET'
]],
//收款入账删除 liu
'fineMoney'
=>
[
'index/RealTimePerformance/fineMoney'
,
[
'method'
=>
'GET'
]],
//罚款 liu
'delCostCheck'
=>
[
'index/RealTimePerformance/delCost'
,
[
'method'
=>
'GET'
]],
//删除报销 liu
'locationMap'
=>
[
'index/RealTimePerformance/locationMap'
,
[
'method'
=>
'GET'
]],
//删除报销 liu
'locationMap'
=>
[
'index/RealTimePerformance/locationMap'
,
[
'method'
=>
'GET'
]],
//定位地图 liu
'dealMap'
=>
[
'index/RealTimePerformance/dealMap'
,
[
'method'
=>
'GET'
]],
//成交地图 liu
'shopinspectionLog'
=>
[
'index/ShopInspectionLog/shopinspectionLogList'
,
[
'method'
=>
'POST|GET'
]],
//商铺查看日志liu
'opensquareLog'
=>
[
'index/OpenSquareLog/opensquarelogList'
,
[
'method'
=>
'POST|GET'
]],
//开盘广场liu
'redEnvelope'
=>
[
'index/RedEnvelope/redEnvelopeList'
,
[
'method'
=>
'POST|GET'
]],
//活动列表liu
...
...
public/resource/js/dealMap.js
0 → 100644
View file @
28accb44
define
([
'doT'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
cost
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
$
(
'.iframeShop'
).
attr
(
'src'
,
'/app/distPC/#/dealMap'
);
// cost.getList(1);
},
//获取列表
getList
:
function
(
no
){
var
that
=
cost
;
that
.
pageNo
=
no
;
var
params
=
{};
params
.
pageNo
=
that
.
pageNo
;
params
.
pageSize
=
that
.
pageSize
;
$
.
get
(
"/index/delCostList"
,
params
,
function
(
data
){
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
that
.
listData
=
data
.
data
.
list
;
var
temp
=
document
.
getElementById
(
'del_cost_check_template_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#order_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
/*分页代码*/
add_page
(
data
.
data
.
total
,
that
.
pageNo
,
that
.
pageSize
,
that
.
getList
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
'json'
);
},
};
return
cost
;
});
\ No newline at end of file
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