<nz-modal [nzMaskClosable]="false" [nzWidth]="620" [(nzVisible)]="modal.isVisible"
          [nzTitle]="modal.title"
          (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()">
    <div class="padding-10">
        <nz-table [nzData]="modal.list" [nzFrontPagination]="true"
                  [nzPageSize]="100" [nzShowPagination]=false>
            <thead>
            <tr>
                <th>序号</th>
                <th>模块名称</th>
                <th>状态</th>
            </tr>
            </thead>
            <tbody class="wrapper" [(dragulaModel)]="modal.list" dragula="DRAGULA_FACTS">
            <tr *ngFor="let data of modal.list">
                <td>{{data.orders + 1}}</td>
                <td>{{data.moduleName}}</td>
                <td nzShowCheckbox [(nzChecked)]="data.status"></td>
            </tr>
            </tbody>
        </nz-table>
    </div>
</nz-modal>
