Commit b04d5a6c authored by wangqinghua's avatar wangqinghua

update

parent c19c7258
......@@ -23,22 +23,16 @@
</div>
<div nz-row [nzGutter]="4" class="search-form">
<div nz-col nzSpan="3">
<nz-select style="width: 100%;" [(ngModel)]="obj.type" nzPlaceHolder="选择分类" (ngModelChange)="changeType($event)">
<ng-container *ngFor="let item of parentList">
<nz-option [nzLabel]="item.name" [nzValue]="item.id"></nz-option>
</ng-container>
</nz-select>
<button nz-button nzType="default"><i class="anticon anticon-plus"></i>添加资产</button>
</div>
<div nz-col nzSpan="3">
<button nz-button nzType="default"><i class="anticon anticon-plus"></i>导入资产</button>
</div>
<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 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>
......@@ -78,7 +72,7 @@
</td>
<td>关联事件</td>
<td class="handle text-center">
<span (click)="showEditModal(data)">编辑</span>
<span (click)="showEditModal(data)">查看</span>
<span (click)="deleteSend(data)">删除</span>
</td>
</tr>
......
......@@ -46,7 +46,6 @@ export class TypeAsetsComponent implements OnInit {
}
handleCancel() {
this.isVisible = false;
for(let i in this.validateForm.controls){
this.validateForm.controls[i].markAsDirty();
this.validateForm.controls[i].updateValueAndValidity();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment