edit
This commit is contained in:
@ -15,15 +15,8 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf
|
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [loading]="service.http.loading" (formSubmit)="st?.load(1)"
|
||||||
#sf
|
(formReset)="resetSF()"></sf>
|
||||||
[schema]="schema"
|
|
||||||
[ui]="ui"
|
|
||||||
[mode]="'search'"
|
|
||||||
[loading]="service.http.loading"
|
|
||||||
(formSubmit)="st?.load(1)"
|
|
||||||
(formReset)="resetSF()"
|
|
||||||
></sf>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||||
@ -50,16 +43,8 @@
|
|||||||
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st
|
<st #st [data]="service.$api_getAnnouncementInfoList_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
#st
|
[loading]="service.http.loading" (change)="stChange($event)">
|
||||||
[data]="service.$api_getAnnouncementInfoList_page"
|
|
||||||
[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]="service.http.loading"
|
|
||||||
(change)="stChange($event)"
|
|
||||||
>
|
|
||||||
<ng-template st-row="customerType" let-item let-index="index">
|
<ng-template st-row="customerType" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
<span *ngIf="item?.customerType == 1">客户</span>
|
<span *ngIf="item?.customerType == 1">客户</span>
|
||||||
@ -69,7 +54,8 @@
|
|||||||
</st>
|
</st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@ -20,9 +20,6 @@
|
|||||||
<button nz-button nzType="primary" (click)="reasonAction()">新增</button>
|
<button nz-button nzType="primary" (click)="reasonAction()">新增</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="url" [columns]="columns"
|
<st #st [data]="url" [columns]="columns" [req]="{ params: reqParams }" [loading]="service.http.loading"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
|
||||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
|
||||||
</nz-card>
|
</nz-card>
|
||||||
@ -21,9 +21,6 @@
|
|||||||
<button nz-button nzType="primary" (click)="configAction()">新增</button>
|
<button nz-button nzType="primary" (click)="configAction()">新增</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="url" [columns]="columns"
|
<st #st [data]="url" [columns]="columns" [req]="{ params: reqParams }" [loading]="service.http.loading"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
|
||||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
|
||||||
</nz-card>
|
</nz-card>
|
||||||
@ -25,9 +25,6 @@
|
|||||||
<button nz-button nzType="primary" (click)="configAction()">新增</button>
|
<button nz-button nzType="primary" (click)="configAction()">新增</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_get_dict_page" [columns]="columns"
|
<st #st [data]="service.$api_get_dict_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
[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]="service.http.loading" [scroll]="{ y: '370px' }"></st>
|
[loading]="service.http.loading" [scroll]="{ y: '370px' }"></st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
@ -42,10 +42,7 @@
|
|||||||
<button nz-button nzType="primary" (click)="roleAction('',1)">新增结算客户</button>
|
<button nz-button nzType="primary" (click)="roleAction('',1)">新增结算客户</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_settlementCustomer_page" [columns]="columns"
|
<st #st [data]="service.$api_settlementCustomer_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
[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]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)">
|
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)">
|
||||||
<ng-template st-row="customerType" let-item let-index="index">
|
<ng-template st-row="customerType" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -25,8 +25,7 @@
|
|||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
|
||||||
(click)="st?.load(1)">查询</button>
|
(click)="st?.load(1)">查询</button>
|
||||||
<button nz-button nzType="primary"
|
<button nz-button nzType="primary">导出</button>
|
||||||
>导出</button>
|
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
@ -44,10 +43,7 @@
|
|||||||
<button nz-button nzType="primary" (click)="roleAction('',1)">新增CRM客户</button>
|
<button nz-button nzType="primary" (click)="roleAction('',1)">新增CRM客户</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_get_crmCustomer_page" [columns]="columns"
|
<st #st [data]="service.$api_get_crmCustomer_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
[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]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)">
|
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)">
|
||||||
<ng-template st-row="customerType" let-item let-index="index">
|
<ng-template st-row="customerType" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
@ -58,7 +54,8 @@
|
|||||||
</st>
|
</st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'">
|
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'">
|
||||||
</sf>
|
</sf>
|
||||||
|
|||||||
@ -34,7 +34,8 @@
|
|||||||
<div style="flex: 1;" class="ml-md">
|
<div style="flex: 1;" class="ml-md">
|
||||||
<div class="d-flex justify-content-between align-items-center mb-md">
|
<div class="d-flex justify-content-between align-items-center mb-md">
|
||||||
<nz-input-group [nzSuffix]="suffixTemplateInfo" style="width: 300px;">
|
<nz-input-group [nzSuffix]="suffixTemplateInfo" style="width: 300px;">
|
||||||
<input type="text" nz-input placeholder="请输入货物名称" [(ngModel)]="searchName" (keydown)="keydownEvent($event)"/>
|
<input type="text" nz-input placeholder="请输入货物名称" [(ngModel)]="searchName"
|
||||||
|
(keydown)="keydownEvent($event)" />
|
||||||
</nz-input-group>
|
</nz-input-group>
|
||||||
<ng-template #suffixTemplateInfo><i nz-icon nzType="search" nzTheme="outline" (click)="st.load(1)"></i>
|
<ng-template #suffixTemplateInfo><i nz-icon nzType="search" nzTheme="outline" (click)="st.load(1)"></i>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
@ -43,10 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<st #st [data]="selectedType?.id?service.$api_get_config_item_page:[]" [columns]="columns"
|
<st #st [data]="selectedType?.id?service.$api_get_config_item_page:[]" [columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
[req]="{ process: beforeReq }" [loading]="service.http.loading" [scroll]="{ y: '370px' }"></st>
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
|
||||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }"></st>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -15,15 +15,8 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf
|
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [loading]="service.http.loading" (formSubmit)="st?.load(1)"
|
||||||
#sf
|
(formReset)="resetSF()"></sf>
|
||||||
[schema]="schema"
|
|
||||||
[ui]="ui"
|
|
||||||
[mode]="'search'"
|
|
||||||
[loading]="service.http.loading"
|
|
||||||
(formSubmit)="st?.load(1)"
|
|
||||||
(formReset)="resetSF()"
|
|
||||||
></sf>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||||
@ -50,16 +43,8 @@
|
|||||||
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st
|
<st #st [data]="service.$api_insuranceConfig_list" [columns]="columns" [req]="{ params: reqParams }"
|
||||||
#st
|
[loading]="service.http.loading" (change)="stChange($event)">
|
||||||
[data]="service.$api_insuranceConfig_list"
|
|
||||||
[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]="service.http.loading"
|
|
||||||
(change)="stChange($event)"
|
|
||||||
>
|
|
||||||
<ng-template st-row="customerType" let-item let-index="index">
|
<ng-template st-row="customerType" let-item let-index="index">
|
||||||
<div>
|
<div>
|
||||||
<span *ngIf="item?.customerType == 1">客户</span>
|
<span *ngIf="item?.customerType == 1">客户</span>
|
||||||
@ -69,7 +54,8 @@
|
|||||||
</st>
|
</st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" [nzTitle]="editText" (nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@ -15,16 +15,8 @@
|
|||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||||
<sf
|
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading"
|
||||||
#sf
|
(formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
||||||
[schema]="schema"
|
|
||||||
[ui]="ui"
|
|
||||||
[mode]="'search'"
|
|
||||||
[disabled]="!sf?.valid"
|
|
||||||
[loading]="service.http.loading"
|
|
||||||
(formSubmit)="st?.load(1)"
|
|
||||||
(formReset)="resetSF()"
|
|
||||||
></sf>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||||
@ -33,7 +25,8 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
|
||||||
|
(click)="st?.load(1)">查询</button>
|
||||||
<button nz-button nzType="primary">导出</button>
|
<button nz-button nzType="primary">导出</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
@ -46,17 +39,8 @@
|
|||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-card class="content-box">
|
<nz-card class="content-box">
|
||||||
<st
|
<st #st [scroll]="{ x: '2000px' }" [data]="service.$api_networkTransporter_page" [columns]="columns"
|
||||||
#st
|
[req]="{ params: reqParams }" [loading]="service.http.loading" (change)="stChange($event)">
|
||||||
[scroll]="{ x: '2000px' }"
|
|
||||||
[data]="service.$api_networkTransporter_page"
|
|
||||||
[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]="service.http.loading"
|
|
||||||
(change)="stChange($event)"
|
|
||||||
>
|
|
||||||
<ng-template st-row="electronicInvoiceAccount" let-item let-index="index">
|
<ng-template st-row="electronicInvoiceAccount" let-item let-index="index">
|
||||||
<a href="javascript:;" (click)="setMakeInvoice()">设置</a>
|
<a href="javascript:;" (click)="setMakeInvoice()">设置</a>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
@ -75,7 +59,8 @@
|
|||||||
</st>
|
</st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="财务设置" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="财务设置" (nzOnOk)="handleOK()"
|
||||||
|
(nzOnCancel)="handleCancel()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
@ -85,9 +70,11 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</nz-modal>
|
</nz-modal>
|
||||||
|
|
||||||
<nz-modal [(nzVisible)]="isVisibleTicket" [nzFooter]="nzModalFooterTiket" nzTitle="票务设置" (nzOnCancel)="handleCancelTicket()">
|
<nz-modal [(nzVisible)]="isVisibleTicket" [nzFooter]="nzModalFooterTiket" nzTitle="票务设置"
|
||||||
|
(nzOnCancel)="handleCancelTicket()">
|
||||||
<ng-container *nzModalContent>
|
<ng-container *nzModalContent>
|
||||||
<sf #sfTicket [schema]="ticketSchema" [ui]="ui3" [formData]="formDataTicket" [compact]="false" [button]="'none'"> </sf>
|
<sf #sfTicket [schema]="ticketSchema" [ui]="ui3" [formData]="formDataTicket" [compact]="false" [button]="'none'">
|
||||||
|
</sf>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #nzModalFooterTiket>
|
<ng-template #nzModalFooterTiket>
|
||||||
<button nz-button nzType="primary" (click)="handleCancelTicket()" [disabled]="">取消</button>
|
<button nz-button nzType="primary" (click)="handleCancelTicket()" [disabled]="">取消</button>
|
||||||
|
|||||||
@ -21,9 +21,6 @@
|
|||||||
<button nz-button nzType="primary" (click)="roleAction()">新建角色</button>
|
<button nz-button nzType="primary" (click)="roleAction()">新建角色</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<st #st [data]="service.$api_get_role_page" [columns]="columns"
|
<st #st [data]="service.$api_get_role_page" [columns]="columns" [req]="{ process: beforeReq }"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' },process: beforeReq }"
|
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
|
||||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
@ -33,8 +33,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<st #st [data]="service.$api_get_enterprise_staff_page" [columns]="columns"
|
<st #st [data]="service.$api_get_enterprise_staff_page" [columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: {nameOrPhone: this.sf.value?.nameOrPhone} }"
|
[req]="{ params: {nameOrPhone: this.sf.value?.nameOrPhone} }" [loading]="service.http.loading"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
|
||||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
|
||||||
</nz-card>
|
</nz-card>
|
||||||
Reference in New Issue
Block a user