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
b04d5a6c
Commit
b04d5a6c
authored
Dec 13, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c19c7258
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
child-assets.component.html
.../work/asset-part/child-assets/child-assets.component.html
+4
-10
type-asets.component.ts
.../webapp/app/work/modal/type-asets/type-asets.component.ts
+0
-1
No files found.
src/main/webapp/app/work/asset-part/child-assets/child-assets.component.html
View file @
b04d5a6c
...
@@ -23,22 +23,16 @@
...
@@ -23,22 +23,16 @@
</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"
>
<nz-select
style=
"width: 100%;"
[(
ngModel
)]="
obj
.
type
"
nzPlaceHolder=
"选择分类"
(
ngModelChange
)="
changeType
($
event
)"
>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加资产
</button>
<ng-container
*
ngFor=
"let item of parentList"
>
<nz-option
[
nzLabel
]="
item
.
name
"
[
nzValue
]="
item
.
id
"
></nz-option>
</ng-container>
</nz-select>
</div>
</div>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
导入资产
</button>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
导入资产
</button>
</div>
</div>
<div
nz-col
nzSpan=
"3"
>
<div
nz-col
nzSpan=
"3"
>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
下载
</button>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
下载
模版
</button>
</div>
</div>
<div
nz-col
nzSpan=
"6"
>
<div
nz-col
nzSpan=
"6"
>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
添加
</button>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
编辑
</button>
<button
nz-button
nzType=
"default"
><i
class=
"anticon anticon-plus"
></i>
删除
</button>
</div>
</div>
</div>
</div>
...
@@ -78,7 +72,7 @@
...
@@ -78,7 +72,7 @@
</td>
</td>
<td>
关联事件
</td>
<td>
关联事件
</td>
<td
class=
"handle text-center"
>
<td
class=
"handle text-center"
>
<span
(
click
)="
showEditModal
(
data
)"
>
编辑
</span>
<span
(
click
)="
showEditModal
(
data
)"
>
查看
</span>
<span
(
click
)="
deleteSend
(
data
)"
>
删除
</span>
<span
(
click
)="
deleteSend
(
data
)"
>
删除
</span>
</td>
</td>
</tr>
</tr>
...
...
src/main/webapp/app/work/modal/type-asets/type-asets.component.ts
View file @
b04d5a6c
...
@@ -46,7 +46,6 @@ export class TypeAsetsComponent implements OnInit {
...
@@ -46,7 +46,6 @@ export class TypeAsetsComponent implements OnInit {
}
}
handleCancel
()
{
handleCancel
()
{
this
.
isVisible
=
false
;
for
(
let
i
in
this
.
validateForm
.
controls
){
for
(
let
i
in
this
.
validateForm
.
controls
){
this
.
validateForm
.
controls
[
i
].
markAsDirty
();
this
.
validateForm
.
controls
[
i
].
markAsDirty
();
this
.
validateForm
.
controls
[
i
].
updateValueAndValidity
();
this
.
validateForm
.
controls
[
i
].
updateValueAndValidity
();
...
...
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