Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
IoTSharp
IoTSharp
提交
dd37c63e
IoTSharp
项目概览
IoTSharp
/
IoTSharp
10 个月 前同步成功
通知
15
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
IoTSharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
dd37c63e
编写于
7月 23, 2022
作者:
麦壳饼
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改cap和健康检查api路径写死的问题
上级
19b61ab8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
3 deletion
+3
-3
IoTSharp/ClientApp/src/app/routes/dashboard/wedgits/statistics/statistics.component.html
...es/dashboard/wedgits/statistics/statistics.component.html
+1
-1
IoTSharp/ClientApp/src/app/routes/dashboard/wedgits/statistics/statistics.component.ts
...utes/dashboard/wedgits/statistics/statistics.component.ts
+2
-2
未找到文件。
IoTSharp/ClientApp/src/app/routes/dashboard/wedgits/statistics/statistics.component.html
浏览文件 @
dd37c63e
...
...
@@ -26,7 +26,7 @@
Quartz
<small
class=
"text-sm font-weight-normal"
></small>
</ng-template>
<iframe
src=
"quartz/Scheduler"
width=
"100%"
<iframe
src=
"
/
quartz/Scheduler"
width=
"100%"
style=
"border: 0; padding-top: -40px; position:relative; height: 1000px; "
scrolling=
"no"
>
</iframe>
...
...
IoTSharp/ClientApp/src/app/routes/dashboard/wedgits/statistics/statistics.component.ts
浏览文件 @
dd37c63e
...
...
@@ -22,7 +22,7 @@ export class StatisticsComponent implements OnInit, IWidgetComponent {
constructor
(
private
http
:
_HttpClient
,
private
cdr
:
ChangeDetectorRef
)
{}
ngOnInit
():
void
{
let
date
:
Date
=
new
Date
();
this
.
http
.
get
(
'
http://localhost:5000/
cap/api/metrics
'
).
subscribe
({
this
.
http
.
get
(
'
cap/api/metrics
'
).
subscribe
({
next
:
next
=>
{
for
(
var
i
=
0
;
i
<
next
.
dayHour
.
length
;
i
++
)
{
this
.
chartdata
.
push
({
...
...
@@ -39,7 +39,7 @@ export class StatisticsComponent implements OnInit, IWidgetComponent {
complete
:
()
=>
{}
});
this
.
http
.
get
(
'
h
ttp://localhost:5000/h
ealthchecks-api
'
).
subscribe
({
this
.
http
.
get
(
'
healthchecks-api
'
).
subscribe
({
next
:
next
=>
{
this
.
data
=
next
[
0
].
entries
;
this
.
cdr
.
detectChanges
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录