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
d90d0948
Commit
d90d0948
authored
Dec 28, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
28c9b9d2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
13 deletions
+22
-13
basi-check.component.html
...ain/webapp/app/modal/basi-check/basi-check.component.html
+2
-2
basic-edit.component.html
...ain/webapp/app/modal/basic-edit/basic-edit.component.html
+2
-2
website.component.html
src/main/webapp/app/modal/website/website.component.html
+2
-2
group-modal.component.html
...p/app/system/modal/group-modal/group-modal.component.html
+2
-2
group-modal.component.ts
...app/app/system/modal/group-modal/group-modal.component.ts
+5
-1
role.component.html
src/main/webapp/app/system/modal/role/role.component.html
+2
-2
system.service.ts
src/main/webapp/app/system/system.service.ts
+5
-0
type-asets.component.html
...ebapp/app/work/modal/type-asets/type-asets.component.html
+2
-2
No files found.
src/main/webapp/app/modal/basi-check/basi-check.component.html
View file @
d90d0948
...
...
@@ -6,9 +6,9 @@
<nz-tab
nzTitle=
"基本属性"
nzDisabled=
"true"
>
<form
[
formGroup
]="
validateForm
"
nz-form
>
<nz-form-item>
<nz-form-label
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
n
ame"
>
监测点名称
</nz-form-label>
<nz-form-label
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
checkN
ame"
>
监测点名称
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"
name"
name=
"n
ame"
type=
"text"
nz-input
formControlName=
"name"
>
<input
id=
"
checkName"
name=
"checkN
ame"
type=
"text"
nz-input
formControlName=
"name"
>
<nz-form-explain
*
ngIf=
"validateForm.get('name').dirty && validateForm.get('name').errors"
>
请输入监测点名称!
</nz-form-explain>
</nz-form-control>
</nz-form-item>
...
...
src/main/webapp/app/modal/basic-edit/basic-edit.component.html
View file @
d90d0948
...
...
@@ -41,9 +41,9 @@
<div
nz-row
[
nzGutter
]="
24
"
>
<div
nz-col
[
nzSpan
]="
12
"
>
<nz-form-item
nzFlex
>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
n
ame"
>
显示名
</nz-form-label>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
editN
ame"
>
显示名
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"
name"
nz-input
placeholder=
"显示名"
name=
"n
ame"
[(
ngModel
)]="
validateForm
.
name
"
>
<input
id=
"
editName"
nz-input
placeholder=
"显示名"
name=
"editN
ame"
[(
ngModel
)]="
validateForm
.
name
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
src/main/webapp/app/modal/website/website.component.html
View file @
d90d0948
...
...
@@ -9,9 +9,9 @@
<div
nz-row
[
nzGutter
]="
24
"
>
<div
nz-col
[
nzSpan
]="
12
"
>
<nz-form-item
nzFlex
>
<nz-form-label
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
n
ame"
>
网站名称
</nz-form-label>
<nz-form-label
[
nzSpan
]="
6
"
nzRequired
nzFor=
"
webN
ame"
>
网站名称
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"
name"
name=
"n
ame"
nz-input
placeholder=
"网站名称"
[(
ngModel
)]="
validateForm
.
name
"
>
<input
id=
"
webName"
name=
"webN
ame"
nz-input
placeholder=
"网站名称"
[(
ngModel
)]="
validateForm
.
name
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
src/main/webapp/app/system/modal/group-modal/group-modal.component.html
View file @
d90d0948
<nz-modal
[(
nzVisible
)]="
isVisible
"
nzTitle=
"{{title}}"
(
nzOnCancel
)="
handleCancel
()"
(
nzOnOk
)="
handleOk
()"
>
<form
[
formGroup
]="
validateForm
"
nz-form
>
<nz-form-item>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"
n
ame"
>
部门名称
</nz-form-label>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"
groupN
ame"
>
部门名称
</nz-form-label>
<nz-form-control
[
nzSm
]="
14
"
[
nzXs
]="
24
"
>
<input
nz-input
formControlName=
"name"
id=
"
n
ame"
>
<input
nz-input
formControlName=
"name"
id=
"
groupN
ame"
>
<nz-form-explain
*
ngIf=
"validateForm.get('name').dirty && validateForm.get('name').errors"
>
请输入部门名称
</nz-form-explain>
</nz-form-control>
</nz-form-item>
...
...
src/main/webapp/app/system/modal/group-modal/group-modal.component.ts
View file @
d90d0948
...
...
@@ -40,9 +40,13 @@ export class GroupModalComponent implements OnInit {
showEditModal
(
list
,
title
,
item
){
this
.
orgId
=
item
.
key
;
this
.
groupList
=
list
;
this
.
isVisible
=
true
;
this
.
title
=
title
;
this
.
systemSer
.
getAllOutOfMine
(
this
.
orgId
).
subscribe
(
(
res
)
=>
{
this
.
groupList
=
res
.
data
;
}
);
this
.
validateForm
.
patchValue
(
item
.
origin
);
this
.
validateForm
.
value
.
parentId
=
item
.
key
;
}
...
...
src/main/webapp/app/system/modal/role/role.component.html
View file @
d90d0948
<nz-modal
[(
nzVisible
)]="
isVisible
"
[
nzTitle
]="
title
"
[
nzWidth
]="
880
"
(
nzOnCancel
)="
handleCancel
()"
(
nzOnOk
)="
handleOk
()"
>
<form
nz-form
[
formGroup
]="
validateForm
"
>
<nz-form-item>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"
n
ame"
>
角色名称
</nz-form-label>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzRequired
nzFor=
"
roleN
ame"
>
角色名称
</nz-form-label>
<nz-form-control
[
nzSm
]="
14
"
[
nzXs
]="
24
"
>
<input
nz-input
id=
"
n
ame"
formControlName=
"name"
>
<input
nz-input
id=
"
roleN
ame"
formControlName=
"name"
>
<nz-form-explain
*
ngIf=
"validateForm.get('name').dirty && validateForm.get('name').errors"
>
请填写角色名称!
</nz-form-explain>
</nz-form-control>
...
...
src/main/webapp/app/system/system.service.ts
View file @
d90d0948
...
...
@@ -228,6 +228,11 @@ export class SystemService {
return
this
.
http
.
post
(
SERVER_API_URL_COMS
+
'/organization/importOrg'
,
data
);
}
//当前组织的上级部门
getAllOutOfMine
(
params
):
Observable
<
any
>
{
return
this
.
http
.
get
(
SERVER_API_URL_COMS
+
'/organization/getAllOutOfMine/'
+
params
);
}
/**
* 下载文件
* @param pararms 参数
...
...
src/main/webapp/app/work/modal/type-asets/type-asets.component.html
View file @
d90d0948
...
...
@@ -20,9 +20,9 @@
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzFor=
"status"
nzRequired
nzFor=
"
n
ame"
>
分类名称
</nz-form-label>
<nz-form-label
[
nzSm
]="
6
"
[
nzXs
]="
24
"
nzFor=
"status"
nzRequired
nzFor=
"
typeN
ame"
>
分类名称
</nz-form-label>
<nz-form-control
[
nzSm
]="
14
"
[
nzXs
]="
24
"
>
<input
type=
"text"
nz-input
formControlName=
"name"
name=
"
name"
id=
"n
ame"
>
<input
type=
"text"
nz-input
formControlName=
"name"
name=
"
typeName"
id=
"typeN
ame"
>
<nz-form-explain
*
ngIf=
"validateForm.get('name').dirty && validateForm.get('name').errors"
>
请选择分类名称!
</nz-form-explain>
</nz-form-control>
</nz-form-item>
...
...
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