Commit 28accb44 authored by agping's avatar agping

后台添加成交地图

parent f03dd73d
......@@ -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
{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>
......@@ -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
......
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment