<!--添加资源-->
<nz-modal [nzMaskClosable]="false" [nzWidth]="880" [(nzVisible)]="isVisible" [nzTitle]="title"
          (nzOnCancel)="handleEditCancel()" (nzOnOk)="handleEditCancel()" [nzFooter]="null">
  <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"  nzFor="title">公司名称</nz-form-label>
            <nz-form-control [nzSpan]="14">
              {{obj?.name}}
            </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"  nzFor="secondLevelType">
              维护负责人
            </nz-form-label>
            <nz-form-control [nzSpan]="14">
              {{obj?.principal}}
            </nz-form-control>
          </nz-form-item>
        </div>

        <div nz-col [nzSpan]="12">
          <nz-form-item nzFlex>
            <nz-form-label [nzSpan]="6" nzFor="serialnoA">联系电话1</nz-form-label>
            <nz-form-control [nzSpan]="14">
              {{obj?.phone}}
            </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"  nzFor="secondLevelType">
              联系电话2
            </nz-form-label>
            <nz-form-control [nzSpan]="2">
              {{obj?.phone2}}
            </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">
              <ng-container *ngIf="obj?.type == 0">中心驻场</ng-container>
              <ng-container *ngIf="obj?.type == 1">中心运维</ng-container>
              <ng-container *ngIf="obj?.type == 2">外单位驻场</ng-container>
              <ng-container *ngIf="obj?.type == 3">外单位运维</ng-container>
            </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" nzFor="title">职责描述</nz-form-label>
            <nz-form-control style="word-wrap:break-word" [nzSpan]="14">
              {{obj?.description}}
            </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" nzFor="title">附件</nz-form-label>
            <nz-form-control [nzSpan]="14">
              <ng-container *ngIf="obj?.fileName">
                <a (click)="downLoad()">下载</a>
                <a class="main-color cursor">{{obj?.fileName}}</a>
              </ng-container>
            </nz-form-control>
          </nz-form-item>
        </div>
      </div>
    </div>
  </form>

</nz-modal>
