100 lines
4.3 KiB
HTML
100 lines
4.3 KiB
HTML
<!--
|
||
* @Author: your name
|
||
* @Date: 2021-12-24 15:38:08
|
||
* @LastEditTime : 2022-04-13 20:05:09
|
||
* @LastEditors : Shiming
|
||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\waybill-management\\components\\abnormal-appear\\abnormal-appear.component.html
|
||
-->
|
||
<page-header-wrapper title="异常上报"> </page-header-wrapper>
|
||
|
||
<nz-card>
|
||
<div nz-row nzGutter="8">
|
||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||
<sf
|
||
#sf
|
||
[schema]="schema"
|
||
[ui]="ui"
|
||
[mode]="'search'"
|
||
[disabled]="!sf?.valid"
|
||
[loading]="false"
|
||
(formSubmit)="search()"
|
||
(formReset)="resetSF()"
|
||
></sf>
|
||
</div>
|
||
|
||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||
<ng-container *ngIf="queryFieldCount > 4">
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 18">
|
||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||
</div>
|
||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl [acl-ability]="['WAYBILL-ABNORMAL-search']">查询</button>
|
||
<button nz-button (click)="resetSF()">重置</button>
|
||
<button nz-button nzType="link" (click)="expandToggle()">
|
||
{{ !_$expand ? '展开' : '收起' }}
|
||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||
</button>
|
||
</div>
|
||
</ng-container>
|
||
</div>
|
||
</nz-card>
|
||
|
||
<nz-card class="content-box">
|
||
<nz-tabset [(nzSelectedIndex)]="selectedIndex">
|
||
<nz-tab [nzTitle]="'待回复(' + tabs?.stayQuantity + ')'">
|
||
<st
|
||
#st
|
||
[data]="service.$api_get_listOperatePage"
|
||
[columns]="columns"
|
||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||
[loading]="false"
|
||
[scroll]="{ x: '2000px' }"
|
||
>
|
||
<ng-template st-row="exceptionCertificateFirstFilePath" let-item let-index="index">
|
||
<div class="imgBox">
|
||
<div *ngIf="item?.exceptionCertificateFirstFilePath">
|
||
<app-imagelist style="width: 40px;height: 40px" [imgList]="[item?.exceptionCertificateFirstFilePath]"> </app-imagelist>
|
||
</div>
|
||
<div *ngIf="item?.exceptionCertificateSecondFilePath">
|
||
<app-imagelist style="width: 40px;height: 40px" [imgList]="[item?.exceptionCertificateSecondFilePath]"> </app-imagelist>
|
||
</div>
|
||
<div *ngIf="item?.exceptionCertificateThirdFilePath">
|
||
<app-imagelist style="width: 40px;height: 40px" [imgList]="[item?.exceptionCertificateThirdFilePath]"> </app-imagelist>
|
||
</div>
|
||
</div>
|
||
</ng-template>
|
||
</st>
|
||
</nz-tab>
|
||
<nz-tab nzTitle='已回复'>
|
||
<st
|
||
#st2
|
||
[data]="service.$api_get_listOperatePage"
|
||
[columns]="columns2"
|
||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||
[loading]="false"
|
||
[scroll]="{ x: '2000px' }"
|
||
>
|
||
<ng-template st-row="exceptionCertificateFirstFilePath" let-item let-index="index">
|
||
<div class="imgBox">
|
||
<div *ngIf="item?.exceptionCertificateFirstFilePath">
|
||
<app-imagelist [imgList]="[item?.exceptionCertificateFirstFilePath]"> </app-imagelist>
|
||
</div>
|
||
<div *ngIf="item?.exceptionCertificateSecondFilePath">
|
||
<app-imagelist [imgList]="[item?.exceptionCertificateSecondFilePath]"> </app-imagelist>
|
||
</div>
|
||
<div *ngIf="item?.exceptionCertificateThirdFilePath">
|
||
<app-imagelist [imgList]="[item?.exceptionCertificateThirdFilePath]"> </app-imagelist>
|
||
</div>
|
||
</div>
|
||
</ng-template>
|
||
</st>
|
||
</nz-tab>
|
||
</nz-tabset>
|
||
</nz-card>
|