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
3b7b3b38
Commit
3b7b3b38
authored
Jan 23, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ac336ff4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
2 deletions
+12
-2
website.component.html
src/main/webapp/app/modal/website/website.component.html
+0
-0
website.component.ts
src/main/webapp/app/modal/website/website.component.ts
+0
-0
basic.component.html
src/main/webapp/app/overAll/basic/basic.component.html
+1
-1
group-modal.component.html
...p/app/system/modal/group-modal/group-modal.component.html
+1
-1
group-modal.component.ts
...app/app/system/modal/group-modal/group-modal.component.ts
+3
-0
documentation.css
src/main/webapp/content/css/documentation.css
+7
-0
No files found.
src/main/webapp/app/modal/website/website.component.html
View file @
3b7b3b38
This diff is collapsed.
Click to expand it.
src/main/webapp/app/modal/website/website.component.ts
View file @
3b7b3b38
This diff is collapsed.
Click to expand it.
src/main/webapp/app/overAll/basic/basic.component.html
View file @
3b7b3b38
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
<td></td>
<td></td>
<td
[
nzIndentSize
]="
item
.
level
*
20
"
nzShowExpand
[
nzExpand
]='
item
.
expand
'
<td
[
nzIndentSize
]="
item
.
level
*
20
"
nzShowExpand
[
nzExpand
]='
item
.
expand
'
(
nzExpandChange
)="
getChildren
(
item
)"
>
(
nzExpandChange
)="
getChildren
(
item
)"
>
<span>
{{item.name}}
<span
style=
"color: #
1b6b5bcc
; margin-left: 10px"
>
主机数量:{{item.hostcount}}
</span>
</span>
<span>
{{item.name}}
<span
style=
"color: #
439d68
; margin-left: 10px"
>
主机数量:{{item.hostcount}}
</span>
</span>
</td>
</td>
</ng-container>
</ng-container>
<!--子集-->
<!--子集-->
...
...
src/main/webapp/app/system/modal/group-modal/group-modal.component.html
View file @
3b7b3b38
<nz-modal
[(
nzVisible
)]="
isVisible
"
nzTitle=
"{{title}}"
(
nzOnCancel
)="
handleCancel
()"
(
nzOnOk
)="
handleOk
()"
>
<nz-modal
[(
nzVisible
)]="
isVisible
"
nzTitle=
"{{title}}"
(
nzOnCancel
)="
handleCancel
()"
(
nzOnOk
)="
handleOk
()"
[
nzOkLoading
]="
isOkLoading
"
>
<form
[
formGroup
]="
validateForm
"
nz-form
>
<form
[
formGroup
]="
validateForm
"
nz-form
>
<nz-form-item>
<nz-form-item>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"groupName"
>
部门名称
</nz-form-label>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"groupName"
>
部门名称
</nz-form-label>
...
...
src/main/webapp/app/system/modal/group-modal/group-modal.component.ts
View file @
3b7b3b38
...
@@ -13,6 +13,7 @@ export class GroupModalComponent implements OnInit {
...
@@ -13,6 +13,7 @@ export class GroupModalComponent implements OnInit {
title
;
title
;
isVisible
=
false
;
isVisible
=
false
;
isOkLoading
=
false
;
validateForm
:
FormGroup
;
validateForm
:
FormGroup
;
groupList
:
any
[];
groupList
:
any
[];
orgId
;
orgId
;
...
@@ -26,6 +27,7 @@ export class GroupModalComponent implements OnInit {
...
@@ -26,6 +27,7 @@ export class GroupModalComponent implements OnInit {
}
}
initForm
(){
initForm
(){
this
.
isOkLoading
=
false
;
this
.
validateForm
=
this
.
fb
.
group
({
this
.
validateForm
=
this
.
fb
.
group
({
name
:[
null
,[
Validators
.
required
,
Validators
.
maxLength
(
15
)]],
name
:[
null
,[
Validators
.
required
,
Validators
.
maxLength
(
15
)]],
parentId
:[
null
],
parentId
:[
null
],
...
@@ -64,6 +66,7 @@ export class GroupModalComponent implements OnInit {
...
@@ -64,6 +66,7 @@ export class GroupModalComponent implements OnInit {
if
(
this
.
validateForm
.
invalid
){
if
(
this
.
validateForm
.
invalid
){
return
false
;
return
false
;
}
}
this
.
isOkLoading
=
true
;
if
(
this
.
title
==
"新增部门"
){
if
(
this
.
title
==
"新增部门"
){
this
.
create
();
this
.
create
();
}
}
...
...
src/main/webapp/content/css/documentation.css
View file @
3b7b3b38
...
@@ -179,3 +179,9 @@
...
@@ -179,3 +179,9 @@
.margin-right-10
{
.margin-right-10
{
margin-right
:
5px
;
margin-right
:
5px
;
}
}
.margin-left-5
{
margin-left
:
5px
;
}
.margin-left-10
{
margin-left
:
10px
;
}
\ No newline at end of file
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