Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
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
wangqinghua
smart
Commits
0bf573b1
Commit
0bf573b1
authored
Nov 19, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c5fbc619
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
app.component.ts
src/main/webapp/app/app.component.ts
+2
-0
app.constants.ts
src/main/webapp/app/app.constants.ts
+2
-2
warn-list.component.html
src/main/webapp/app/modal/warn-list/warn-list.component.html
+2
-2
No files found.
src/main/webapp/app/app.component.ts
View file @
0bf573b1
...
...
@@ -11,6 +11,8 @@ export class AppComponent {
constructor
(
private
router
:
Router
,
private
overAll
:
OverAllService
,
private
titleSer
:
Title
){
console
.
log
(
"monitor:v20191119"
);
//火狐拖动图片会打开新tab
document
.
body
.
ondrop
=
(
event
)
=>
{
event
.
preventDefault
();
...
...
src/main/webapp/app/app.constants.ts
View file @
0bf573b1
export
const
VERSION
=
process
.
env
.
VERSION
;
export
const
DEBUG_INFO_ENABLED
:
boolean
=
!!
process
.
env
.
DEBUG_INFO_ENABLED
;
export
const
SERVER_API_URL_COMS
=
'/coms'
;
export
const
SERVER_API_URL
=
'/anke'
;
//
export const SERVER_API_URL = '/anke';
// export const SERVER_API_URL = '/zhouxi';
//
export const SERVER_API_URL = '/zabbixBox';
export
const
SERVER_API_URL
=
'/zabbixBox'
;
export
const
SERVER_API_URL_MONITOR
=
'/api'
;
export
const
BUILD_TIMESTAMP
=
process
.
env
.
BUILD_TIMESTAMP
;
export
const
pageSize
=
10
;
...
...
src/main/webapp/app/modal/warn-list/warn-list.component.html
View file @
0bf573b1
...
...
@@ -7,7 +7,7 @@
<th>
级别
</th>
<th>
名称
</th>
<th
nzWidth=
"15%"
>
告警信息
</th>
<th>
持续时间
</th>
<th
*
ngIf=
"!obj?.isWaring"
>
持续时间
</th>
<th>
状态
</th>
</tr>
</thead>
...
...
@@ -23,7 +23,7 @@
</td>
<td>
{{data.name}}
</td>
<td>
{{data.description}}
</td>
<td>
<td
*
ngIf=
"!obj?.isWaring"
>
<ng-container
*
ngIf=
"data.continuedTime"
>
{{data.continuedTime}}
</ng-container>
</td>
<td>
...
...
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