提交 1575fbb4 authored 作者: chengye's avatar chengye

测试sql

上级 cc8112c3
......@@ -15,16 +15,16 @@ class Count extends Base
{
public function index(){
//$this->redirect('http://114.113.126.44:3000/d/CATAHHmZz/ji-zhan-guan-li?orgId=1');
//return $this->fetch();
return $this->fetch();
//告诉浏览器此页面的过期时间(用格林威治时间表示),只要是已经过去的日期即可。
header("Expires:Mon,26 Jul 1970 05:00:00 GMT");
//告诉浏览器此页面的最后更新日期(用格林威治时间表示)也就是当天,目的就是强迫浏览器获取最新资料
header("Last-Modified:".gmdate("D,d M Y H:i:s")."GMT");
//告诉客户端浏览器不使用缓存
header("Cache-Control: no-cache, must-revalidate");
//参数(与以前的服务器兼容),即兼容HTTP1.0协议
header("Pragma: no-cache");
header("Location:http://114.113.126.44:3000/d/dcUEvUkMk/ji-zhan-quan-lan?orgId=1&from=1591003490674&to=1591025090674&kiosk=tv");
// header("Expires:Mon,26 Jul 1970 05:00:00 GMT");
// //告诉浏览器此页面的最后更新日期(用格林威治时间表示)也就是当天,目的就是强迫浏览器获取最新资料
// header("Last-Modified:".gmdate("D,d M Y H:i:s")."GMT");
// //告诉客户端浏览器不使用缓存
// header("Cache-Control: no-cache, must-revalidate");
// //参数(与以前的服务器兼容),即兼容HTTP1.0协议
// header("Pragma: no-cache");
//header("Location:http://114.113.126.44:3000/d/dcUEvUkMk/ji-zhan-quan-lan?orgId=1&from=1591003490674&to=1591025090674&kiosk=tv");
}
......
{extend name="public:base" /}
{block name="body"}
<style type="text/css">
.layui-table-page {
text-align: right;
}
</style>
<div class="layui-fluid">
<div class="layui-row layui-col-space15">
<div class="layui-col-md12">
<div class="layui-card">
<div id="main" style="width: 95%;height:600px;"></div>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="__STATIC__/admin/js/jquery.3.2.1.js"></script>
<script type="text/javascript" src="__STATIC__/admin/js/echarts.min.js"></script>
<script>
var myChart = echarts.init(document.getElementById('main'));
$.get('/jz_area', function (res) {
var data = JSON.parse(res);
myChart.setOption({
title: {
text: '各区域基站数据统计'
},
color: ['#3398DB'],
tooltip: {
trigger: 'axis',
axisPointer: { // 坐标轴指示器,坐标轴触发有效
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
}
},
grid: {
left: '3%',
right: '5%',
bottom: '3%',
containLabel: true
},
xAxis: [
{
type: 'category',
data: data[0],
axisTick: {
alignWithLabel: false
}
}
],
yAxis: [
{
type: 'value'
}
],
series: [
{
name: '基站总数',
type: 'bar',
barWidth: '90%',
data: data[1]
}
]
}
);
});
</script>
<script type="text/html" id="barDemo">
<button onclick="xadmin.add_tab('基站详情-站号:{{d.jz_code}}','/jzdetail/{{d.business_id}}',true,true)"
class="layui-btn layui-btn-sm">查看
</button>
</script>
<script>
layui.use(['laydate', 'form', 'table'], function () {
});
window.location.href = 'http://114.113.126.44:3000/d/dcUEvUkMk/ji-zhan-quan-lan?orgId=1&from=1591003490674&to=1591025090674&kiosk=tv';
</script>
{/block}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论