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
e2231c07
Commit
e2231c07
authored
Dec 27, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1d11c24c
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
38 additions
and
41 deletions
+38
-41
alarm-list.component.html
...ain/webapp/app/alarm/alarm-list/alarm-list.component.html
+2
-4
alarm-set.component.html
src/main/webapp/app/alarm/alarm-set/alarm-set.component.html
+4
-4
alarm-set.component.ts
src/main/webapp/app/alarm/alarm-set/alarm-set.component.ts
+2
-1
media-type.component.ts
...webapp/app/alarm/modal/media-type/media-type.component.ts
+4
-2
send-set.component.html
src/main/webapp/app/alarm/send-set/send-set.component.html
+1
-1
home.component.html
src/main/webapp/app/home/home.component.html
+1
-1
home.component.ts
src/main/webapp/app/home/home.component.ts
+1
-1
website.component.ts
src/main/webapp/app/modal/website/website.component.ts
+5
-5
flow-trend.component.ts
...webapp/app/netTopology/flow-trend/flow-trend.component.ts
+1
-1
ne-topology.component.html
...pp/app/netTopology/ne-topology/ne-topology.component.html
+1
-1
ne-topology.component.ts
...bapp/app/netTopology/ne-topology/ne-topology.component.ts
+1
-1
topology-img.component.html
.../app/netTopology/topology-img/topology-img.component.html
+1
-1
basic.component.html
src/main/webapp/app/overAll/basic/basic.component.html
+5
-9
network-check.component.html
...pp/app/overAll/network-check/network-check.component.html
+2
-2
power.component.html
src/main/webapp/app/system/power/power.component.html
+1
-1
asset-part.component.html
...main/webapp/app/work/asset-part/asset-part.component.html
+1
-1
child-assets.component.html
.../work/asset-part/child-assets/child-assets.component.html
+1
-1
inspect-plan.component.html
.../webapp/app/work/inspect-plan/inspect-plan.component.html
+1
-1
params-type.component.ts
...ebapp/app/work/modal/params-type/params-type.component.ts
+2
-2
work-handle.component.html
...in/webapp/app/work/work-handle/work-handle.component.html
+1
-1
No files found.
src/main/webapp/app/alarm/alarm-list/alarm-list.component.html
View file @
e2231c07
...
@@ -8,13 +8,11 @@
...
@@ -8,13 +8,11 @@
<a>
告警管理
</a>
<a>
告警管理
</a>
</nz-breadcrumb-item>
</nz-breadcrumb-item>
<nz-breadcrumb-item>
<nz-breadcrumb-item>
告警
记录
告警
推送日志
</nz-breadcrumb-item>
</nz-breadcrumb-item>
</nz-breadcrumb>
</nz-breadcrumb>
</div>
</div>
<div
nz-col
nzSpan=
"8"
class=
"text-right"
>
<div
nz-col
nzSpan=
"8"
class=
"text-right"
>
<button
nz-button
nzType=
"primary"
><i
class=
"anticon anticon-search"
></i></button>
<button
nz-button
nzType=
"primary"
><i
class=
"anticon anticon-sync"
></i></button>
<button
nz-button
nzType=
"primary"
><i
class=
"anticon anticon-arrows-alt"
></i></button>
<button
nz-button
nzType=
"primary"
><i
class=
"anticon anticon-arrows-alt"
></i></button>
</div>
</div>
</div>
</div>
...
@@ -62,7 +60,7 @@
...
@@ -62,7 +60,7 @@
</div>
</div>
</div>
</div>
<div
nz-row
class=
"search-form"
style=
"border-top: none;padding: 0 0 15px 0;"
>
<div
nz-row
class=
"search-form"
style=
"border-top: none;padding: 0 0 15px 0;"
>
<input
[(
ngModel
)]="
obj
.
name
"
nz-input
placeholder=
"
搜索
"
>
<input
[(
ngModel
)]="
obj
.
name
"
nz-input
placeholder=
"
告警信息
"
>
<button
(
click
)="
searchValue
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-search"
></i>
搜索
</button>
<button
(
click
)="
searchValue
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-search"
></i>
搜索
</button>
</div>
</div>
...
...
src/main/webapp/app/alarm/alarm-set/alarm-set.component.html
View file @
e2231c07
...
@@ -28,22 +28,22 @@
...
@@ -28,22 +28,22 @@
</nz-select>
</nz-select>
</div>
</div>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<button
nz-button
nzType=
"default"
(
click
)="
showGroupModal
()"
><i
class=
"anticon anticon-plus"
></i>
添加
<button
nz-button
nzType=
"default"
(
click
)="
showGroupModal
()"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加
</button>
</button>
<button
nz-button
nzType=
"default"
(
click
)="
editGroup
()"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
nz-button
nzType=
"default"
(
click
)="
editGroup
()"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
nz-button
nzType=
"default"
(
click
)="
deleteGroup
()"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除
</button>
<button
nz-button
nzType=
"default"
(
click
)="
deleteGroup
()"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除
</button>
<
button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-pause-circle-o"
></i>
暂停
</button
>
<
!--<button nz-button nzType="default"><i class="anticon anticon-pause-circle-o"></i>暂停</button>--
>
</div>
</div>
</div>
</div>
<div
nz-row
class=
"search-form"
>
<div
nz-row
class=
"search-form"
>
<div
nz-col
nzSpan=
"16"
>
<div
nz-col
nzSpan=
"16"
>
<button
(
click
)="
showAlarmModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
新增告警推送
</button>
<button
(
click
)="
showAlarmModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
新增告警推送
</button>
</div>
</div>
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
setList
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
totalNum
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
change
($
event
)"
>
<nz-table
#
nzTable
[
nzData
]="
setList
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
totalNum
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
change
($
event
)"
>
<thead>
<thead>
<tr>
<tr>
<th
nzShowSort
>
名称
</th>
<th>
名称
</th>
<th>
状态
</th>
<th>
状态
</th>
<th>
发送方式
</th>
<th>
发送方式
</th>
<th
nzWidth=
"15%"
>
发送对象
</th>
<th
nzWidth=
"15%"
>
发送对象
</th>
...
...
src/main/webapp/app/alarm/alarm-set/alarm-set.component.ts
View file @
e2231c07
...
@@ -122,7 +122,7 @@ export class AlarmSetComponent implements OnInit {
...
@@ -122,7 +122,7 @@ export class AlarmSetComponent implements OnInit {
this
.
smartAlarmModal
.
showEditModal
(
"编辑告警"
,
item
.
actionid
);
this
.
smartAlarmModal
.
showEditModal
(
"编辑告警"
,
item
.
actionid
);
}
}
//启用或暂停告警组
//启用或暂停告警组
--单个
changeStatus
(
title
,
status
,
item
)
{
changeStatus
(
title
,
status
,
item
)
{
this
.
modalService
.
confirm
({
this
.
modalService
.
confirm
({
nzTitle
:
title
,
nzTitle
:
title
,
...
@@ -146,6 +146,7 @@ export class AlarmSetComponent implements OnInit {
...
@@ -146,6 +146,7 @@ export class AlarmSetComponent implements OnInit {
});
});
}
}
//删除告警
//删除告警
deleteAlarm
(
item
)
{
deleteAlarm
(
item
)
{
this
.
modalSer
.
confirm
({
this
.
modalSer
.
confirm
({
...
...
src/main/webapp/app/alarm/modal/media-type/media-type.component.ts
View file @
e2231c07
...
@@ -57,7 +57,7 @@ export class MediaTypeComponent implements OnInit {
...
@@ -57,7 +57,7 @@ export class MediaTypeComponent implements OnInit {
data
.
type
+=
""
;
data
.
type
+=
""
;
this
.
validateForm
.
patchValue
(
data
);
this
.
validateForm
.
patchValue
(
data
);
}
else
{
}
else
{
this
.
message
.
info
(
res
.
errMsg
);
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
)
)
...
@@ -143,8 +143,10 @@ export class MediaTypeComponent implements OnInit {
...
@@ -143,8 +143,10 @@ export class MediaTypeComponent implements OnInit {
if
(
res
.
errCode
==
10000
)
{
if
(
res
.
errCode
==
10000
)
{
this
.
isVisible
=
false
;
this
.
isVisible
=
false
;
this
.
initForm
();
this
.
initForm
();
this
.
message
.
info
(
'添加成功'
);
this
.
message
.
success
(
'添加成功'
);
this
.
done
.
emit
();
this
.
done
.
emit
();
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
);
);
...
...
src/main/webapp/app/alarm/send-set/send-set.component.html
View file @
e2231c07
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
</div>
</div>
<div
nz-row
class=
"search-form"
style=
"border-top: none;padding: 0 0 15px 0;"
>
<div
nz-row
class=
"search-form"
style=
"border-top: none;padding: 0 0 15px 0;"
>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
新增发送方式
</button>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
新增发送方式
</button>
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
sendList
"
>
<nz-table
#
nzTable
[
nzData
]="
sendList
"
>
...
...
src/main/webapp/app/home/home.component.html
View file @
e2231c07
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</tbody>
</tbody>
</nz-table>
</nz-table>
<p
class=
"text-right padding-15-0"
>
<p
class=
"text-right padding-15-0"
>
<button
nz-button
nzType=
"default"
(
click
)="
showAddFollow
()"
><i
class=
"anticon anticon-plus"
></i>
添加分组
</button>
<button
nz-button
nzType=
"default"
(
click
)="
showAddFollow
()"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加分组
</button>
</p>
</p>
<div
nz-row
>
<div
nz-row
>
<ng-container
*
ngFor=
"let item of followList;let i = index;"
>
<ng-container
*
ngFor=
"let item of followList;let i = index;"
>
...
...
src/main/webapp/app/home/home.component.ts
View file @
e2231c07
...
@@ -523,7 +523,7 @@ export class HomeComponent implements OnInit,AfterViewInit {
...
@@ -523,7 +523,7 @@ export class HomeComponent implements OnInit,AfterViewInit {
this
.
totalNum
=
res
.
data
.
totalNum
;
this
.
totalNum
=
res
.
data
.
totalNum
;
}
}
}
else
{
}
else
{
this
.
message
.
info
(
res
.
errMsg
);
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
);
);
...
...
src/main/webapp/app/modal/website/website.component.ts
View file @
e2231c07
...
@@ -70,7 +70,6 @@ export class WebsiteComponent implements OnInit {
...
@@ -70,7 +70,6 @@ export class WebsiteComponent implements OnInit {
}
}
handleOk
()
{
handleOk
()
{
// this.isVisible = false;
if
(
this
.
title
==
'添加网站监测'
){
if
(
this
.
title
==
'添加网站监测'
){
this
.
create
();
this
.
create
();
}
else
{
}
else
{
...
@@ -84,12 +83,12 @@ export class WebsiteComponent implements OnInit {
...
@@ -84,12 +83,12 @@ export class WebsiteComponent implements OnInit {
this
.
overAllSer
.
createWebscenario
(
this
.
validateForm
).
subscribe
(
this
.
overAllSer
.
createWebscenario
(
this
.
validateForm
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
if
(
res
.
errCode
==
10000
){
this
.
message
.
info
(
'添加成功'
);
this
.
message
.
success
(
'添加成功'
);
this
.
isVisible
=
false
;
this
.
isVisible
=
false
;
this
.
done
.
emit
();
this
.
done
.
emit
();
this
.
initForm
();
this
.
initForm
();
}
else
{
}
else
{
this
.
message
.
info
(
res
.
apiResponse
.
errMsg
);
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
)
)
...
@@ -100,18 +99,19 @@ export class WebsiteComponent implements OnInit {
...
@@ -100,18 +99,19 @@ export class WebsiteComponent implements OnInit {
this
.
overAllSer
.
updateWebscenario
(
this
.
validateForm
).
subscribe
(
this
.
overAllSer
.
updateWebscenario
(
this
.
validateForm
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
if
(
res
.
errCode
==
10000
){
this
.
message
.
info
(
'添加成功'
);
this
.
message
.
success
(
'添加成功'
);
this
.
isVisible
=
false
;
this
.
isVisible
=
false
;
this
.
done
.
emit
();
this
.
done
.
emit
();
this
.
initForm
();
this
.
initForm
();
}
else
{
}
else
{
this
.
message
.
info
(
res
.
apiResponse
.
errMsg
);
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
)
)
}
}
handleCancel
()
{
handleCancel
()
{
this
.
initForm
();
this
.
isVisible
=
false
;
this
.
isVisible
=
false
;
}
}
...
...
src/main/webapp/app/netTopology/flow-trend/flow-trend.component.ts
View file @
e2231c07
...
@@ -117,7 +117,7 @@ export class FlowTrendComponent implements OnInit {
...
@@ -117,7 +117,7 @@ export class FlowTrendComponent implements OnInit {
this
.
outEchartData
=
res
.
data
;
this
.
outEchartData
=
res
.
data
;
this
.
setEacharts
();
this
.
setEacharts
();
}
else
{
}
else
{
this
.
message
.
info
(
"图表暂无数据"
);
this
.
message
.
warning
(
"图表暂无数据"
);
this
.
isLoading
=
false
;
this
.
isLoading
=
false
;
}
}
}
}
...
...
src/main/webapp/app/netTopology/ne-topology/ne-topology.component.html
View file @
e2231c07
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</nz-select>
</nz-select>
</div>
</div>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<button
nz-button
(
click
)="
addTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加
</button>
<button
nz-button
(
click
)="
addTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加
</button>
<button
nz-button
(
click
)="
editTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
nz-button
(
click
)="
editTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
nz-button
(
click
)="
deleteTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
删除
</button>
<button
nz-button
(
click
)="
deleteTopo
()"
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
删除
</button>
</div>
</div>
...
...
src/main/webapp/app/netTopology/ne-topology/ne-topology.component.ts
View file @
e2231c07
...
@@ -228,7 +228,7 @@ export class NeTopologyComponent implements OnInit, AfterViewInit {
...
@@ -228,7 +228,7 @@ export class NeTopologyComponent implements OnInit, AfterViewInit {
//删除拓扑图
//删除拓扑图
deleteTopo
()
{
deleteTopo
()
{
if
(
!
this
.
topoId
)
{
if
(
!
this
.
topoId
)
{
this
.
message
.
info
(
'请选择需要删除的拓扑图'
);
this
.
message
.
warning
(
'请选择需要删除的拓扑图'
);
return
false
;
return
false
;
}
}
this
.
modalSer
.
confirm
({
this
.
modalSer
.
confirm
({
...
...
src/main/webapp/app/netTopology/topology-img/topology-img.component.html
View file @
e2231c07
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
nz-row
class=
"search-form"
>
<div
nz-row
class=
"search-form"
>
<div
nz-col
nzSpan=
"12"
>
<div
nz-col
nzSpan=
"12"
>
<button
nz-button
(
click
)="
addIcon
()"
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加图标
</button>
<button
nz-button
(
click
)="
addIcon
()"
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加图标
</button>
</div>
</div>
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
iconList
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
totalNum
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
changePage
($
event
)"
>
<nz-table
#
nzTable
[
nzData
]="
iconList
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
totalNum
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
changePage
($
event
)"
>
...
...
src/main/webapp/app/overAll/basic/basic.component.html
View file @
e2231c07
...
@@ -55,16 +55,12 @@
...
@@ -55,16 +55,12 @@
</nz-select>
</nz-select>
</div>
</div>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<button
nz-button
nzType=
"default"
(
click
)="
showGroupModal
()"
*
ngIf=
"selectedValue == 'group'"
><i
<button
nz-button
nzType=
"default"
(
click
)="
showGroupModal
()"
*
ngIf=
"selectedValue == 'group'"
>
class=
"anticon anticon-plus"
></i>
添加分组
<i
class=
"anticon anticon-plus-circle-o"
></i>
添加分组
</button>
<button
(
click
)="
openBatchHost
(
1
,'停止')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-pause-circle-o"
></i>
停止监控
</button>
<button
(
click
)="
openBatchHost
(
0
,'开启')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
开启监控
</button>
<button
(
click
)="
batchDeleteConfirm
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除资源
</button>
</button>
<button
(
click
)="
openBatchHost
(
1
,'停止')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-pause-circle-o"
></i>
停止监控
</button>
<button
(
click
)="
openBatchHost
(
0
,'开启')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
开启监控
</button>
<button
(
click
)="
batchDeleteConfirm
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除资源
</button>
</div>
</div>
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
dataSet
"
nzSingleSort
[
nzLoading
]="
loading
"
[
nzShowPagination
]="
frontPagination
"
>
<nz-table
#
nzTable
[
nzData
]="
dataSet
"
nzSingleSort
[
nzLoading
]="
loading
"
[
nzShowPagination
]="
frontPagination
"
>
...
...
src/main/webapp/app/overAll/network-check/network-check.component.html
View file @
e2231c07
...
@@ -47,14 +47,14 @@
...
@@ -47,14 +47,14 @@
</span>
</span>
</div>
</div>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<div
nz-col
nzSpan=
"12"
class=
"text-right"
>
<button
nz-button
nzType=
"default"
(
click
)="
showAddmodal
()"
><i
class=
"anticon anticon-plus"
></i>
添加网站
<button
nz-button
nzType=
"default"
(
click
)="
showAddmodal
()"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加网站
</button>
</button>
<button
(
click
)="
openBatchHost
(
1
,'禁用')"
nz-button
nzType=
"default"
><i
<button
(
click
)="
openBatchHost
(
1
,'禁用')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-pause-circle-o"
></i>
停止监控
class=
"anticon anticon-pause-circle-o"
></i>
停止监控
</button>
</button>
<button
(
click
)="
openBatchHost
(
0
,'启用')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
开启监控
<button
(
click
)="
openBatchHost
(
0
,'启用')"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-play-circle-o"
></i>
开启监控
</button>
</button>
<button
(
click
)="
batchDeleteConfirm
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle"
></i>
删除网站
<button
(
click
)="
batchDeleteConfirm
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle
-o
"
></i>
删除网站
</button>
</button>
</div>
</div>
</div>
</div>
...
...
src/main/webapp/app/system/power/power.component.html
View file @
e2231c07
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<div
nz-row
class=
"search-form"
>
<div
nz-row
class=
"search-form"
>
<div
nz-col
nzSpan=
"16"
>
<div
nz-col
nzSpan=
"16"
>
<button
(
click
)="
showSeparationModal
()"
nz-button
nzType=
"default"
>
三员分立
</button>
<button
(
click
)="
showSeparationModal
()"
nz-button
nzType=
"default"
>
三员分立
</button>
<button
(
click
)="
showAddRoleModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
新增角色
</button>
<button
(
click
)="
showAddRoleModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
新增角色
</button>
</div>
</div>
<div
nz-col
nzSpan=
"8"
class=
"text-right"
>
<div
nz-col
nzSpan=
"8"
class=
"text-right"
>
<input
nz-input
placeholder=
"角色/权限模块/资源权限"
>
<input
nz-input
placeholder=
"角色/权限模块/资源权限"
>
...
...
src/main/webapp/app/work/asset-part/asset-part.component.html
View file @
e2231c07
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</div>
</div>
<div
nz-col
nzSpan=
"8"
></div>
<div
nz-col
nzSpan=
"8"
></div>
<div
nz-col
nzSpan=
"6"
class=
"text-right"
>
<div
nz-col
nzSpan=
"6"
class=
"text-right"
>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加
</button>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加
</button>
<button
(
click
)="
showPEditModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
(
click
)="
showPEditModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-form"
></i>
编辑
</button>
<button
(
click
)="
deleteParentType
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除
<button
(
click
)="
deleteParentType
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-close-circle-o"
></i>
删除
</button>
</button>
...
...
src/main/webapp/app/work/asset-part/child-assets/child-assets.component.html
View file @
e2231c07
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加资产
</button>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
添加资产
</button>
</div>
</div>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-upload"
></i>
导入资产
</button>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-upload"
></i>
导入资产
</button>
...
...
src/main/webapp/app/work/inspect-plan/inspect-plan.component.html
View file @
e2231c07
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
(
click
)="
addPlan
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
新增计划
</button>
<button
(
click
)="
addPlan
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
新增计划
</button>
</div>
</div>
<div
nz-col
nzSpan=
"4"
>
<div
nz-col
nzSpan=
"4"
>
<nz-select
style=
"width: 100%;"
[(
ngModel
)]="
obj
.
status
"
nzPlaceHolder=
"计划状态"
>
<nz-select
style=
"width: 100%;"
[(
ngModel
)]="
obj
.
status
"
nzPlaceHolder=
"计划状态"
>
...
...
src/main/webapp/app/work/modal/params-type/params-type.component.ts
View file @
e2231c07
...
@@ -70,12 +70,12 @@ export class ParamsTypeComponent implements OnInit {
...
@@ -70,12 +70,12 @@ export class ParamsTypeComponent implements OnInit {
this
.
workSer
.
createTypeByparams
(
this
.
validateForm
.
value
).
subscribe
(
this
.
workSer
.
createTypeByparams
(
this
.
validateForm
.
value
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
if
(
res
.
errCode
==
10000
)
{
this
.
message
.
info
(
'添加成功'
);
this
.
message
.
success
(
'添加成功'
);
this
.
isVisiable
=
false
;
this
.
isVisiable
=
false
;
this
.
done
.
emit
();
this
.
done
.
emit
();
this
.
initForm
();
this
.
initForm
();
}
else
{
}
else
{
this
.
message
.
info
(
res
.
errMsg
);
this
.
message
.
error
(
res
.
errMsg
);
}
}
}
}
);
);
...
...
src/main/webapp/app/work/work-handle/work-handle.component.html
View file @
e2231c07
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-row
[
nzGutter
]="
4
"
class=
"search-form"
>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
新增事件
</button>
<button
(
click
)="
showAddModal
()"
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus
-circle-o
"
></i>
新增事件
</button>
</div>
</div>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<nz-select
style=
"width: 100%;"
[(
ngModel
)]="
obj
.
type
"
nzPlaceHolder=
"事件分类"
>
<nz-select
style=
"width: 100%;"
[(
ngModel
)]="
obj
.
type
"
nzPlaceHolder=
"事件分类"
>
...
...
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