<!--添加资源-->
<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]="24">
                    <nz-form-item nzFlex>
                        <nz-form-label [nzOffset]="2" [nzSpan]="3" nzRequired nzFor="title">项目名称</nz-form-label>
                        <nz-form-control [nzSpan]="19">
                            {{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" nzRequired nzFor="secondLevelType">
                            项目类型
                        </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>
                            <ng-container *ngIf="obj?.type == 4">建设类</ng-container>
                        </nz-form-control>
                    </nz-form-item>
                </div>

                <div nz-col [nzSpan]="12">
                    <nz-form-item nzFlex>
                        <nz-form-label [nzSpan]="8" nzFor="serialnoA">项目单位</nz-form-label>
                        <nz-form-control [nzSpan]="16">
                            {{obj?.officeName}}
                        </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">
                            {{obj?.companyName}}
                        </nz-form-control>
                    </nz-form-item>
                </div>
                <div nz-col [nzSpan]="12">
                    <nz-form-item nzFlex>
                        <nz-form-label [nzSpan]="8" nzFor="title">乙方维护组长</nz-form-label>
                        <nz-form-control [nzSpan]="16">
                            {{obj?.bprincipalName}}
                        </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">
                            {{obj?.startDate | date:'yyyy-MM-dd HH:mm:ss'}}
                        </nz-form-control>
                    </nz-form-item>
                </div>

                <div nz-col [nzSpan]="12">
                    <nz-form-item nzFlex>
                        <nz-form-label [nzSpan]="8" nzFor="serialnoA">终止时间</nz-form-label>
                        <nz-form-control [nzSpan]="16">
                            {{obj?.endDate | date:'yyyy-MM-dd HH:mm:ss'}}
                        </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?.amount}}
                        </nz-form-control>
                    </nz-form-item>
                </div>
                <div nz-col [nzSpan]="12">
                    <nz-form-item nzFlex>
                        <nz-form-label [nzSpan]="8" nzFor="serialnoA">单位负责人</nz-form-label>
                        <nz-form-control [nzSpan]="16">
                            {{obj?.officePrincipal}}
                        </nz-form-control>
                    </nz-form-item>
                </div>
            </div>
        </div>
    </form>

</nz-modal>
