Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
Jz-Php
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
PHP
Jz-Php
Commits
1575fbb4
提交
1575fbb4
authored
6月 02, 2020
作者:
chengye
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试sql
上级
cc8112c3
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
80 行删除
+10
-80
Count.php
application/jz/controller/Count.php
+9
-9
index.html
application/jz/view/count/index.html
+1
-71
没有找到文件。
application/jz/controller/Count.php
浏览文件 @
1575fbb4
...
...
@@ -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");
}
...
...
application/jz/view/count/index.html
浏览文件 @
1575fbb4
{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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论