This commit is contained in:
wangshiming
2022-03-29 16:17:05 +08:00
parent eb12dd8db7
commit d5de70daf6
2 changed files with 11 additions and 5 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
* @LastEditTime : 2022-03-23 10:11:08
* @LastEditTime : 2022-03-29 16:13:40
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -21,10 +21,10 @@
<nz-card>
<div nz-row nzGutter="12">
<!-- 查询字段大于3个时根据展开状态调整布局 -->
<div nz-col [nzSpan]="18">
<div nz-col [nzSpan]="24">
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="6" >
<div nz-col [nzSpan]="24" style="display: flex; justify-content: flex-end;">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="false"
(click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button>
<button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']"

View File

@ -112,12 +112,18 @@ export class OrderManagementComplaintComponent implements OnInit {
},
complainantTime: {
type: 'string',
title: '投诉时间',
ui: { widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd' } as SFDateWidgetSchema,
ui: {
widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd' } as SFDateWidgetSchema,
},
},
};
this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 } } };
this.ui =
{
'*': { spanLabelFixed: 110, grid: { span: 8, gutter: 8 } },
};
}
/**