Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -1,81 +1,3 @@ | ||||
| <nz-card [nzLoading]="service.http.loading"> | ||||
|     <div nz-row [nzGutter]="8"> | ||||
|         <div nz-col nzSpan="4"> | ||||
|             <ul nz-menu nzMode="inline" class="card-height"> | ||||
|                 <li nz-menu-item [nzSelected]="idx === 0" (click)="changeType(item)" | ||||
|                     *ngFor="let item of tabs; let idx = index"> | ||||
|                     {{ item.name }} | ||||
|                 </li> | ||||
|             </ul> | ||||
|         </div> | ||||
|  | ||||
|         <div nz-col nzSpan="20" style="overflow: scroll"> | ||||
|             <nz-card class="card-height" [nzBordered]="null" nzSize="small"> | ||||
|                 <h2 style="font-weight: 800;">{{selectedTab?.name}}</h2> | ||||
|                 <div nz-row nzGutter="8"> | ||||
|                     <div nz-col nzSpan="24" se-container [labelWidth]="250"> | ||||
|                         <se [label]="item.name" *ngFor="let item of configList" col="1"> | ||||
|                             <ng-container [ngSwitch]="item.itemType"> | ||||
|                                 <ng-container *ngSwitchCase="1"> | ||||
|                                     <nz-input-group [nzAddOnAfter]="item.remark?.afterLable" style="width: 155px;" | ||||
|                                         class="ml-md mr-xl"> | ||||
|                                         <input type="number" nz-input [(ngModel)]="item.itemValue" placeholder="请输入" /> | ||||
|                                     </nz-input-group> | ||||
|                                 </ng-container> | ||||
|                                 <ng-container *ngSwitchCase="2"> | ||||
|                                     <nz-radio-group [(ngModel)]="item.itemValue" class="mr-xl"> | ||||
|                                         <label nz-radio nzValue="0" class="ml-xl">{{item.remark?.[0] || '否'}}</label> | ||||
|                                         <label nz-radio nzValue="1" class="ml-xl">{{item.remark?.[1] || '是'}}</label> | ||||
|                                     </nz-radio-group> | ||||
|                                 </ng-container> | ||||
|                                 <ng-container *ngSwitchCase="3"> | ||||
|                                     <nz-time-picker nzFormat="HH:mm" nzPlaceHolder="请选择时间" [(ngModel)]="item.itemValue" | ||||
|                                         class="ml-md mr-xl"> | ||||
|                                     </nz-time-picker> | ||||
|                                 </ng-container> | ||||
|                                 <ng-container *ngSwitchCase="5"> | ||||
|                                     <div class="d-flex" style="align-items: center;justify-content: space-between;"> | ||||
|                                         <input type="time" [(ngModel)]="item.itemValue.startTime" placeHolder="开始时间" | ||||
|                                             style="margin-left: 23px;"> | ||||
|                                         <!-- <nz-time-picker nzFormat="HH:mm" nzPlaceHolder="开始时间" | ||||
|                                             [(ngModel)]="item.itemValue.startTime" style="margin-left: 23px;"> | ||||
|                                         </nz-time-picker> --> | ||||
|                                         <label class="ml-sm mr-sm"> --</label> | ||||
|                                         <input type="time" [(ngModel)]="item.itemValue.endTime" placeHolder="结束时间" | ||||
|                                             style="margin-left: 0;" class=" mr-xl"> | ||||
|                                         <!-- <nz-time-picker nzFormat="HH:mm" nzPlaceHolder="结束时间" | ||||
|                                             [(ngModel)]="item.itemValue.endTime"> | ||||
|                                         </nz-time-picker> --> | ||||
|                                     </div> | ||||
|                                 </ng-container> | ||||
|                             </ng-container> | ||||
|  | ||||
|                             <!-- <ng-container *ngFor="let item of item.extend"> | ||||
|                                 <ng-container [ngSwitch]="item"> | ||||
|                                     <ng-container *ngSwitchCase="1"> | ||||
|                                         <button nz-button nzType="default">配置网络货运</button> | ||||
|                                     </ng-container> | ||||
|                                     <ng-container *ngSwitchCase="2"> | ||||
|                                         <button nz-button nzType="default">配置货主</button> | ||||
|                                     </ng-container> | ||||
|                                     <ng-container *ngSwitchCase="3"> | ||||
|                                         <button nz-button nzType="default">配置司机</button> | ||||
|                                     </ng-container> | ||||
|                                     <ng-container *ngSwitchCase="4"> | ||||
|                                         <button nz-button nzType="default">配置车队长</button> | ||||
|                                     </ng-container> | ||||
|                                     <ng-container *ngSwitchDefault></ng-container> | ||||
|                                 </ng-container> | ||||
|                             </ng-container> --> | ||||
|                         </se> | ||||
|                     </div> | ||||
|                 </div> | ||||
|             </nz-card> | ||||
|  | ||||
|  | ||||
|             <div class="mb-md save-btn"> | ||||
|                 <button class="ml-lg" nz-button nzSize="large" nzType="primary" (click)="saveAction()">保存</button> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
| </nz-card> | ||||
| <app-dynamic-setting-h5 [tabs]="tabs" [configList]="configList" [selectedTab]="selectedTab" | ||||
|     (selectedEvent)="getConfigList($event?.id)" (saveEvent)="saveAction($event)"> | ||||
| </app-dynamic-setting-h5> | ||||
| @ -43,7 +43,6 @@ export class BasicSettingComponent implements OnInit { | ||||
|           itemValue: item.itemValue ? JSON.parse(item.itemValue) : item.itemValue | ||||
|         })); | ||||
|         this.configList = res; | ||||
|         console.log(res); | ||||
|       } else { | ||||
|         this.configList = []; | ||||
|       } | ||||
| @ -55,15 +54,7 @@ export class BasicSettingComponent implements OnInit { | ||||
|     this.getConfigList(this.selectedTab.id); | ||||
|   } | ||||
|  | ||||
|   saveAction() { | ||||
|     if (this.configList?.length < 0) { | ||||
|       return; | ||||
|     } | ||||
|     const params = this.configList.map((item: any) => ({ | ||||
|       ...item, | ||||
|       remark: item.remark ? JSON.stringify(item.remark) : null, | ||||
|       itemValue: item.itemValue ? JSON.stringify(item.itemValue) : null | ||||
|     })); | ||||
|   saveAction(params: any) { | ||||
|     this.service.request(this.service.$api_update_config_batch, params).subscribe(res => { | ||||
|       if (res) { | ||||
|         this.service.msgSrv.success('修改配置成功'); | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| import { Component, OnInit, ViewChild } from '@angular/core'; | ||||
| import { STComponent, STColumn, STChange } from '@delon/abc/st'; | ||||
| import { SFComponent, SFRadioWidgetSchema, SFSchema, SFUISchema } from '@delon/form'; | ||||
| import { DynamicSettingModalComponent } from '@shared'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { SystemService } from '../../services/system.service'; | ||||
|  | ||||
| @ -19,7 +20,7 @@ export class NetworkFreightComponent implements OnInit { | ||||
|   schema: SFSchema = {}; | ||||
|   addSchema: SFSchema = {}; | ||||
|   _$expand = false; | ||||
|   formData :any; | ||||
|   formData: any; | ||||
|   isVisible = false; | ||||
|   edit = false; | ||||
|   editId = false; | ||||
| @ -33,7 +34,13 @@ export class NetworkFreightComponent implements OnInit { | ||||
|     { title: '电子合同账号', index: 'electronicContractAccount' }, | ||||
|     { title: '开户行', index: 'bankName' }, | ||||
|     { title: '虚拟账户', index: 'virtualAccount' }, | ||||
|     { title: '附加费比例', index: 'surchargeRate', format: (item: any) => {return item.surchargeRate + '%'} }, | ||||
|     { | ||||
|       title: '附加费比例', | ||||
|       index: 'surchargeRate', | ||||
|       format: (item: any) => { | ||||
|         return item.surchargeRate + '%'; | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       title: '操作', | ||||
|       buttons: [ | ||||
| @ -45,22 +52,27 @@ export class NetworkFreightComponent implements OnInit { | ||||
|           text: '合同设置', | ||||
|           click: item => this.roleAction(item, 2) | ||||
|         }, | ||||
|         { | ||||
|           text: '基础设置', | ||||
|           click: item => this.settingAction(item) | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ]; | ||||
|  | ||||
|   selectedRows: any[] = []; | ||||
|  | ||||
|   get reqParams (){  | ||||
|   get reqParams() { | ||||
|     return { | ||||
|     ...this.sf?.value, | ||||
|   }}; | ||||
|       ...this.sf?.value | ||||
|     }; | ||||
|   } | ||||
|  | ||||
|   constructor(public service: SystemService, private nzModalService: NzModalService) {} | ||||
|  | ||||
|   ngOnInit(): void { | ||||
|     this.initSF() | ||||
|     this.initSFFre() | ||||
|     this.initSF(); | ||||
|     this.initSFFre(); | ||||
|   } | ||||
|  | ||||
|   stChange(e: STChange): void { | ||||
| @ -73,83 +85,80 @@ export class NetworkFreightComponent implements OnInit { | ||||
|         break; | ||||
|     } | ||||
|   } | ||||
|     /** | ||||
|   * 伸缩查询条件 | ||||
|   */ | ||||
|      expandToggle(): void { | ||||
|       this._$expand = !this._$expand; | ||||
|       this.sf?.setValue('/_$expand', this._$expand); | ||||
|     } | ||||
|     /** | ||||
|   /** | ||||
|    * 伸缩查询条件 | ||||
|    */ | ||||
|   expandToggle(): void { | ||||
|     this._$expand = !this._$expand; | ||||
|     this.sf?.setValue('/_$expand', this._$expand); | ||||
|   } | ||||
|   /** | ||||
|    * 查询字段个数 | ||||
|    */ | ||||
|      get queryFieldCount(): number { | ||||
|       return Object.keys(this.schema?.properties || {}).length; | ||||
|     } | ||||
|   initSF(){ | ||||
|   this.schema = { | ||||
|     properties: { | ||||
|       _$expand: { type: 'boolean', ui: { hidden: true } }, | ||||
|       enterpriseName: { | ||||
|         type: 'string', | ||||
|         title: '公司名称', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|       taxCode: { | ||||
|         type: 'string', | ||||
|         title: '纳税人识别号', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|     } | ||||
|      | ||||
|   }; | ||||
|   this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 } } }; | ||||
|   get queryFieldCount(): number { | ||||
|     return Object.keys(this.schema?.properties || {}).length; | ||||
|   } | ||||
|   initSF() { | ||||
|     this.schema = { | ||||
|       properties: { | ||||
|         _$expand: { type: 'boolean', ui: { hidden: true } }, | ||||
|         enterpriseName: { | ||||
|           type: 'string', | ||||
|           title: '公司名称', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         }, | ||||
|         taxCode: { | ||||
|           type: 'string', | ||||
|           title: '纳税人识别号', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         } | ||||
|       } | ||||
|     }; | ||||
|     this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 } } }; | ||||
|   } | ||||
|   initSFFre() { | ||||
|   this.addSchema = { | ||||
|     properties: { | ||||
|       enterpriseName: { | ||||
|         type: 'string', | ||||
|         title: '公司名称', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|       taxCode: { | ||||
|         type: 'string', | ||||
|         title: '纳税人识别号', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|       customerCode: { | ||||
|         type: 'string', | ||||
|         title: '税收分类编码', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|       invoiceTaxRate: { | ||||
|         type: 'string', | ||||
|         title: '发票税率', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|       surchargeRate: { | ||||
|         type: 'string', | ||||
|         title: '附加费比例', | ||||
|         ui: { placeholder: '请输入' } | ||||
|       }, | ||||
|    | ||||
|   }, | ||||
|   required: ['enterpriseName', 'taxCode', 'customerType', 'invoiceTaxRate', 'surchargeRate'] | ||||
|   }; | ||||
| this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; | ||||
| } | ||||
|   roleAction(value: any,item?: any) { | ||||
|  | ||||
|       this.service.request(this.service.$api_get_crmCustomer, {id: value.id}).subscribe((res: any) => { | ||||
|         console.log(res) | ||||
|         if(res) { | ||||
|           this.formData = res; | ||||
|     this.addSchema = { | ||||
|       properties: { | ||||
|         enterpriseName: { | ||||
|           type: 'string', | ||||
|           title: '公司名称', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         }, | ||||
|         taxCode: { | ||||
|           type: 'string', | ||||
|           title: '纳税人识别号', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         }, | ||||
|         customerCode: { | ||||
|           type: 'string', | ||||
|           title: '税收分类编码', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         }, | ||||
|         invoiceTaxRate: { | ||||
|           type: 'string', | ||||
|           title: '发票税率', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         }, | ||||
|         surchargeRate: { | ||||
|           type: 'string', | ||||
|           title: '附加费比例', | ||||
|           ui: { placeholder: '请输入' } | ||||
|         } | ||||
|       }) | ||||
|       this.edit = true; | ||||
|       this.editId = value.id; | ||||
|       this.isVisible = true; | ||||
|       }, | ||||
|       required: ['enterpriseName', 'taxCode', 'customerType', 'invoiceTaxRate', 'surchargeRate'] | ||||
|     }; | ||||
|     this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; | ||||
|   } | ||||
|   roleAction(value: any, item?: any) { | ||||
|     this.service.request(this.service.$api_get_crmCustomer, { id: value.id }).subscribe((res: any) => { | ||||
|       console.log(res); | ||||
|       if (res) { | ||||
|         this.formData = res; | ||||
|       } | ||||
|     }); | ||||
|     this.edit = true; | ||||
|     this.editId = value.id; | ||||
|     this.isVisible = true; | ||||
|   } | ||||
|  | ||||
|   deleteAction(item?: any) { | ||||
| @ -161,6 +170,19 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   settingAction(item?: any) { | ||||
|     this.nzModalService.create({ | ||||
|       nzTitle: '基础设置', | ||||
|       nzContent: DynamicSettingModalComponent, | ||||
|       nzWidth: 900, | ||||
|       nzComponentParams: { | ||||
|         extendType: '1', | ||||
|         businessId: item.id | ||||
|       }, | ||||
|       nzFooter: null | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * 重置表单 | ||||
|    */ | ||||
| @ -168,30 +190,29 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; | ||||
|     this.sf.reset(); | ||||
|   } | ||||
|   handleCancel() { | ||||
|     this.isVisible = false | ||||
|     this.isVisible = false; | ||||
|   } | ||||
|  | ||||
|   handleOK() { | ||||
|     console.log(this.sfFre.value) | ||||
|     if(!this.sfFre.valid) { | ||||
|       this.service.msgSrv.warning('请正确填写完整!') | ||||
|       return | ||||
|     console.log(this.sfFre.value); | ||||
|     if (!this.sfFre.valid) { | ||||
|       this.service.msgSrv.warning('请正确填写完整!'); | ||||
|       return; | ||||
|     } | ||||
|     const params ={ | ||||
|     const params = { | ||||
|       ...this.sfFre.value | ||||
|     }; | ||||
|     if (this.editId) { | ||||
|       params.id = this.editId; | ||||
|     } | ||||
|     if(this.editId) { | ||||
|       params.id = this.editId | ||||
|     } | ||||
|     this.service.request(this.service.$api_save_crmCustomer, params).subscribe((res:any) => { | ||||
|       if(res) { | ||||
|     this.service.msgSrv.success('保存成功!') | ||||
|     this.isVisible = false | ||||
|     this.st.reload(); | ||||
|     this.service.request(this.service.$api_save_crmCustomer, params).subscribe((res: any) => { | ||||
|       if (res) { | ||||
|         this.service.msgSrv.success('保存成功!'); | ||||
|         this.isVisible = false; | ||||
|         this.st.reload(); | ||||
|       } else { | ||||
|     this.service.msgSrv.warning(res?.msg) | ||||
|  | ||||
|         this.service.msgSrv.warning(res?.msg); | ||||
|       } | ||||
|     }) | ||||
|     }); | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
|  */ | ||||
| import { NgModule } from '@angular/core'; | ||||
| import { CommonModule } from '@angular/common'; | ||||
| import { SharedModule } from '@shared'; | ||||
| import { DynamicSettingModule, SharedModule } from '@shared'; | ||||
| import { StaffManagementComponent } from './components/staff-management/staff-management.component'; | ||||
| import { SysSettingRoutingModule } from './sys-setting-routing.module'; | ||||
| import { BuyerTranspowerComponent } from './components/staff-management/transpower/transpower.component'; | ||||
| @ -61,10 +61,10 @@ const NOTROUTECOMPONENTS = [ | ||||
|   AuditResonConfigActionModalComponent, | ||||
|   CartConfigActionModalComponent, | ||||
|   SettingRoleEditComponent, | ||||
|   SettingMenuComponent, | ||||
|   SettingMenuComponent | ||||
| ]; | ||||
| @NgModule({ | ||||
|   declarations: [...COMPONENTS, ...NOTROUTECOMPONENTS], | ||||
|   imports: [CommonModule, SysSettingRoutingModule, SharedModule] | ||||
|   imports: [CommonModule, SysSettingRoutingModule, SharedModule, DynamicSettingModule] | ||||
| }) | ||||
| export class SysSettingModule {} | ||||
|  | ||||
| @ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; | ||||
| import { ActivatedRoute, Router } from '@angular/router'; | ||||
| import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st'; | ||||
| import { SFComponent, SFSchema, SFUISchema } from '@delon/form'; | ||||
| import { DynamicSettingModalComponent } from '@shared'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { UsermanageService } from '../../../services/usercenter.service'; | ||||
| @Component({ | ||||
| @ -82,6 +83,19 @@ export class UserCenterComponentsDriverCaptainComponent implements OnInit { | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   settingAction(item?: any) { | ||||
|     this.modal.create({ | ||||
|       nzTitle: '基础设置', | ||||
|       nzContent: DynamicSettingModalComponent, | ||||
|       nzWidth: 900, | ||||
|       nzComponentParams: { | ||||
|         extendType: '4', | ||||
|         businessId: item.id | ||||
|       }, | ||||
|       nzFooter: null | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   expandToggle() { | ||||
|     this._$expand = !this._$expand; | ||||
|     this.sf?.setValue('/expand', this._$expand); | ||||
| @ -206,6 +220,10 @@ export class UserCenterComponentsDriverCaptainComponent implements OnInit { | ||||
|             click: item => { | ||||
|               this.router.navigate(['/usercenter/driver/captain/detail', item.appUserId]); | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             text: '基础设置', | ||||
|             click: item => this.settingAction(item) | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|  | ||||
| @ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; | ||||
| import { ActivatedRoute, Router } from '@angular/router'; | ||||
| import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st'; | ||||
| import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form'; | ||||
| import { DynamicSettingModalComponent } from '@shared'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { UsermanageService } from '../../services/usercenter.service'; | ||||
| @Component({ | ||||
| @ -77,6 +78,19 @@ export class UserCenterComponentsDriverComponent implements OnInit { | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   settingAction(item?: any) { | ||||
|     this.modal.create({ | ||||
|       nzTitle: '基础设置', | ||||
|       nzContent: DynamicSettingModalComponent, | ||||
|       nzWidth: 900, | ||||
|       nzComponentParams: { | ||||
|         extendType: '3', | ||||
|         businessId: item.id | ||||
|       }, | ||||
|       nzFooter: null | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   expandToggle() { | ||||
|     this._$expand = !this._$expand; | ||||
|     this.sf?.setValue('/expand', this._$expand); | ||||
| @ -264,6 +278,10 @@ export class UserCenterComponentsDriverComponent implements OnInit { | ||||
|               this.router.navigate(['./detail', item.appUserId], { relativeTo: this.ar }); | ||||
|               // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             text: '基础设置', | ||||
|             click: item => this.settingAction(item) | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|  | ||||
| @ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; | ||||
| import { ActivatedRoute, Router } from '@angular/router'; | ||||
| import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st'; | ||||
| import { SFComponent, SFSchema, SFUISchema } from '@delon/form'; | ||||
| import { DynamicSettingModalComponent } from '@shared'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { UsermanageService } from '../../../services/usercenter.service'; | ||||
| @Component({ | ||||
| @ -52,6 +53,20 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|       return i; | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   settingAction(item?: any) { | ||||
|     this.modal.create({ | ||||
|       nzTitle: '基础设置', | ||||
|       nzContent: DynamicSettingModalComponent, | ||||
|       nzWidth: 900, | ||||
|       nzComponentParams: { | ||||
|         extendType: '2', | ||||
|         businessId: item.id | ||||
|       }, | ||||
|       nzFooter: null | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   initSF() { | ||||
|     this.schema = { | ||||
|       properties: { | ||||
| @ -180,6 +195,10 @@ export class FreightComponentsListComponent implements OnInit { | ||||
|               this.router.navigate(['./detail', item.id], { relativeTo: this.ar }); | ||||
|               // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             text: '基础设置', | ||||
|             click: item => this.settingAction(item) | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|  | ||||
| @ -7,7 +7,7 @@ | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\usercenter\usercenter.module.ts | ||||
|  */ | ||||
| import { NgModule } from '@angular/core'; | ||||
| import { SharedModule } from '@shared'; | ||||
| import { DynamicSettingModule, SharedModule } from '@shared'; | ||||
| import { UserCenterComponentsDriverCaptainComponent } from './components/driver/captain/captain.component'; | ||||
| import { UserCenterComponentsDriverDetailComponent } from './components/driver/detail/detail.component'; | ||||
| import { UserCenterComponentsDriverComponent } from './components/driver/driver.component'; | ||||
| @ -40,7 +40,7 @@ const COMPONENTS = [ | ||||
| ]; | ||||
|  | ||||
| @NgModule({ | ||||
|   imports: [SharedModule, UsercenterRoutingModule], | ||||
|   imports: [SharedModule, UsercenterRoutingModule, DynamicSettingModule], | ||||
|   declarations: [...COMPONENTS] | ||||
| }) | ||||
| export class UsercenterModule {} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user