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
acceae52
Commit
acceae52
authored
Dec 06, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
722a4a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
basic-edit.component.html
...ain/webapp/app/modal/basic-edit/basic-edit.component.html
+5
-5
basic-edit.component.ts
src/main/webapp/app/modal/basic-edit/basic-edit.component.ts
+6
-6
No files found.
src/main/webapp/app/modal/basic-edit/basic-edit.component.html
View file @
acceae52
...
...
@@ -24,7 +24,7 @@
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"invertoryname"
>
品牌
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"invertoryname"
nz-input
placeholder=
"品牌"
name=
"invertoryname"
[(
ngModel
)]="
validateForm
.
inventory
.
invertoryname
"
>
[(
ngModel
)]="
validateForm
.
inventory
Extend
.
invertoryname
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
@@ -50,7 +50,7 @@
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"serialnoA"
>
型号
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"serialnoA"
nz-input
placeholder=
"型号"
name=
"serialnoA"
[(
ngModel
)]="
validateForm
.
inventory
.
serialnoA
"
>
[(
ngModel
)]="
validateForm
.
inventory
Extend
.
serialnoA
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
@@ -71,7 +71,7 @@
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"mac"
>
MAC地址
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"mac"
nz-input
placeholder=
"MAC地址"
name=
"mac"
[(
ngModel
)]="
validateForm
.
inventory
.
mac
"
>
[(
ngModel
)]="
validateForm
.
inventory
Extend
.
mac
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
@@ -82,7 +82,7 @@
<nz-form-item
nzFlex
>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzRequired
nzFor=
"storageLocation"
>
存放地点
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"storageLocation"
nz-input
placeholder=
"存放地点"
name=
"storageLocation"
[(
ngModel
)]="
validateForm
.
storageLocation
"
>
<input
id=
"storageLocation"
nz-input
placeholder=
"存放地点"
name=
"storageLocation"
[(
ngModel
)]="
validateForm
.
inventoryExtend
.
storageLocation
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
@@ -92,7 +92,7 @@
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"maintenanceExpiration"
>
维保到期
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<input
id=
"maintenanceExpiration"
nz-input
placeholder=
"维保到期"
name=
"maintenanceExpiration"
[(
ngModel
)]="
validateForm
.
inventory
.
maintenanceExpiration
"
>
[(
ngModel
)]="
validateForm
.
inventory
Extend
.
maintenanceExpiration
"
>
</nz-form-control>
</nz-form-item>
</div>
...
...
src/main/webapp/app/modal/basic-edit/basic-edit.component.ts
View file @
acceae52
...
...
@@ -99,11 +99,11 @@ export class BasicEditComponent implements OnInit {
this
.
validateForm
.
tls_issuer
=
data
.
tls_issuer
+
''
;
this
.
validateForm
.
tls_subject
=
data
.
tls_subject
+
''
;
this
.
validateForm
.
tls_psk
=
data
.
tls_psk
+
''
;
this
.
validateForm
.
inventory
.
serialnoA
=
data
.
inventory
.
serialnoA
;
this
.
validateForm
.
inventory
.
invertoryname
=
data
.
inventory
.
invertoryname
;
this
.
validateForm
.
inventory
.
mac
=
data
.
inventory
.
mac
;
this
.
validateForm
.
inventory
.
storageLocation
=
data
.
inventory
.
storageLocation
;
this
.
validateForm
.
inventory
.
maintenanceExpiration
=
data
.
inventory
.
maintenanceExpiration
;
this
.
validateForm
.
inventory
Extend
=
data
.
inventoryExtend
;
// this.validateForm.inventoryExtend.invertoryname = data.inventoryExtend
.invertoryname;
// this.validateForm.inventoryExtend.mac = data.inventoryExtend
.mac;
// this.validateForm.inventoryExtend.storageLocation = data.inventoryExtend
.storageLocation;
// this.validateForm.inventoryExtend.maintenanceExpiration = data.inventoryExtend
.maintenanceExpiration;
this
.
validateForm
.
hostExtend
.
equipmentTypeid
=
data
.
hostExtend
.
equipmentTypeid
+
''
;
this
.
validateForm
.
hostExtend
.
secondLevelTypeid
=
data
.
hostExtend
.
secondLevelTypeid
+
''
;
this
.
validateForm
.
hostExtend
.
serviceid
=
data
.
hostExtend
.
serviceid
+
''
;
...
...
@@ -397,7 +397,7 @@ export class BasicEditComponent implements OnInit {
},
macros
:
this
.
macroList1
,
interfaces
:
this
.
interfaceslist
,
//接口
inventory
:
{
inventory
Extend
:
{
serialnoA
:
null
,
invertoryname
:
null
,
mac
:
null
,
...
...
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