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> | ||||||
| @ -18,12 +18,9 @@ | |||||||
|  |  | ||||||
|     <div class="d-flex justify-content-end mb-sm"> |     <div class="d-flex justify-content-end mb-sm"> | ||||||
|         <div> |         <div> | ||||||
|             <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> | ||||||
|  | |||||||
| @ -9,62 +9,59 @@ | |||||||
| <page-header-wrapper title="CRM客户管理"> | <page-header-wrapper title="CRM客户管理"> | ||||||
| </page-header-wrapper> | </page-header-wrapper> | ||||||
|  |  | ||||||
| <nz-card > | <nz-card> | ||||||
|     <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 [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading" |       <sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading" | ||||||
|             (formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf> |         (formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf> | ||||||
|         </div> |     </div> | ||||||
|  |  | ||||||
|         <!-- 查询字段大于3个时,根据展开状态调整布局 --> |     <!-- 查询字段大于3个时,根据展开状态调整布局 --> | ||||||
|         <ng-container *ngIf="queryFieldCount > 4"> |     <ng-container *ngIf="queryFieldCount > 4"> | ||||||
|           <div nz-col [nzSpan]="_$expand ? 24 : 18"> |       <div nz-col [nzSpan]="_$expand ? 24 : 18"> | ||||||
|             <sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf> |         <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]="service.http.loading" |  | ||||||
|               (click)="st?.load(1)">查询</button> |  | ||||||
|             <button nz-button nzType="primary"  |  | ||||||
|              >导出</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> |       </div> | ||||||
|  |       <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">导出</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> | ||||||
|  |  | ||||||
| <nz-card class="content-box"> | <nz-card class="content-box"> | ||||||
|  |  | ||||||
|     <div class="d-flex justify-content-end mb-sm"> |   <div class="d-flex justify-content-end mb-sm"> | ||||||
|         <div> |     <div> | ||||||
|             <button nz-button nzType="primary" (click)="roleAction('',1)" >新增CRM客户</button> |       <button nz-button nzType="primary" (click)="roleAction('',1)">新增CRM客户</button> | ||||||
|         </div> |  | ||||||
|     </div> |     </div> | ||||||
|     <st #st [data]="service.$api_get_crmCustomer_page" [columns]="columns" |   </div> | ||||||
|         [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }" |   <st #st [data]="service.$api_get_crmCustomer_page" [columns]="columns" [req]="{ params: reqParams }" | ||||||
|         [res]="{ reName: { list: 'data.records', total: 'data.total' } }" |     [loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"> | ||||||
|         [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" |     <ng-template st-row="customerType" let-item let-index="index"> | ||||||
|         [loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"> |       <div> | ||||||
|         <ng-template st-row="customerType" let-item let-index="index"> |         <span *ngIf="item?.customerType == 1">客户</span> | ||||||
|             <div> |         <span *ngIf="item?.customerType == 2">供应商</span> | ||||||
|               <span *ngIf="item?.customerType == 1">客户</span> |       </div> | ||||||
|               <span *ngIf="item?.customerType == 2">供应商</span> |     </ng-template> | ||||||
|             </div> |   </st> | ||||||
|           </ng-template> |  | ||||||
|     </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()" | ||||||
|     <ng-container *nzModalContent> |   (nzOnCancel)="handleCancel()"> | ||||||
|       <sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> |   <ng-container *nzModalContent> | ||||||
|       </sf> |     <sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> | ||||||
|     </ng-container> |     </sf> | ||||||
|     <ng-template #nzModalFooter> |   </ng-container> | ||||||
|       <button nz-button nzType="primary" (click)="handleCancel()" [disabled]="">取消</button> |   <ng-template #nzModalFooter> | ||||||
|       <button nz-button nzType="default" (click)="handleOK()">确 定</button> |     <button nz-button nzType="primary" (click)="handleCancel()" [disabled]="">取消</button> | ||||||
|     </ng-template> |     <button nz-button nzType="default" (click)="handleOK()">确 定</button> | ||||||
|  |   </ng-template> | ||||||
| </nz-modal> | </nz-modal> | ||||||
| @ -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,36 +39,28 @@ | |||||||
| </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' }" |     <ng-template st-row="electronicInvoiceAccount" let-item let-index="index"> | ||||||
|     [data]="service.$api_networkTransporter_page" |       <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||||
|     [columns]="columns" |     </ng-template> | ||||||
|     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }" |     <ng-template st-row="etcAccount" let-item let-index="index"> | ||||||
|     [res]="{ reName: { list: 'data.records', total: 'data.total' } }" |       <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||||
|     [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" |     </ng-template> | ||||||
|     [loading]="service.http.loading" |     <ng-template st-row="electronicContractAccount" let-item let-index="index"> | ||||||
|     (change)="stChange($event)" |       <a href="javascript:;" (click)="setMakeInvoice()">设置</a> | ||||||
|   > |     </ng-template> | ||||||
|   <ng-template st-row="electronicInvoiceAccount" let-item let-index="index"> |     <ng-template st-row="bankName" let-item let-index="index"> | ||||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> |       <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> | ||||||
|   </ng-template> |     </ng-template> | ||||||
|   <ng-template st-row="etcAccount" let-item let-index="index"> |     <ng-template st-row="virtualAccount" let-item let-index="index"> | ||||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> |       <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> | ||||||
|   </ng-template> |     </ng-template> | ||||||
|   <ng-template st-row="electronicContractAccount" let-item let-index="index"> |  | ||||||
|     <a href="javascript:;" (click)="setMakeInvoice()">设置</a> |  | ||||||
|   </ng-template> |  | ||||||
|   <ng-template st-row="bankName" let-item let-index="index"> |  | ||||||
|     <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> |  | ||||||
|   </ng-template> |  | ||||||
|   <ng-template st-row="virtualAccount" let-item let-index="index"> |  | ||||||
|     <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> |  | ||||||
|   </ng-template> |  | ||||||
|   </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