Commit e2e98fca authored by wangqinghua's avatar wangqinghua

update

parent f23a00e2
...@@ -95,8 +95,6 @@ export class LinkInventoryComponent implements OnInit { ...@@ -95,8 +95,6 @@ export class LinkInventoryComponent implements OnInit {
res.isLeaf = true; res.isLeaf = true;
}); });
event.node.addChildren(dataSet); event.node.addChildren(dataSet);
this.nodeList[index].children = dataSet;
this.nodeList[index].expanded = true;
} else { } else {
event.node.addChildren([]); event.node.addChildren([]);
// this.message.warning('该下级为空'); // this.message.warning('该下级为空');
......
...@@ -98,9 +98,9 @@ ...@@ -98,9 +98,9 @@
<div nz-col nzSpan="19"> <div nz-col nzSpan="19">
<button (click)="showInventoryModal()" nz-button><span>选择</span></button> <button (click)="showInventoryModal()" nz-button><span>选择</span></button>
<p *ngFor="let item of linkList;"> <p *ngFor="let item of linkList;">
<span>资产编号</span> <span class="margin-right-5">{{item.inventoryNo}}</span>
<span>{{item.name}}</span> <span class="margin-right-5">{{item.name}}</span>
<span>{{item.typeName}}</span> <span>{{item.typename}}</span>
</p> </p>
</div> </div>
</div> </div>
......
...@@ -172,4 +172,10 @@ ...@@ -172,4 +172,10 @@
} }
.main-color{ .main-color{
color:#6097b7; color:#6097b7;
}
.margin-right-5{
margin-right: 5px;
}
.margin-right-10{
margin-right: 5px;
} }
\ No newline at end of file
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