<!--添加资源-->
<nz-modal [nzWidth]="1080" [(nzVisible)]="isVisible" [nzTitle]="title" (nzOnCancel)="handleEditCancel()" (nzOnOk)="handleEditCancel()">
  <form nz-form>
    <div nz-form class="ant-advanced-search-form form-select">
      <div nz-row [nzGutter]="24">
        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzOffset]="4" [nzSpan]="6" nzRequired nzFor="title">计划类型</nz-form-label>
            <nz-form-control [nzSpan]="14">
             {{plan?.title}}
            </nz-form-control>
          </nz-form-item>
        </div>

        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzSpan]="6" nzFor="typeId">计划工作量</nz-form-label>
            <nz-form-control [nzSpan]="14">

            </nz-form-control>
          </nz-form-item>
        </div>
      </div>

      <div nz-row [nzGutter]="24">
        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzOffset]="4" [nzSpan]="6" nzRequired nzFor="secondLevelType">
              开始日期
            </nz-form-label>
            <nz-form-control [nzSpan]="14">
              {{plan?.startTime}}
            </nz-form-control>
          </nz-form-item>
        </div>

        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzSpan]="6" nzFor="serialnoA">终止日期</nz-form-label>
            <nz-form-control [nzSpan]="14">
            {{plan?.endTime}}
            </nz-form-control>
          </nz-form-item>
        </div>
      </div>

      <div nz-row [nzGutter]="24">
        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzOffset]="4" [nzSpan]="6" nzRequired nzFor="secondLevelType">
              循环周期
            </nz-form-label>
            <nz-form-control [nzSpan]="7">
              {{plan?.cycleType}}
            </nz-form-control>
            <nz-form-control [nzSpan]="6">
              {{plan?.cycleNum}}
            </nz-form-control>
            <nz-form-control [nzSpan]="6">
              次
            </nz-form-control>
          </nz-form-item>
        </div>

        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzSpan]="6" nzFor="serialnoA">巡检人数</nz-form-label>
            <nz-form-control [nzSpan]="14">
            {{plan?.number}}
            </nz-form-control>
          </nz-form-item>
        </div>
      </div>

      <nz-form-item>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="serviceid">参与人</nz-form-label>
        <nz-form-control [nzSpan]="14">
          <span *ngFor="let item of plan?.participants">{{item.username}}</span>
        </nz-form-control>
      </nz-form-item>

      <nz-form-item>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="serviceid">负责人</nz-form-label>
        <nz-form-control [nzSpan]="14">
          <span *ngFor="let item of plan?.principals">{{item.username}}</span>
        </nz-form-control>
      </nz-form-item>

      <nz-form-item>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="description">计划描述</nz-form-label>
        <nz-form-control [nzSpan]="14">
          {{plan?.description}}
        </nz-form-control>
      </nz-form-item>

      <nz-form-item>
        <nz-form-label [nzSpan]="7" nzRequired nzFor="group">附件</nz-form-label>
        <nz-form-control [nzSpan]="12">
          <a href="/file/planFile/{{plan?.file}}" download>下载</a>
        </nz-form-control>
      </nz-form-item>

    </div>
  </form>

</nz-modal>
