You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.2 KiB
68 lines
2.2 KiB
2 years ago
|
<div class="modelbox">
|
||
|
|
||
|
<form nz-form [formGroup]="validateForm">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label nzSpan="7" nzFor="NodeName"
|
||
|
><span style="color: #fff">节点名称</span>
|
||
|
</nz-form-label>
|
||
|
<nz-form-control>
|
||
|
<nz-select
|
||
|
nzAllowClear
|
||
|
style="background-color: #fff"
|
||
|
formControlName="NodeName"
|
||
|
id="NodeName"
|
||
|
nzPlaceHolder="请选择节点名称"
|
||
|
>
|
||
|
<nz-option *ngFor="let item of list" [nzValue]="item" [nzLabel]="item"></nz-option>
|
||
|
|
||
|
</nz-select>
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
<nz-form-item>
|
||
|
<nz-form-label nzSpan="7" nzFor="GasStationId"
|
||
|
><span style="color: #fff">加油站</span>
|
||
|
</nz-form-label>
|
||
|
<nz-form-control>
|
||
|
<nz-select
|
||
|
nzAllowClear
|
||
|
style="background-color: #fff"
|
||
|
formControlName="GasStationId"
|
||
|
id="GasStationId"
|
||
|
nzPlaceHolder="请选择加油站"
|
||
|
>
|
||
|
<nz-option *ngFor="let item of nodes" [nzValue]="item.id" [nzLabel]="item.stationName"></nz-option>
|
||
|
|
||
|
</nz-select>
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
<nz-form-item>
|
||
|
<nz-form-label nzSpan="7" nzFor="StartTime"
|
||
|
><span style="color: #fff">开始时间</span>
|
||
|
</nz-form-label>
|
||
|
<nz-form-control>
|
||
|
<nz-date-picker
|
||
|
nzShowTime
|
||
|
nzFormat="yyyy-MM-dd HH:mm:ss"
|
||
|
formControlName="StartTime"
|
||
|
></nz-date-picker>
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
<nz-form-item>
|
||
|
<nz-form-label nzSpan="7" nzFor="EndTime"
|
||
|
><span style="color: #fff">结束时间</span>
|
||
|
</nz-form-label>
|
||
|
<nz-form-control>
|
||
|
<nz-date-picker
|
||
|
nzShowTime
|
||
|
nzFormat="yyyy-MM-dd HH:mm:ss"
|
||
|
formControlName="EndTime"
|
||
|
></nz-date-picker>
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
|
||
|
<button nz-button nzType="primary" (click)="onClick()">提交</button>
|
||
|
</form>
|
||
|
<textarea style="width: 600px; height: 300px; margin-left: 10px;" *ngIf="result" [(ngModel)]="result" nz-input></textarea>
|
||
|
<!-- <div style="width: 650px; height: 100%; background-color: #fff; margin-left: 10px;">{{result}}</div> -->
|
||
|
</div>
|