|
|
|
@ -209,12 +209,12 @@
|
|
|
|
|
<nz-modal nzClassName="baseInfoDialog" [(nzVisible)]="isShowBaseDialog" nzFooter="null" (nzOnCancel)="closeBaseInfoDialog()" nzWidth="70%"> |
|
|
|
|
<app-oil-station-info *ngIf="isShowBaseDialog"></app-oil-station-info> |
|
|
|
|
</nz-modal> |
|
|
|
|
<nz-modal [(nzVisible)]="addDisposalPop || addNodePop" nzTitle="创建预案/节点" (nzOnCancel)="addDisposalPop = false; addNodePop = null;" (nzOnOk)="addDisposal(form.value)" [nzOkDisabled]='nodeName.invalid'> |
|
|
|
|
<nz-modal [(nzVisible)]="addDisposalPop || addNodePop" nzTitle="创建预案/节点" (nzOnCancel)="addDisposalPop = false; addNodePop = null;" (nzOnOk)="addDisposal(form.value)"> |
|
|
|
|
<form nz-form #form='ngForm'> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">预案/节点名称</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="18" nzErrorTip="请输入必填项"> |
|
|
|
|
<input nz-input #nodeName='ngModel' ngModel name="name" required/> |
|
|
|
|
<input nz-input #nodeName='ngModel' ngModel name="name"/> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item *ngIf="addDisposalPop"> |
|
|
|
@ -224,6 +224,7 @@
|
|
|
|
|
<nz-option nzValue="" nzLabel="无"></nz-option> |
|
|
|
|
<nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of allSandBoxTemplate"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
<button nz-button style="margin-top: 5px;" (click)="deleteMould(form.value)">删除模板</button> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</form> |
|
|
|
|