<div nz-row class="breadcrumbs">
    <div nz-col nzSpan="16">
        <nz-breadcrumb class="padding-8-0">
            <nz-breadcrumb-item>
                首页
            </nz-breadcrumb-item>
            <nz-breadcrumb-item>
                <a>绩效管理</a>
            </nz-breadcrumb-item>
            <nz-breadcrumb-item>
                行政办公
            </nz-breadcrumb-item>
        </nz-breadcrumb>
    </div>
    <div nz-col nzSpan="8" class="text-right">
        <button (click)="ngOnInit()" nz-button nzType="primary"><i class="anticon anticon-sync"></i></button>
        <smart-full-screen></smart-full-screen>
    </div>
</div>
<div nz-row [nzGutter]="4" class="search-form">
    <div nz-col nzSpan="3">
        <input type="text" nz-input [(ngModel)]="obj.projectName" placeholder="项目名称">
    </div>
    <div nz-col nzSpan="3" class="text-center">
        <input type="text" nz-input [(ngModel)]="obj.projectYear" placeholder="项目年度">
    </div>
    <div nz-col nzSpan="3" class="text-center">
        <button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search"></i>搜索</button>
    </div>
    <div nz-col nzSpan="3">
    </div>
    <div nz-col nzSpan="4">

    </div>
    <div nz-col nzSpan="2">
    </div>
    <div nz-col nzSpan="2">
    </div>
    <div nz-col nzOffset="2" nzSpan="2">
        <button (click)="showAddModal()" nz-button nzType="default"><i class="anticon anticon-plus-circle-o"></i>添加
        </button>
    </div>
</div>

<nz-table #nzTable [nzData]="page.dataSet" [nzLoading]="page.isLoading" [nzFrontPagination]="false"
          [nzTotal]="page.totalNum"
          [nzPageIndex]="page.pageNum" [nzPageSize]="page.pageCount" (nzPageIndexChange)="change($event)">
    <thead>
    <tr>
        <th >项目名称</th>
        <th >项目年度</th>
        <th>运维合同金额</th>
        <th>实际拨付金额</th>
        <th>实际采购金额</th>
        <th>系统用户登录次数</th>
        <th>系统用户数</th>
        <th>行政业务办件量</th>
        <th nzWidth="15%">操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of nzTable.data">
        <td>{{data.projectName}}</td>
        <td>{{data.projectYear}}</td>
        <td>{{data.contractAmount}}</td>
        <td>{{data.actualAmount}}</td>
        <td>{{data.purchaseAmount}}</td>
        <td>{{data.userLogincount}}次</td>
        <td>{{data.userCount}}个</td>
        <td>{{data.vusinessVolume}}件</td>
        <td class="handle main-color">
            <span (click)="showEditModal(data)">编辑</span>
            <span class="handle-delete" (click)="deleteHandle(data)">删除</span>
        </td>
    </tr>
    </tbody>
</nz-table>
<!--添加modal-->
<smart-admin-office-modal #smartAdminOfficeModal (done)="getList()"></smart-admin-office-modal>

