edit
This commit is contained in:
		| @ -137,13 +137,7 @@ export class StartupService { | |||||||
|       .post(this.coreSrv.$api_get_current_user_menus, { |       .post(this.coreSrv.$api_get_current_user_menus, { | ||||||
|         appId: this.coreSrv.envSrv.getEnvironment().appId |         appId: this.coreSrv.envSrv.getEnvironment().appId | ||||||
|       }) |       }) | ||||||
|       .pipe( |       .pipe(map((res: any) => res.data)); | ||||||
|         map((res: any) => { |  | ||||||
|           console.log(res); |  | ||||||
|  |  | ||||||
|           return res.data; |  | ||||||
|         }) |  | ||||||
|       ); |  | ||||||
|     // const menuData = this.httpClient.get('assets/mocks/menu-data.json').pipe(map((res: any) => res.data.menu)); |     // const menuData = this.httpClient.get('assets/mocks/menu-data.json').pipe(map((res: any) => res.data.menu)); | ||||||
|  |  | ||||||
|     return zip(appData, userData, menuData); |     return zip(appData, userData, menuData); | ||||||
|  | |||||||
| @ -8,14 +8,14 @@ | |||||||
| </ng-template> | </ng-template> | ||||||
| <ng-template #mainLink let-i> | <ng-template #mainLink let-i> | ||||||
|   <ng-template [ngTemplateOutlet]="icon" [ngTemplateOutletContext]="{ $implicit: i.icon }"></ng-template> |   <ng-template [ngTemplateOutlet]="icon" [ngTemplateOutletContext]="{ $implicit: i.icon }"></ng-template> | ||||||
|   <span class="alain-pro__menu-title-text" *ngIf="!pro.onlyIcon">{{ i.title }}</span> |   <span class="alain-pro__menu-title-text" *ngIf="!pro.onlyIcon">{{ i.text }}</span> | ||||||
|   <div *ngIf="i.badge" class="alain-pro__menu-title-badge"> |   <div *ngIf="i.badge" class="alain-pro__menu-title-badge"> | ||||||
|     <em>{{ i.badge }}</em> |     <em>{{ i.badge }}</em> | ||||||
|   </div> |   </div> | ||||||
| </ng-template> | </ng-template> | ||||||
| <ng-template #subLink let-i> | <ng-template #subLink let-i> | ||||||
|   <a *ngIf="!i.externalLink" [routerLink]="i.link" [target]="i.target">{{ i.title }} </a> |   <a *ngIf="!i.externalLink" [routerLink]="i.link" [target]="i.target">{{ i.text }} </a> | ||||||
|   <a *ngIf="i.externalLink" [attr.href]="i.externalLink" [attr.target]="i.target">{{ i.title }} </a> |   <a *ngIf="i.externalLink" [attr.href]="i.externalLink" [attr.target]="i.target">{{ i.text }} </a> | ||||||
| </ng-template> | </ng-template> | ||||||
| <ul *ngIf="menus" nz-menu [nzMode]="mode" [nzTheme]="pro.theme" | <ul *ngIf="menus" nz-menu [nzMode]="mode" [nzTheme]="pro.theme" | ||||||
|   [nzInlineCollapsed]="pro.isMobile ? false : pro.collapsed"> |   [nzInlineCollapsed]="pro.isMobile ? false : pro.collapsed"> | ||||||
| @ -36,7 +36,7 @@ | |||||||
|       <ng-template #l1TitleTpl> |       <ng-template #l1TitleTpl> | ||||||
|         <span title class="alain-pro__menu-title"> |         <span title class="alain-pro__menu-title"> | ||||||
|           <ng-template [ngTemplateOutlet]="icon" [ngTemplateOutletContext]="{ $implicit: l1.icon }"></ng-template> |           <ng-template [ngTemplateOutlet]="icon" [ngTemplateOutletContext]="{ $implicit: l1.icon }"></ng-template> | ||||||
|           <span class="alain-pro__menu-title-text" *ngIf="pro.isMobile || !pro.onlyIcon">{{ l1.title }}</span> |           <span class="alain-pro__menu-title-text" *ngIf="pro.isMobile || !pro.onlyIcon">{{ l1.text }}</span> | ||||||
|           <div *ngIf="l1.badge" class="alain-pro__menu-title-badge"> |           <div *ngIf="l1.badge" class="alain-pro__menu-title-badge"> | ||||||
|             <em>{{ l1.badge }}</em> |             <em>{{ l1.badge }}</em> | ||||||
|           </div> |           </div> | ||||||
| @ -49,7 +49,7 @@ | |||||||
|             (click)="closeCollapsed()"> |             (click)="closeCollapsed()"> | ||||||
|             <ng-template [ngTemplateOutlet]="subLink" [ngTemplateOutletContext]="{ $implicit: l2 }"></ng-template> |             <ng-template [ngTemplateOutlet]="subLink" [ngTemplateOutletContext]="{ $implicit: l2 }"></ng-template> | ||||||
|           </li> |           </li> | ||||||
|           <li *ngIf="!l2._hidden && l2.children!.length > 0" nz-submenu [nzTitle]="l2.title!" [nzOpen]="l2._open" |           <li *ngIf="!l2._hidden && l2.children!.length > 0" nz-submenu [nzTitle]="l2.text!" [nzOpen]="l2._open" | ||||||
|             [nzDisabled]="l2.disabled" (nzOpenChange)="openChange(l2, $event)"> |             [nzDisabled]="l2.disabled" (nzOpenChange)="openChange(l2, $event)"> | ||||||
|             <ul> |             <ul> | ||||||
|               <ng-container *ngFor="let l3 of l2.children"> |               <ng-container *ngFor="let l3 of l2.children"> | ||||||
|  | |||||||
| @ -0,0 +1,71 @@ | |||||||
|  | <page-header-wrapper [title]="'开票订单明细'" [logo]="logo"> | ||||||
|  |     <ng-template #logo> | ||||||
|  |         <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()"> | ||||||
|  |             <i nz-icon nzType="left" nzTheme="outline"></i> | ||||||
|  |         </button> | ||||||
|  |     </ng-template> | ||||||
|  | </page-header-wrapper> | ||||||
|  |  | ||||||
|  | <nz-card> | ||||||
|  |     <h3 class="font-weight-bold">天津怡亚通物流科技有限公司(浦发银行)</h3> | ||||||
|  |     <nz-row [nzGutter]="16"> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000,000.00 元'" nzTitle="平台账户余额" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000.00 元' " [nzTitle]="'货主账户余额'" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000.00 元'" [nzTitle]="'司机账户余额'" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000.00 元'" [nzTitle]="'累计充值金额'" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000.00 元'" [nzTitle]="'货主累计提现金额'" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |         <nz-col [nzXl]="4" [nzLg]="8" [nzSm]="12"> | ||||||
|  |             <nz-statistic [nzValue]="'100,000.00 元'" [nzTitle]="'司机累计提现金额'" | ||||||
|  |                 [nzValueStyle]="{'font-size':'16px',color:'red'}" class="font-weight-bold"> | ||||||
|  |             </nz-statistic> | ||||||
|  |         </nz-col> | ||||||
|  |     </nz-row> | ||||||
|  | </nz-card> | ||||||
|  |  | ||||||
|  | <nz-card class="search-box" nzBordered> | ||||||
|  |     <div nz-row nzGutter="8"> | ||||||
|  |         <div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24"> | ||||||
|  |             <sf #sf [schema]="searchSchema" | ||||||
|  |                 [ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true" | ||||||
|  |                 [button]="'none'"></sf> | ||||||
|  |         </div> | ||||||
|  |         <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" | ||||||
|  |             class="text-right"> | ||||||
|  |             <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> | ||||||
|  |             <button nz-button (click)="resetSF()">重置</button> | ||||||
|  |             <button nz-button (click)="exportList()"> 导出</button> | ||||||
|  |             <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
|  |                 {{ !_$expand ? '展开' : '收起' }} | ||||||
|  |                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||||
|  |             </button> | ||||||
|  |         </div> | ||||||
|  |     </div> | ||||||
|  | </nz-card> | ||||||
|  |  | ||||||
|  | <nz-card nzBordered> | ||||||
|  |     <st #st [data]="service.$api_get_driver_account_detail" [columns]="columns" | ||||||
|  |         [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]="{ x:'1200px',y: '300px' }" (change)="stChange($event)"></st> | ||||||
|  | </nz-card> | ||||||
| @ -0,0 +1,221 @@ | |||||||
|  | import { Component, OnInit, ViewChild } from '@angular/core'; | ||||||
|  | import { ActivatedRoute } from '@angular/router'; | ||||||
|  | import { STComponent, STColumn, STRequestOptions, STChange } from '@delon/abc/st'; | ||||||
|  | import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; | ||||||
|  | import { FreightAccountService } from '../../../services/freight-account.service'; | ||||||
|  |  | ||||||
|  | @Component({ | ||||||
|  |   selector: 'app-platform-account-detail', | ||||||
|  |   templateUrl: './platform-account-detail.component.html', | ||||||
|  |   styleUrls: ['../../../../commom/less/box.less', '../../../../commom/less/expend-but.less'] | ||||||
|  | }) | ||||||
|  | export class PlatformAccountDetailComponent implements OnInit { | ||||||
|  |  | ||||||
|  |   @ViewChild('st', { static: true }) | ||||||
|  |   st!: STComponent; | ||||||
|  |   @ViewChild('sf', { static: false }) | ||||||
|  |   sf!: SFComponent; | ||||||
|  |   columns: STColumn[] = this.initST(); | ||||||
|  |   searchSchema: SFSchema = this.initSF(); | ||||||
|  |  | ||||||
|  |   _$expand = false; | ||||||
|  |  | ||||||
|  |   info: any = {}; | ||||||
|  |   params: any = {}; | ||||||
|  |   constructor(public service: FreightAccountService, private route: ActivatedRoute) { | ||||||
|  |     this.params = route.snapshot.queryParams; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   ngOnInit(): void { | ||||||
|  |     this.loadInfo(); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   beforeReq = (requestOptions: STRequestOptions) => { | ||||||
|  |     Object.assign(requestOptions.body, { | ||||||
|  |       ltdId: this.params.ltdId, | ||||||
|  |       projectId: this.params.projectId, | ||||||
|  |       enterpriseId: this.params.enterpriseId, | ||||||
|  |       roleId: this.params.roleId | ||||||
|  |     }); | ||||||
|  |     if (this.sf) { | ||||||
|  |       Object.assign(requestOptions.body, { | ||||||
|  |         ...this.sf.value, | ||||||
|  |         createTime: { | ||||||
|  |           start: this.sf.value?.createTime?.[0] || '', | ||||||
|  |           end: this.sf.value?.createTime?.[1] || '' | ||||||
|  |         } | ||||||
|  |       }); | ||||||
|  |     } | ||||||
|  |     return requestOptions; | ||||||
|  |   }; | ||||||
|  |  | ||||||
|  |   loadInfo() { | ||||||
|  |     this.service | ||||||
|  |       .request(this.service.$api_get_driver_account_balance_detail, { | ||||||
|  |         ...this.sf?.value, | ||||||
|  |         ltdId: this.params.ltdId, | ||||||
|  |         projectId: this.params.projectId, | ||||||
|  |         enterpriseId: this.params.enterpriseId, | ||||||
|  |         roleId: this.params.roleId, | ||||||
|  |         pageIndex: this.st.pi, | ||||||
|  |         pageSize: this.st.ps, | ||||||
|  |         createTime: { | ||||||
|  |           start: this.sf?.value?.createTime?.[0] || '', | ||||||
|  |           end: this.sf?.value?.createTime?.[1] || '' | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |       .subscribe(res => { | ||||||
|  |         if (res) { | ||||||
|  |           this.info = res; | ||||||
|  |         } | ||||||
|  |       }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   stChange(e: STChange): void {} | ||||||
|  |  | ||||||
|  |   exportList() { | ||||||
|  |     this.service.downloadFile(this.service.$mock_url, { ...this.sf.value, pageIndex: this.st.pi, pageSize: this.st.ps }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   goBack() { | ||||||
|  |     history.go(-1); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * 重置表单 | ||||||
|  |    */ | ||||||
|  |   resetSF() { | ||||||
|  |     this.sf.reset(); | ||||||
|  |     this._$expand = false; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * 伸缩查询条件 | ||||||
|  |    */ | ||||||
|  |   expandToggle() { | ||||||
|  |     this._$expand = !this._$expand; | ||||||
|  |     this.sf?.setValue('/expand', this._$expand); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   private initSF(): SFSchema { | ||||||
|  |     return { | ||||||
|  |       properties: { | ||||||
|  |         expand: { | ||||||
|  |           type: 'boolean', | ||||||
|  |           ui: { | ||||||
|  |             hidden: true | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         createTime: { | ||||||
|  |           title: '交易时间', | ||||||
|  |           type: 'string', | ||||||
|  |           ui: { | ||||||
|  |             widget: 'sl-from-to-search', | ||||||
|  |             format: 'yyyy-MM-dd', | ||||||
|  |             placeholder: '请选择', | ||||||
|  |             nzShowTime: true | ||||||
|  |           } as SFDateWidgetSchema | ||||||
|  |         }, | ||||||
|  |         transactionNumber: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '流水号', | ||||||
|  |           ui: { | ||||||
|  |             placeholder: '请输入' | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         businessNumber: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '交易单号', | ||||||
|  |           ui: { | ||||||
|  |             placeholder: '请输入' | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         tradeType: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '交易类型', | ||||||
|  |           ui: { | ||||||
|  |             widget: 'dict-select', | ||||||
|  |             params: { dictKey: 'trade:type' }, | ||||||
|  |             placeholder: '请选择', | ||||||
|  |             visibleIf: { | ||||||
|  |               expand: (value: boolean) => value | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           default: '' | ||||||
|  |         }, | ||||||
|  |         incomeType: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '收支类型', | ||||||
|  |           ui: { | ||||||
|  |             widget: 'dict-select', | ||||||
|  |             params: { dictKey: 'income:type' }, | ||||||
|  |             placeholder: '请选择', | ||||||
|  |             visibleIf: { | ||||||
|  |               expand: (value: boolean) => value | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           default: '' | ||||||
|  |         }, | ||||||
|  |         incomeType1: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '货主', | ||||||
|  |           ui: { | ||||||
|  |             widget: 'select', | ||||||
|  |             placeholder: '请选择', | ||||||
|  |             visibleIf: { | ||||||
|  |               expand: (value: boolean) => value | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           default: '' | ||||||
|  |         }, | ||||||
|  |         incomeType2: { | ||||||
|  |           type: 'string', | ||||||
|  |           title: '所属项目', | ||||||
|  |           ui: { | ||||||
|  |             widget: 'select', | ||||||
|  |             placeholder: '请选择', | ||||||
|  |             visibleIf: { | ||||||
|  |               expand: (value: boolean) => value | ||||||
|  |             } | ||||||
|  |           }, | ||||||
|  |           default: '' | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   private initST(): STColumn[] { | ||||||
|  |     return [ | ||||||
|  |       { title: '交易时间', index: 'createTime', type: 'date' }, | ||||||
|  |       { title: '流水号', index: 'channelPaySn' }, | ||||||
|  |       { title: '交易类型', index: 'tradeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '交易单号', index: 'businessNumber' }, | ||||||
|  |       { title: '订单号', index: 'businessNumber' }, | ||||||
|  |       { title: '运单号', index: 'businessNumber' }, | ||||||
|  |       { title: '账户类型', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '账户名称', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '所属项目', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '收支类型', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { | ||||||
|  |         title: '交易金额', | ||||||
|  |         index: 'amount', | ||||||
|  |         width: 150, | ||||||
|  |         type: 'widget', | ||||||
|  |         className: 'text-right', | ||||||
|  |         widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.amount }) } | ||||||
|  |       }, | ||||||
|  |       { | ||||||
|  |         title: '账户余额', | ||||||
|  |         index: 'accountBalance', | ||||||
|  |         width: 150, | ||||||
|  |         type: 'widget', | ||||||
|  |         className: 'text-right', | ||||||
|  |         widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) } | ||||||
|  |       }, | ||||||
|  |       { title: '付款方', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '收款方', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |       { title: '备注', index: 'incomeTypeLabel', className: 'text-center' }, | ||||||
|  |     ]; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  | } | ||||||
| @ -52,7 +52,7 @@ | |||||||
| </nz-card> | </nz-card> | ||||||
|  |  | ||||||
| <nz-card class="content-box"> | <nz-card class="content-box"> | ||||||
|     <st #st [data]="url" [columns]="columns" [req]="{  params: reqParams }" [scroll]="{ x: '1200px' }" |     <st #st [data]="url" [columns]="columns" [req]="{  process: beforeReq }" [scroll]="{ x: '1200px' }" | ||||||
|         [loading]="service.http.loading" (change)="stChange($event)"> |         [loading]="service.http.loading"> | ||||||
|     </st> |     </st> | ||||||
| </nz-card> | </nz-card> | ||||||
| @ -1,12 +1,9 @@ | |||||||
| import { Component, OnInit, ViewChild } from '@angular/core'; | import { Component, OnInit, ViewChild } from '@angular/core'; | ||||||
| import { Router } from '@angular/router'; | import { Router } from '@angular/router'; | ||||||
| import { STComponent, STColumn, STChange } from '@delon/abc/st'; | import { STComponent, STColumn, STChange, STRequestOptions } from '@delon/abc/st'; | ||||||
| import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; | import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; | ||||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | import { NzModalService } from 'ng-zorro-antd/modal'; | ||||||
| import { SystemStaffStaffModalComponent } from 'src/app/routes/sys-setting/components/staff-management/staff-modal/staff-modal.component'; |  | ||||||
| import { SystemService } from 'src/app/routes/sys-setting/services/system.service'; |  | ||||||
| import { FreightAccountService } from '../../services/freight-account.service'; | import { FreightAccountService } from '../../services/freight-account.service'; | ||||||
| import { SettingFinancialComponent } from './setting-financial/setting-financial.component'; |  | ||||||
|  |  | ||||||
| @Component({ | @Component({ | ||||||
|   selector: 'app-platform-account', |   selector: 'app-platform-account', | ||||||
| @ -18,40 +15,22 @@ export class PlatformAccountComponent implements OnInit { | |||||||
|   st!: STComponent; |   st!: STComponent; | ||||||
|   @ViewChild('sf', { static: false }) |   @ViewChild('sf', { static: false }) | ||||||
|   sf!: SFComponent; |   sf!: SFComponent; | ||||||
|  |   searchSchema: SFSchema = this.initSF(); | ||||||
|  |   columns: STColumn[] = this.initST(); | ||||||
|  |  | ||||||
|   url = `/rule?_allow_anonymous=true`; |   url = `/rule?_allow_anonymous=true`; | ||||||
|  |  | ||||||
|   searchSchema: SFSchema = this.initSF(); |  | ||||||
|  |  | ||||||
|   columns: STColumn[] = this.initST(); |  | ||||||
|   reqParams = { pageIndex: 1, pageSize: 10 }; |  | ||||||
|  |  | ||||||
|   constructor(public service: FreightAccountService, private router: Router, private nzModalService: NzModalService) {} |   constructor(public service: FreightAccountService, private router: Router, private nzModalService: NzModalService) {} | ||||||
|  |  | ||||||
|   ngOnInit(): void {} |   ngOnInit(): void {} | ||||||
|  |  | ||||||
|   stChange(e: STChange): void { |   beforeReq = (requestOptions: STRequestOptions) => { | ||||||
|     switch (e.type) { |     if (this.sf) { | ||||||
|       case 'filter': |       Object.assign(requestOptions.body, { ...this.sf.value }); | ||||||
|         this.st.load(); |  | ||||||
|         break; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   settingFinanical(item: any) { |  | ||||||
|     const modal = this.nzModalService.create({ |  | ||||||
|       nzContent: SettingFinancialComponent, |  | ||||||
|       nzComponentParams: item ? { i: { ...item, roleId: '1,2,3', name: '用户名', phone: 18555555555 } } : { i: { id: 0 } }, |  | ||||||
|       nzFooter: null |  | ||||||
|     }); |  | ||||||
|     modal.afterClose.subscribe(res => { |  | ||||||
|       this.st.load(); |  | ||||||
|     }); |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   routeTo(item?: any) { |  | ||||||
|     this.router.navigate(['/financial-management/driver-account-detail/1']); |  | ||||||
|     } |     } | ||||||
|  |     return requestOptions; | ||||||
|  |   }; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * 重置表单 |    * 重置表单 | ||||||
| @ -192,7 +171,7 @@ export class PlatformAccountComponent implements OnInit { | |||||||
|         buttons: [ |         buttons: [ | ||||||
|           { |           { | ||||||
|             text: '查看明细', |             text: '查看明细', | ||||||
|             click: item => this.routeTo(item) |             click: item => this.router.navigate(['/financial-management/platform-account/detail/' + item.id]) | ||||||
|           } |           } | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|  | |||||||
| @ -28,6 +28,7 @@ import { VoucherListComponent } from './components/voucher-summary/voucher-list/ | |||||||
| import { ReceiptOrderDetailComponent } from './components/receipt-order/receipt-order-detail/receipt-order-detail.component'; | import { ReceiptOrderDetailComponent } from './components/receipt-order/receipt-order-detail/receipt-order-detail.component'; | ||||||
| import { PaymentOrderDetailComponent } from './components/payment-order/payment-order-detail/payment-order-detail.component'; | import { PaymentOrderDetailComponent } from './components/payment-order/payment-order-detail/payment-order-detail.component'; | ||||||
| import { PlatformAccountComponent } from './components/platform-account/platform-account.component'; | import { PlatformAccountComponent } from './components/platform-account/platform-account.component'; | ||||||
|  | import { PlatformAccountDetailComponent } from './components/platform-account/platform-account-detail/platform-account-detail.component'; | ||||||
|  |  | ||||||
| const routes: Routes = [ | const routes: Routes = [ | ||||||
|   { path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } }, |   { path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } }, | ||||||
| @ -35,6 +36,7 @@ const routes: Routes = [ | |||||||
|   { path: 'driver-account', component: DriverAccountComponent }, |   { path: 'driver-account', component: DriverAccountComponent }, | ||||||
|   { path: 'driver-account/detail/:id', component: DriverAccountDetailComponent }, |   { path: 'driver-account/detail/:id', component: DriverAccountDetailComponent }, | ||||||
|   { path: 'platform-account', component: PlatformAccountComponent }, |   { path: 'platform-account', component: PlatformAccountComponent }, | ||||||
|  |   { path: 'platform-account/detail/:id', component: PlatformAccountDetailComponent }, | ||||||
|   { path: 'recharge-record', component: RechargeRecordComponent }, |   { path: 'recharge-record', component: RechargeRecordComponent }, | ||||||
|   { path: 'withdrawals-record', component: WithdrawalsRecordComponent }, |   { path: 'withdrawals-record', component: WithdrawalsRecordComponent }, | ||||||
|   { path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent }, |   { path: 'withdrawals-record/detail/:id', component: WithdrawalsDetailComponent }, | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ import { PaymentOrderDetailComponent } from './components/payment-order/payment- | |||||||
| import { VoucherListComponent } from './components/voucher-summary/voucher-list/voucher-list.component'; | import { VoucherListComponent } from './components/voucher-summary/voucher-list/voucher-list.component'; | ||||||
| import { ReceiptOrderDetailComponent } from './components/receipt-order/receipt-order-detail/receipt-order-detail.component'; | import { ReceiptOrderDetailComponent } from './components/receipt-order/receipt-order-detail/receipt-order-detail.component'; | ||||||
| import { PlatformAccountComponent } from './components/platform-account/platform-account.component'; | import { PlatformAccountComponent } from './components/platform-account/platform-account.component'; | ||||||
| import { SettingFinancialComponent } from './components/platform-account/setting-financial/setting-financial.component'; | import { PlatformAccountDetailComponent } from './components/platform-account/platform-account-detail/platform-account-detail.component'; | ||||||
|  |  | ||||||
| const ROUTESCOMPONENTS = [ | const ROUTESCOMPONENTS = [ | ||||||
|   FreightAccountComponent, |   FreightAccountComponent, | ||||||
| @ -57,12 +57,13 @@ const ROUTESCOMPONENTS = [ | |||||||
|   ReceivableOrderDetailComponent, |   ReceivableOrderDetailComponent, | ||||||
|   PayableOrderDetailComponent, |   PayableOrderDetailComponent, | ||||||
|   PlatformAccountComponent, |   PlatformAccountComponent, | ||||||
|  |   PlatformAccountDetailComponent, | ||||||
|   PaymentOrderDetailComponent, |   PaymentOrderDetailComponent, | ||||||
|   VoucherListComponent, |   VoucherListComponent, | ||||||
|   ReceiptOrderDetailComponent |   ReceiptOrderDetailComponent | ||||||
| ]; | ]; | ||||||
|  |  | ||||||
| const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailComponent, SettingFinancialComponent, ClearingModalComponent]; | const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailComponent, ClearingModalComponent]; | ||||||
|  |  | ||||||
| @NgModule({ | @NgModule({ | ||||||
|   declarations: [...ROUTESCOMPONENTS, ...NOTROUTECOMPONENTS], |   declarations: [...ROUTESCOMPONENTS, ...NOTROUTECOMPONENTS], | ||||||
|  | |||||||
| @ -54,7 +54,7 @@ export class MenuManagerComponentsIndexComponent implements OnInit { | |||||||
|         this.listOfMapData.forEach(item => { |         this.listOfMapData.forEach(item => { | ||||||
|           this.mapOfExpandedData[item.key] = this.service.convertTreeToList(item); |           this.mapOfExpandedData[item.key] = this.service.convertTreeToList(item); | ||||||
|         }); |         }); | ||||||
|         console.log(this.listOfMapData, this.mapOfExpandedData); |         // console.log(this.listOfMapData, this.mapOfExpandedData); | ||||||
|       } |       } | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -131,7 +131,8 @@ export class MenuModalComponent implements OnInit { | |||||||
|     const params = { |     const params = { | ||||||
|       ...this.sf.value, |       ...this.sf.value, | ||||||
|       ...this.params, |       ...this.params, | ||||||
|       i18n: this.sf.value.keyCode, |       i18n: '', | ||||||
|  |       // i18n: this.sf.value.keyCode, | ||||||
|       menuType: 0, |       menuType: 0, | ||||||
|       reuse: 0, |       reuse: 0, | ||||||
|       shortcut: 0, |       shortcut: 0, | ||||||
|  | |||||||
| @ -3,71 +3,71 @@ | |||||||
|   "data": { |   "data": { | ||||||
|     "menu": [ |     "menu": [ | ||||||
|       { |       { | ||||||
|         "text": "主导航", |         "title": "主导航", | ||||||
|         "hideInBreadcrumb": true, |         "hideInBreadcrumb": true, | ||||||
|         "children": [ |         "children": [ | ||||||
|           { |           { | ||||||
|             "text": "用户中心", |             "title": "用户中心", | ||||||
|             "icon": "iconfont icon-yonghu-copy", |             "icon": "iconfont icon-yonghu-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "货主管理", |                 "title": "货主管理", | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "企业列表", |                     "title": "企业列表", | ||||||
|                     "link": "/usercenter/freight/list" |                     "link": "/usercenter/freight/list" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "道运证", |                     "title": "道运证", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/freight/list/view/:id" |                     "link": "/usercenter/freight/list/view/:id" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "货主详情", |                     "title": "货主详情", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/freight/list/detail/:id" |                     "link": "/usercenter/freight/list/detail/:id" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "企业认证", |                     "title": "企业认证", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/freight/new" |                     "link": "/usercenter/freight/new" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "企业审核列表", |                     "title": "企业审核列表", | ||||||
|                     "link": "/usercenter/freight/enterprise" |                     "link": "/usercenter/freight/enterprise" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "企业审核列表详情", |                     "title": "企业审核列表详情", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/freight/enterprise/view/:id" |                     "link": "/usercenter/freight/enterprise/view/:id" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "货主员工列表", |                     "title": "货主员工列表", | ||||||
|                     "link": "/usercenter/freight/user" |                     "link": "/usercenter/freight/user" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "货主员工详情", |                     "title": "货主员工详情", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/freight/user/view/:id" |                     "link": "/usercenter/freight/user/view/:id" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "司机管理", |                 "title": "司机管理", | ||||||
|                 "link": "/demo/zorro", |                 "link": "/demo/zorro", | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "司机列表", |                     "title": "司机列表", | ||||||
|                     "link": "/usercenter/driver" |                     "link": "/usercenter/driver" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "司机详情", |                     "title": "司机详情", | ||||||
|                     "hide": true, |                     "hide": true, | ||||||
|                     "link": "/usercenter/driver/detail/:id" |                     "link": "/usercenter/driver/detail/:id" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "车队长列表", |                     "title": "车队长列表", | ||||||
|                     "link": "/usercenter/driver/captain" |                     "link": "/usercenter/driver/captain" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
| @ -75,437 +75,437 @@ | |||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "运力管理", |             "title": "运力管理", | ||||||
|             "icon": "iconfont icon-yunli-copy", |             "icon": "iconfont icon-yunli-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "车辆列表", |                 "title": "车辆列表", | ||||||
|                 "link": "/vehicle/list" |                 "link": "/vehicle/list" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "text": "车辆列表详情", |                 "title": "车辆列表详情", | ||||||
|                 "link": "/vehicle/list/detail/:id" |                 "link": "/vehicle/list/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "车辆审核列表", |                 "title": "车辆审核列表", | ||||||
|                 "link": "/vehicle/audit" |                 "link": "/vehicle/audit" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "text": "车辆审核列表详情", |                 "title": "车辆审核列表详情", | ||||||
|                 "link": "/vehicle/audit/detail/:id" |                 "link": "/vehicle/audit/detail/:id" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "货源管理", |             "title": "货源管理", | ||||||
|             "icon": "iconfont icon-huoyuan-copy", |             "icon": "iconfont icon-huoyuan-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "货源管理", |                 "title": "货源管理", | ||||||
|                 "link": "/supply-management/index", |                 "link": "/supply-management/index", | ||||||
|                 "reuse": true |                 "reuse": true | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "货源详情", |                 "title": "货源详情", | ||||||
|                 "link": "/supply-management/bulk-detail", |                 "link": "/supply-management/bulk-detail", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "修改货源", |                 "title": "修改货源", | ||||||
|                 "link": "/supply-management/vehicle-amend/:id", |                 "link": "/supply-management/vehicle-amend/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "货源详情", |                 "title": "货源详情", | ||||||
|                 "link": "/supply-management/vehicle-detail/:id", |                 "link": "/supply-management/vehicle-detail/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "订单管理", |             "title": "订单管理", | ||||||
|             "icon": "iconfont icon-dingdan-copy", |             "icon": "iconfont icon-dingdan-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "整车订单", |                 "title": "整车订单", | ||||||
|                 "link": "/order-management/vehicle" |                 "link": "/order-management/vehicle" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "大宗订单", |                 "title": "大宗订单", | ||||||
|                 "link": "/order-management/bulk" |                 "link": "/order-management/bulk" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "风险单管理", |                 "title": "风险单管理", | ||||||
|                 "link": "/order-management/risk" |                 "link": "/order-management/risk" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "单据审核", |                 "title": "单据审核", | ||||||
|                 "link": "/order-management/receipts-audit" |                 "link": "/order-management/receipts-audit" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "投诉管理", |                 "title": "投诉管理", | ||||||
|                 "link": "/order-management/complaint" |                 "link": "/order-management/complaint" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "合规抽查", |                 "title": "合规抽查", | ||||||
|                 "link": "/order-management/compliance-audit" |                 "link": "/order-management/compliance-audit" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "整车订单详情", |                 "title": "整车订单详情", | ||||||
|                 "link": "/order-management/vehicle-detail/:id", |                 "link": "/order-management/vehicle-detail/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "大宗订单详情", |                 "title": "大宗订单详情", | ||||||
|                 "link": "/order-management/bulk-detail/:id", |                 "link": "/order-management/bulk-detail/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "运单管理", |             "title": "运单管理", | ||||||
|             "icon": "iconfont icon-yundan-copy", |             "icon": "iconfont icon-yundan-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "整车运单", |                 "title": "整车运单", | ||||||
|                 "link": "/waybill-management/vehicle" |                 "link": "/waybill-management/vehicle" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "text": "整车运单详情", |                 "title": "整车运单详情", | ||||||
|                 "link": "/waybill-management/vehicle-detail/:id" |                 "link": "/waybill-management/vehicle-detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "大宗运单", |                 "title": "大宗运单", | ||||||
|                 "link": "/waybill-management/bulk" |                 "link": "/waybill-management/bulk" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "text": "大宗运单详情", |                 "title": "大宗运单详情", | ||||||
|                 "link": "/waybill-management/bulk-detail/:id" |                 "link": "/waybill-management/bulk-detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "异常上报", |                 "title": "异常上报", | ||||||
|                 "link": "/waybill-management/abnormal-appear" |                 "link": "/waybill-management/abnormal-appear" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "保险管理", |             "title": "保险管理", | ||||||
|             "icon": "iconfont icon-yundan-copy", |             "icon": "iconfont icon-yundan-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "保险列表", |                 "title": "保险列表", | ||||||
|                 "link": "/insurance-management/list" |                 "link": "/insurance-management/list" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "财务管理", |             "title": "财务管理", | ||||||
|             "icon": "iconfont icon-caiwu-copy", |             "icon": "iconfont icon-caiwu-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "费用管理", |                 "title": "费用管理", | ||||||
|                 "link": "/financial-management/cost-management" |                 "link": "/financial-management/cost-management" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "费用浏览", |                 "title": "费用浏览", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/cost-management/detail/:id" |                 "link": "/financial-management/cost-management/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "凭证管理", |                 "title": "凭证管理", | ||||||
|                 "link": "/financial-management/voucher-management" |                 "link": "/financial-management/voucher-management" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "凭证汇总", |                 "title": "凭证汇总", | ||||||
|                 "link": "/financial-management/voucher-summary" |                 "link": "/financial-management/voucher-summary" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应收费用单", |                 "title": "应收费用单", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/cost-management/expenses-receivable/:id" |                 "link": "/financial-management/cost-management/expenses-receivable/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应付费用单", |                 "title": "应付费用单", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/cost-management/expenses-payable/:id" |                 "link": "/financial-management/cost-management/expenses-payable/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "付款单", |                 "title": "付款单", | ||||||
|                 "link": "/financial-management/payment-order" |                 "link": "/financial-management/payment-order" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "收款单", |                 "title": "收款单", | ||||||
|                 "link": "/financial-management/receipt-order" |                 "link": "/financial-management/receipt-order" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应收核销", |                 "title": "应收核销", | ||||||
|                 "link": "/financial-management/receivable-order" |                 "link": "/financial-management/receivable-order" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应收核销详情", |                 "title": "应收核销详情", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/receivable-order/detail/:id" |                 "link": "/financial-management/receivable-order/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应付核销", |                 "title": "应付核销", | ||||||
|                 "link": "/financial-management/payable-order" |                 "link": "/financial-management/payable-order" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "应收核销详情", |                 "title": "应收核销详情", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/payable-order/detail/:id" |                 "link": "/financial-management/payable-order/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "货主账户", |                 "title": "货主账户", | ||||||
|                 "link": "/financial-management/freight-account" |                 "link": "/financial-management/freight-account" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "货主账户详情", |                 "title": "货主账户详情", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/freight-account/detail/:id" |                 "link": "/financial-management/freight-account/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "平台账户", |                 "title": "平台账户", | ||||||
|                 "link": "/financial-management/platform-account" |                 "link": "/financial-management/platform-account" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "司机账户", |                 "title": "司机账户", | ||||||
|                 "link": "/financial-management/driver-account" |                 "link": "/financial-management/driver-account" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "司机账户详情", |                 "title": "司机账户详情", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/driver-account/detail/:id" |                 "link": "/financial-management/driver-account/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "充值记录", |                 "title": "充值记录", | ||||||
|                 "link": "/financial-management/recharge-record" |                 "link": "/financial-management/recharge-record" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "提现记录", |                 "title": "提现记录", | ||||||
|                 "link": "/financial-management/withdrawals-record" |                 "link": "/financial-management/withdrawals-record" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "提现详情", |                 "title": "提现详情", | ||||||
|                 "hide": true, |                 "hide": true, | ||||||
|                 "link": "/financial-management/withdrawals-record/detail/:id" |                 "link": "/financial-management/withdrawals-record/detail/:id" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "异常入金", |                 "title": "异常入金", | ||||||
|                 "link": "/financial-management/abnormal-gold" |                 "link": "/financial-management/abnormal-gold" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "支付记录", |                 "title": "支付记录", | ||||||
|                 "link": "/financial-management/payment-record" |                 "link": "/financial-management/payment-record" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "交易流水", |                 "title": "交易流水", | ||||||
|                 "link": "/financial-management/transaction-flow" |                 "link": "/financial-management/transaction-flow" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "票务管理", |             "title": "票务管理", | ||||||
|             "icon": "iconfont icon-piaowu-copy", |             "icon": "iconfont icon-piaowu-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "销项发票", |                 "title": "销项发票", | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "开票申请", |                     "title": "开票申请", | ||||||
|                     "link": "/ticket/invoice-requested" |                     "link": "/ticket/invoice-requested" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "开票订单明细", |                     "title": "开票订单明细", | ||||||
|                     "link": "/ticket/invoice-requested/detail/:id", |                     "link": "/ticket/invoice-requested/detail/:id", | ||||||
|                     "hide": true |                     "hide": true | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "销票处理", |                     "title": "销票处理", | ||||||
|                     "link": "/ticket/cancellation-invoice" |                     "link": "/ticket/cancellation-invoice" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "销票订单明细", |                     "title": "销票订单明细", | ||||||
|                     "link": "/ticket/cancellation-invoice/detail/:id", |                     "link": "/ticket/cancellation-invoice/detail/:id", | ||||||
|                     "hide": true |                     "hide": true | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "已开发票", |                     "title": "已开发票", | ||||||
|                     "link": "/ticket/invoice-list" |                     "link": "/ticket/invoice-list" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "已开订单明细", |                     "title": "已开订单明细", | ||||||
|                     "link": "/ticket/invoice-list/detail/:id", |                     "link": "/ticket/invoice-list/detail/:id", | ||||||
|                     "hide": true |                     "hide": true | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "快递信息", |                     "title": "快递信息", | ||||||
|                     "link": "/ticket/express-info" |                     "link": "/ticket/express-info" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "ETC发票", |                 "title": "ETC发票", | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "申请发票", |                     "title": "申请发票", | ||||||
|                     "link": "/ticket/etc-invoice-requested" |                     "link": "/ticket/etc-invoice-requested" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "开票记录", |                     "title": "开票记录", | ||||||
|                     "link": "/ticket/etc-invoice-list" |                     "link": "/ticket/etc-invoice-list" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "已开发票", |                     "title": "已开发票", | ||||||
|                     "link": "/ticket/etc-invoiced-logs" |                     "link": "/ticket/etc-invoiced-logs" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "ETC白名单", |                     "title": "ETC白名单", | ||||||
|                     "link": "/ticket/etc-blacklist" |                     "link": "/ticket/etc-blacklist" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "进项发票", |                 "title": "进项发票", | ||||||
|                 "link": "/ticket/input-invoice" |                 "link": "/ticket/input-invoice" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "修改收票信息", |                 "title": "修改收票信息", | ||||||
|                 "link": "/ticket/input-invoice/detail/:id", |                 "link": "/ticket/input-invoice/detail/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "进项发票", |                 "title": "进项发票", | ||||||
|                 "link": "/ticket/input-invoice/edit/:id", |                 "link": "/ticket/input-invoice/edit/:id", | ||||||
|                 "hide": true |                 "hide": true | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "合同管理", |             "title": "合同管理", | ||||||
|             "icon": "iconfont icon-hetong-copy", |             "icon": "iconfont icon-hetong-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "保单管理", |                 "title": "保单管理", | ||||||
|                 "link": "/contract-management/policy" |                 "link": "/contract-management/policy" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "合同管理", |                 "title": "合同管理", | ||||||
|                 "link": "/contract-management/index" |                 "link": "/contract-management/index" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "合同模板", |                 "title": "合同模板", | ||||||
|                 "link": "/contract-management/template" |                 "link": "/contract-management/template" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
|             "text": "系统设置", |             "title": "系统设置", | ||||||
|             "icon": "iconfont icon-shezhi-copy", |             "icon": "iconfont icon-shezhi-copy", | ||||||
|             "group": true, |             "group": true, | ||||||
|             "children": [ |             "children": [ | ||||||
|               { |               { | ||||||
|                 "text": "员工管理", |                 "title": "员工管理", | ||||||
|                 "group": true, |                 "group": true, | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "员工管理", |                     "title": "员工管理", | ||||||
|                     "link": "/system/staff-management" |                     "link": "/system/staff-management" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "角色管理", |                     "title": "角色管理", | ||||||
|                     "link": "/system/role-management" |                     "link": "/system/role-management" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "操作日志", |                 "title": "操作日志", | ||||||
|                 "group": true, |                 "group": true, | ||||||
|                 "children": [ |                 "children": [ | ||||||
|                   { |                   { | ||||||
|                     "text": "系统操作日志", |                     "title": "系统操作日志", | ||||||
|                     "link": "/logs/system-logs" |                     "link": "/logs/system-logs" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "货源操作日志", |                     "title": "货源操作日志", | ||||||
|                     "link": "/logs/system-supply-logs" |                     "link": "/logs/system-supply-logs" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "订单操作日志", |                     "title": "订单操作日志", | ||||||
|                     "link": "/logs/system-waybill-logs" |                     "link": "/logs/system-waybill-logs" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "用户登录日志", |                     "title": "用户登录日志", | ||||||
|                     "link": "/logs/user-logs" |                     "link": "/logs/user-logs" | ||||||
|                   }, |                   }, | ||||||
|                   { |                   { | ||||||
|                     "text": "版本发布记录", |                     "title": "版本发布记录", | ||||||
|                     "link": "/logs/version-logs" |                     "link": "/logs/version-logs" | ||||||
|                   } |                   } | ||||||
|                 ] |                 ] | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "CRM客户管理", |                 "title": "CRM客户管理", | ||||||
|                 "link": "/system/crm-management" |                 "link": "/system/crm-management" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "结算客户管理", |                 "title": "结算客户管理", | ||||||
|                 "link": "/system/close-account" |                 "link": "/system/close-account" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "网络货运人", |                 "title": "网络货运人", | ||||||
|                 "link": "/system/network-freight" |                 "link": "/system/network-freight" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "基础设置", |                 "title": "基础设置", | ||||||
|                 "link": "/system/basic-setting" |                 "link": "/system/basic-setting" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "保险配置", |                 "title": "保险配置", | ||||||
|                 "link": "/system/insurance-set" |                 "link": "/system/insurance-set" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "公告信息管理", |                 "title": "公告信息管理", | ||||||
|                 "link": "/system/announcement-message" |                 "link": "/system/announcement-message" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "车型车长配置", |                 "title": "车型车长配置", | ||||||
|                 "link": "/system/cart-config" |                 "link": "/system/cart-config" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "基础配置", |                 "title": "基础配置", | ||||||
|                 "link": "/system/basic-config" |                 "link": "/system/basic-config" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "协议配置", |                 "title": "协议配置", | ||||||
|                 "link": "/system/agreement-config" |                 "link": "/system/agreement-config" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "菜单管理", |                 "title": "菜单管理", | ||||||
|                 "link": "/menu-management/index" |                 "link": "/menu-management/index" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "接口权限", |                 "title": "接口权限", | ||||||
|                 "link": "/menu-management/auth" |                 "link": "/menu-management/auth" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "系统配置", |                 "title": "系统配置", | ||||||
|                 "link": "/system/system-config" |                 "link": "/system/system-config" | ||||||
|               }, |               }, | ||||||
|               { |               { | ||||||
|                 "text": "货物名称配置", |                 "title": "货物名称配置", | ||||||
|                 "link": "/system/goods-name-config" |                 "link": "/system/goods-name-config" | ||||||
|               } |               } | ||||||
|             ] |             ] | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user