92 lines
3.9 KiB
HTML
92 lines
3.9 KiB
HTML
<!--
|
||
* @Description :
|
||
* @Version : 1.0
|
||
* @Author : Shiming
|
||
* @Date : 2022-05-06 15:31:19
|
||
* @LastEditors : Shiming
|
||
* @LastEditTime : 2022-05-11 21:04:42
|
||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\tax-management\\components\\individual-income\\individual-income.component.html
|
||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||
-->
|
||
<!-- <page-header-wrapper [title]="''"></page-header-wrapper>
|
||
<nz-card class="search-box">
|
||
<div nz-row nzGutter="8">
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
||
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 100,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}"
|
||
[compact]="true" [button]="'none'"></sf>
|
||
</div>
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.expend-options]="_$expand" class="text-right">
|
||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
|
||
(click)="search()" acl [acl-ability]="['TAX-INCOME-search']">查询</button>
|
||
<button nz-button (click)="resetSF()">重置</button>
|
||
<button nz-button (click)="resetSF()" acl [acl-ability]="['TAX-INCOME-export']">导出</button>
|
||
<button nz-button nzType="link" (click)="expandToggle()">
|
||
{{ !_$expand ? '展开' : '收起' }}
|
||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</nz-card> -->
|
||
|
||
<nz-card class="table-box">
|
||
<div class="tab_header">
|
||
<label class="page_title"> <label class="driver">|</label> 个税明细</label>
|
||
<nz-tabset [nzTabBarExtraContent]="extraTemplate">
|
||
<nz-tab *ngFor="let tab of tabs" [nzTitle]="tab.name" (nzSelect)="selectChange(tab)"> </nz-tab>
|
||
</nz-tabset>
|
||
</div>
|
||
|
||
<!-- 数据列表 -->
|
||
<st #st [scroll]="{ x: '1200px',y:scrollY }" [data]="service.$api_get_individual_income_page" [columns]="columns"
|
||
[req]="{ process: beforeReq }" [page]="{}" [loading]="service.http.loading" (change)="stChange($event)">
|
||
</st>
|
||
</nz-card>
|
||
<ng-template #extraTemplate>
|
||
<div class="d-flex align-items-center">
|
||
<div class="mr-md">
|
||
已选择
|
||
<strong class="text-red">{{ selectedRows.length }}</strong> 条数据
|
||
</div>
|
||
<button nz-button nzDanger [nzLoading]="isLoading && st.loading" acl [acl-ability]="['TAX-INCOME-search']"
|
||
(click)="openDrawer()">筛选</button>
|
||
<button nz-button nzDanger (click)="exprot()" acl [acl-ability]="['TAX-INCOME-export']"> 导出</button>
|
||
<button nz-button nz-dropdown [nzDropdownMenu]="menu" nzPlacement="bottomLeft">
|
||
更多<i nz-icon nzType="down" nzTheme="outline"></i></button>
|
||
<nz-dropdown-menu #menu="nzDropdownMenu">
|
||
<ul nz-menu>
|
||
<li nz-menu-item (click)="upload()" acl [acl-ability]="['TAX-INCOME-declare']">
|
||
申报
|
||
</li>
|
||
<li nz-menu-item (click)="corrections()" acl [acl-ability]="['TAX-INCOME-change']">
|
||
更正
|
||
</li>
|
||
<li nz-menu-item (click)="resetData()" acl [acl-ability]="['TAX-INCOME-threshold']">
|
||
修改起征点
|
||
</li>
|
||
<li nz-menu-item (click)="uploadSetting()" acl [acl-ability]="['TAX-INCOME-resetData']">
|
||
更新数据
|
||
</li>
|
||
</ul>
|
||
</nz-dropdown-menu>
|
||
|
||
|
||
</div>
|
||
</ng-template>
|
||
|
||
<nz-modal [(nzVisible)]="isVisible" [nzWidth]="600" [nzFooter]="nzModalFooterEvaluate"
|
||
(nzOnCancel)="handleCancel()">
|
||
<ng-container *nzModalContent>
|
||
<div *ngIf="oneStatus">
|
||
<div> 司机姓名:{{driverRecord?.xm}}/{{driverRecord.lxdh}} </div>
|
||
<div> 是否确认要将该司机的起征点同步调整为超过15万? </div>
|
||
</div>
|
||
<div *ngIf="!oneStatus">
|
||
<div> 已选择{{selectedRows.length}}个司机 </div>
|
||
<div> 是否确认要将该司机的起征点同步调整为超过15万? </div>
|
||
</div>
|
||
</ng-container>
|
||
<ng-template #nzModalFooterEvaluate>
|
||
<button nz-button nzType="default" (click)="handleCancel()">取消</button>
|
||
<button nz-button nzType="primary" (click)="handleOK()">确定</button>
|
||
</ng-template>
|
||
</nz-modal> |