|
|
|
@ -182,23 +182,27 @@
|
|
|
|
|
</div> |
|
|
|
|
<!-- 油气回收 --> |
|
|
|
|
<!-- 处置预案 --> |
|
|
|
|
<div class="publicBox disposalPlan" *ngIf="beforeFence === 7 && allMarkPlanData"> |
|
|
|
|
<div class="interval" *ngFor="let item of allMarkPlanData.datas;let key = index;"> |
|
|
|
|
<div class="publicBox disposalPlan" *ngIf="beforeFence === 7 && allMarkPlanData" id="disposalPlan"> |
|
|
|
|
<nz-collapse> |
|
|
|
|
<nz-collapse-panel *ngFor="let item of allMarkPlanData.datas;let key = index;" [nzHeader]="extraTpl" nzActive="true" nzShowArrow="false"> |
|
|
|
|
<ng-template #extraTpl> |
|
|
|
|
<div class="publicDisposal disposalHeader"> |
|
|
|
|
<span>{{item.name}}</span> |
|
|
|
|
<label *ngIf="editMode"> |
|
|
|
|
<i nz-icon nzType="plus-circle" nzTheme="outline" (click)="addNodePop = item.id;"></i> |
|
|
|
|
<i nz-icon nzType="edit" nzTheme="outline" (click)="openEditDisposal(item)"></i> |
|
|
|
|
<i nz-icon nzType="delete" nzTheme="outline" (click)="deleteDisposal(item)"></i> |
|
|
|
|
<i nz-icon nzType="plus-circle" nzTheme="outline" (click)="openAddDisposal($event,item.id)"></i> |
|
|
|
|
<i nz-icon nzType="edit" nzTheme="outline" (click)="openEditDisposal($event,item)"></i> |
|
|
|
|
<i nz-icon nzType="delete" nzTheme="outline" (click)="deleteDisposal($event,item)"></i> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
<ul> |
|
|
|
|
<li class="publicDisposal disposalContent" *ngFor="let items of item.nodes;let keys = index;"> |
|
|
|
|
<span nz-popconfirm nzPopconfirmTitle="切换节点后,没保存的信息将会丢失!" [nzCondition]="!editMode" (nzOnConfirm)="selectNode(item,items,keys)" [ngClass]="{'selectNode': selectNodeId == items.id && selectPlanId == item.id}">{{items.name}}</span> |
|
|
|
|
<label *ngIf="editMode"><i nz-icon nzType="save" nzTheme="outline" (click)="saveDisposal(item.id,items.id)"></i><i nz-icon nzType="delete" nzTheme="outline" (click)="deleteDisposal(item,items)"></i></label> |
|
|
|
|
<label *ngIf="editMode"><i nz-icon nzType="save" nzTheme="outline" (click)="saveDisposal(item.id,items.id)"></i><i nz-icon nzType="delete" nzTheme="outline" (click)="deleteDisposal($event,item,items)"></i></label> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</nz-collapse-panel> |
|
|
|
|
</nz-collapse> |
|
|
|
|
</div> |
|
|
|
|
<!-- 处置预案 --> |
|
|
|
|
<!-- 弹窗 --> |
|
|
|
|