Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -20,7 +20,7 @@ module.exports = { | |||||||
|   // } |   // } | ||||||
|   '//api': { |   '//api': { | ||||||
|     target: { |     target: { | ||||||
|       host: 'tms-api-dev.eascs.com', |       host: 'tms-api-test.eascs.com', | ||||||
|       protocol: 'https:', |       protocol: 'https:', | ||||||
|       port: 443 |       port: 443 | ||||||
|     }, |     }, | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ | |||||||
|   <st #st [scroll]="{x:'1200px'}" [data]="service.$api_order_reporting_page" [columns]="columns" |   <st #st [scroll]="{x:'1200px'}" [data]="service.$api_order_reporting_page" [columns]="columns" | ||||||
|     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }" |     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }" | ||||||
|     [res]="{ reName: { list: 'data.records', total: 'data.total' } }" |     [res]="{ reName: { list: 'data.records', total: 'data.total' } }" | ||||||
|     [page]="{ show: true, showSize: true, pageSizes: [10,20, 50, 100] }" [loading]="false"> |     [page]="{ show: true, showSize: true, pageSizes: [10,20, 50, 100] }" [loading]="service.http.loading"> | ||||||
|     <ng-template st-row="orderStatus" let-item let-index="index"> |     <ng-template st-row="orderStatus" let-item let-index="index"> | ||||||
|       <a (click)="viewAuditResult(item)" *ngIf="item?.billStatus === '2'">{{item?.billStatusLabel}}</a> |       <a (click)="viewAuditResult(item)" *ngIf="item?.billStatus === '2'">{{item?.billStatusLabel}}</a> | ||||||
|       <span *ngIf="item?.billStatus !== '2'">{{item?.billStatusLabel}}</span> |       <span *ngIf="item?.billStatus !== '2'">{{item?.billStatusLabel}}</span> | ||||||
| @ -42,6 +42,13 @@ | |||||||
|     <ng-template st-row="amount" let-item let-index="index"> |     <ng-template st-row="amount" let-item let-index="index"> | ||||||
|       <div class="text-right">{{item?.amount | currency :' '}}</div> |       <div class="text-right">{{item?.amount | currency :' '}}</div> | ||||||
|     </ng-template> |     </ng-template> | ||||||
|  |  | ||||||
|  |     <ng-template st-row="car" let-item let-index="index"> | ||||||
|  |       <a (click)="viewAuditResult(item)">查看轨迹</a> | ||||||
|  |     </ng-template> | ||||||
|  |     <ng-template st-row="driver" let-item let-index="index"> | ||||||
|  |       <a (click)="viewAuditResult(item)" *ngIf="item?.billStatus === '2'">查看轨迹</a> | ||||||
|  |     </ng-template> | ||||||
|   </st> |   </st> | ||||||
| </nz-card> | </nz-card> | ||||||
| <ng-template #extraTemplate> | <ng-template #extraTemplate> | ||||||
|  | |||||||
| @ -267,7 +267,7 @@ export class DatatableOrderReportingComponent implements OnInit { | |||||||
|       { title: '订单状态', render: 'orderStatus', className: 'text-center', width: '120px', }, |       { title: '订单状态', render: 'orderStatus', className: 'text-center', width: '120px', }, | ||||||
|       { title: '司机状态', render: 'driverStatus', className: 'text-center', width: '120px', }, |       { title: '司机状态', render: 'driverStatus', className: 'text-center', width: '120px', }, | ||||||
|       { title: '车辆状态', render: 'carStatus', className: 'text-center', width: '120px', }, |       { title: '车辆状态', render: 'carStatus', className: 'text-center', width: '120px', }, | ||||||
|       { title: '本地校验66', render: 'localValid', className: 'text-center', width: '120px', }, |       { title: '本地校验', render: 'localValid', className: 'text-center', width: '120px', }, | ||||||
|       { |       { | ||||||
|         title: '订单号', |         title: '订单号', | ||||||
|         render: 'billComplianceVOS', |         render: 'billComplianceVOS', | ||||||
| @ -285,12 +285,12 @@ export class DatatableOrderReportingComponent implements OnInit { | |||||||
|       { title: '统一社会信用代码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' }, |       { title: '统一社会信用代码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' }, | ||||||
|       { title: '业务类型', index: 'dischargePlace', render: 'dischargePlace', className: 'text-center', width: '120px' }, |       { title: '业务类型', index: 'dischargePlace', render: 'dischargePlace', className: 'text-center', width: '120px' }, | ||||||
|       { title: '运单生成时间', render: 'goodsInfoVOList', className: 'text-center', width: '180px' }, |       { title: '运单生成时间', render: 'goodsInfoVOList', className: 'text-center', width: '180px' }, | ||||||
|       { title: '发货时间', render: 'driver', className: 'text-center', width: '180px' }, |       { title: '发货时间', render: 'driver2', className: 'text-center', width: '180px' }, | ||||||
|       { title: '收货时间', render: 'payeeName', className: 'text-center', width: '180px' }, |       { title: '收货时间', render: 'payeeName', className: 'text-center', width: '180px' }, | ||||||
|       { title: '托运人名称', render: 'transportInfo', className: 'text-center', width: '250px' }, |       { title: '托运人名称', render: 'transportInfo', className: 'text-center', width: '250px' }, | ||||||
|       { title: '托运人统一社会信用代码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' }, |       { title: '托运人统一社会信用代码', index: 'loadingPlace', render: 'loadingPlace', className: 'text-center', width: '200px' }, | ||||||
|       { title: '装货地址', index: 'dischargePlace', render: 'dischargePlace', className: 'text-center', width: '200px' }, |       { title: '装货地址', index: 'dischargePlace', render: 'dischargePlace', className: 'text-center', width: '200px' }, | ||||||
|       { title: '收货方名称', render: 'driver', className: 'text-center', width: '150px' }, |       { title: '收货方名称', render: 'driver1', className: 'text-center', width: '150px' }, | ||||||
|       { title: '收货地址', render: 'payeeName', className: 'text-center', width: '150px' }, |       { title: '收货地址', render: 'payeeName', className: 'text-center', width: '150px' }, | ||||||
|       { title: '运费金额', render: 'amount', className: 'text-center', width: '250px' }, |       { title: '运费金额', render: 'amount', className: 'text-center', width: '250px' }, | ||||||
|       { title: '车牌号', render: 'payeeName', className: 'text-center', width: '150px' }, |       { title: '车牌号', render: 'payeeName', className: 'text-center', width: '150px' }, | ||||||
| @ -302,8 +302,8 @@ export class DatatableOrderReportingComponent implements OnInit { | |||||||
|       { title: '实际承运人名称', render: 'payeeName', className: 'text-center', width: '150px' }, |       { title: '实际承运人名称', render: 'payeeName', className: 'text-center', width: '150px' }, | ||||||
|       { title: '实际承运人证件号码', render: 'transportInfo', className: 'text-center', width: '200px' }, |       { title: '实际承运人证件号码', render: 'transportInfo', className: 'text-center', width: '200px' }, | ||||||
|       { title: '实际承运人道路运输许可证号', render: 'payeeName', className: 'text-center', width: '150px' }, |       { title: '实际承运人道路运输许可证号', render: 'payeeName', className: 'text-center', width: '150px' }, | ||||||
|       { title: '车辆轨迹', render: 'transportInfo', className: 'text-center', width: '250px' }, |       { title: '车辆轨迹', render: 'car', className: 'text-center', width: '250px' }, | ||||||
|       { title: '司机轨迹', render: 'payeeName', className: 'text-center', width: '150px' }, |       { title: '司机轨迹', render: 'driver', className: 'text-center', width: '150px' }, | ||||||
|       { title: '上传次数', render: 'transportInfo', className: 'text-center', width: '150px' }, |       { title: '上传次数', render: 'transportInfo', className: 'text-center', width: '150px' }, | ||||||
|       { title: '上传时间', render: 'transportInfo', className: 'text-center', width: '180px' }, |       { title: '上传时间', render: 'transportInfo', className: 'text-center', width: '180px' }, | ||||||
|     ]; |     ]; | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ import { DownloadService } from '../../services/download.service'; | |||||||
|  |  | ||||||
| @Component({ | @Component({ | ||||||
|   selector: 'app-download-center-components-list', |   selector: 'app-download-center-components-list', | ||||||
|   templateUrl: './list.component.html', |   templateUrl: './list.component.html' | ||||||
| }) | }) | ||||||
| export class DownloadComponentsListComponent implements OnInit { | export class DownloadComponentsListComponent implements OnInit { | ||||||
|   ui: SFUISchema = {}; |   ui: SFUISchema = {}; | ||||||
| @ -24,7 +24,7 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|   get reqParams() { |   get reqParams() { | ||||||
|     const params = Object.assign({}, this.sf?.value || {}); |     const params = Object.assign({}, this.sf?.value || {}); | ||||||
|     delete params._$expand; |     delete params._$expand; | ||||||
|     return { ...params }; |     return { ...params, createTime: params?.createTime?.start, applyEndTime: params?.createTime?.end }; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
| @ -49,23 +49,18 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|       properties: { |       properties: { | ||||||
|         _$expand: { |         _$expand: { | ||||||
|           type: 'boolean', |           type: 'boolean', | ||||||
|           ui: { hidden: true }, |           ui: { hidden: true } | ||||||
|         }, |         }, | ||||||
|         applyStartTime: { |         createTime: { | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           title: '创建时间', |           title: '创建时间', | ||||||
|           ui: { |           ui: { | ||||||
|             widget: 'date', |             widget: 'sl-from-to', | ||||||
|             format: 'yyyy-MM-dd', |             type: 'date', | ||||||
|             end: 'applyEndTime', |             format: 'yyyy-MM-dd' | ||||||
|           } as SFDateWidgetSchema, |           } as SFDateWidgetSchema | ||||||
|         }, |         } | ||||||
|         applyEndTime: { |       } | ||||||
|           type: 'string', |  | ||||||
|           title: '', |  | ||||||
|           ui: { widget: 'date', end: 'end' } as SFDateWidgetSchema, |  | ||||||
|         }, |  | ||||||
|       }, |  | ||||||
|     }; |     }; | ||||||
|     this.ui = { '*': { spanLabelFixed: 80, grid: { span: 8, gutter: 4 } } }; |     this.ui = { '*': { spanLabelFixed: 80, grid: { span: 8, gutter: 4 } } }; | ||||||
|   } |   } | ||||||
| @ -87,8 +82,8 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|         enum: { |         enum: { | ||||||
|           0: '生成中', |           0: '生成中', | ||||||
|           1: '已完成', |           1: '已完成', | ||||||
|           2: '失败', |           2: '失败' | ||||||
|         }, |         } | ||||||
|       }, |       }, | ||||||
|       { title: '下载次数', index: 'downloadCount', width: '120px', className: 'text-center' }, |       { title: '下载次数', index: 'downloadCount', width: '120px', className: 'text-center' }, | ||||||
|       { title: '创建时间', index: 'createTime', width: '120px', className: 'text-center' }, |       { title: '创建时间', index: 'createTime', width: '120px', className: 'text-center' }, | ||||||
| @ -98,10 +93,8 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|         fixed: 'right', |         fixed: 'right', | ||||||
|         width: '170px', |         width: '170px', | ||||||
|         className: 'text-center', |         className: 'text-center', | ||||||
|         buttons: [ |         buttons: [{ text: '下载', click: _record => this.download(_record) }] | ||||||
|           { text: '下载', click: (_record) => this.download(_record)}, |       } | ||||||
|         ], |  | ||||||
|       }, |  | ||||||
|     ]; |     ]; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| @ -115,12 +108,12 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|       nzTitle: '<i>删除确认</i>', |       nzTitle: '<i>删除确认</i>', | ||||||
|       nzContent: `<b>即将删除 当前行数据,请仔细核对,避免误操作!<br>是否删除?</br>`, |       nzContent: `<b>即将删除 当前行数据,请仔细核对,避免误操作!<br>是否删除?</br>`, | ||||||
|       nzOnOk: () => |       nzOnOk: () => | ||||||
|         this.service.request(this.service.encodeUrlHeader(this.service.$api_del_many, headers), { fileKey: record.id }).subscribe((res) => { |         this.service.request(this.service.encodeUrlHeader(this.service.$api_del_many, headers), { fileKey: record.id }).subscribe(res => { | ||||||
|           if (res) { |           if (res) { | ||||||
|             this.service.msgSrv.success('数据删除成功!'); |             this.service.msgSrv.success('数据删除成功!'); | ||||||
|             this.st?.reload(); |             this.st?.reload(); | ||||||
|           } |           } | ||||||
|         }), |         }) | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
|   download(record: STData) { |   download(record: STData) { | ||||||
| @ -129,7 +122,7 @@ export class DownloadComponentsListComponent implements OnInit { | |||||||
|       this.service.encodeUrlHeader(this.service.$api_download_file, headers), |       this.service.encodeUrlHeader(this.service.$api_download_file, headers), | ||||||
|       {}, |       {}, | ||||||
|       { fileKey: record.fileUniqueKey }, |       { fileKey: record.fileUniqueKey }, | ||||||
|       'POST', |       'POST' | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ | |||||||
|         <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> |         <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> | ||||||
|             <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> |             <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> | ||||||
|             <button nz-button (click)="resetSF()">重置</button> |             <button nz-button (click)="resetSF()">重置</button> | ||||||
|             <button nz-button> 导出</button> |             <!-- <button nz-button> 导出</button> --> | ||||||
|             <button nz-button nzType="link" (click)="expandToggle()"> |             <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
|                 {{ !_$expand ? '展开' : '收起' }} |                 {{ !_$expand ? '展开' : '收起' }} | ||||||
|                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> |                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||||
|  | |||||||
| @ -99,7 +99,7 @@ | |||||||
|         <div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> |         <div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> | ||||||
|           <button nz-button nzType="primary" [nzLoading]="false" (click)="costST?.load(1)">查询</button> |           <button nz-button nzType="primary" [nzLoading]="false" (click)="costST?.load(1)">查询</button> | ||||||
|           <button nz-button (click)="resetSF(2)">重置</button> |           <button nz-button (click)="resetSF(2)">重置</button> | ||||||
|           <button nz-button> 导出</button> |           <!-- <button nz-button> 导出</button> --> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|  | |||||||
| @ -83,7 +83,7 @@ | |||||||
|             class="text-right"> |             class="text-right"> | ||||||
|             <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> |             <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> | ||||||
|             <button nz-button (click)="resetSF()">重置</button> |             <button nz-button (click)="resetSF()">重置</button> | ||||||
|             <button nz-button> 导出</button> |             <!-- <button nz-button> 导出</button> --> | ||||||
|             <button nz-button nzType="link" (click)="expandToggle()"> |             <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
|                 {{ !_$expand ? '展开' : '收起' }} |                 {{ !_$expand ? '展开' : '收起' }} | ||||||
|                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> |                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ | |||||||
|     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> |     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> | ||||||
|       <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> |       <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> | ||||||
|       <button nz-button (click)="resetSF()">重置</button> |       <button nz-button (click)="resetSF()">重置</button> | ||||||
|       <button nz-button> 导出</button> |       <!-- <button nz-button> 导出</button> --> | ||||||
|       <button nz-button nzType="link" (click)="expandToggle()"> |       <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
|         {{ !_$expand ? '展开' : '收起' }} |         {{ !_$expand ? '展开' : '收起' }} | ||||||
|         <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> |         <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||||
|  | |||||||
| @ -119,17 +119,18 @@ export class InvoiceRequestedComponent { | |||||||
|       this.service.msgSrv.warning('请选择开票申请'); |       this.service.msgSrv.warning('请选择开票申请'); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|     if (item.find(item => item.sts !== '1')) { |     // if (item.find(item => item.sts !== '1')) { | ||||||
|       this.service.msgSrv.warning('请勿选择非待处理订单'); |     //   this.service.msgSrv.warning('请勿选择非待处理订单'); | ||||||
|       return; |     //   return; | ||||||
|     } |     // } | ||||||
|     const modal = this.nzModalService.create({ |     const modal = this.nzModalService.create({ | ||||||
|       nzTitle: '修改地址', |       nzTitle: '修改地址', | ||||||
|       nzContent: UpdateAddressModalComponent, |       nzContent: UpdateAddressModalComponent, | ||||||
|       nzOkLoading: this.service.http.loading, |       nzOkLoading: this.service.http.loading, | ||||||
|       nzOnOk: component => { |       nzOnOk: component => { | ||||||
|         if (!component.sf.valid) { |         if (!component.sf.valid) { | ||||||
|           this.service.msgSrv.warning('表单校验错误'); |           component.sf.validator({ emitError: true }); | ||||||
|  |           // this.service.msgSrv.warning('表单校验错误'); | ||||||
|           return false; |           return false; | ||||||
|         } |         } | ||||||
|         this.service |         this.service | ||||||
|  | |||||||
| @ -334,7 +334,7 @@ | |||||||
|         {{ userIdentityDetail?.name }} |         {{ userIdentityDetail?.name }} | ||||||
|       </se> |       </se> | ||||||
|       <se [col]="1" label="备注" required> |       <se [col]="1" label="备注" required> | ||||||
|         <textarea nz-input rows="3" style="width: 325px;margin-left: 14px;" maxlength="120" [(ngModel)]="approvalOpinion"></textarea> |         <textarea nz-input rows="3" style="width: 325px;margin-left: 14px;" maxlength="120" [(ngModel)]="approvalOpinion" placeholder="请输入驳回原因"></textarea> | ||||||
|       </se> |       </se> | ||||||
|     </div> |     </div> | ||||||
|   </div> |   </div> | ||||||
|  | |||||||
| @ -23,7 +23,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | |||||||
|   detailData: any; |   detailData: any; | ||||||
|   userDetail: any; |   userDetail: any; | ||||||
|   contencarModel: any; |   contencarModel: any; | ||||||
|   changeSub = new Subject<string>(); |  | ||||||
|   facetext: any; |   facetext: any; | ||||||
|   faceStatus: any = 0; |   faceStatus: any = 0; | ||||||
|   userIdentityDetail: any = {}; |   userIdentityDetail: any = {}; | ||||||
| @ -76,7 +75,6 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | |||||||
|   ngOnInit() { |   ngOnInit() { | ||||||
|     this.initData(); |     this.initData(); | ||||||
|     this.initDetailByCode(); |     this.initDetailByCode(); | ||||||
|     this.changeEndKmAction() |  | ||||||
|   } |   } | ||||||
|   initData() { |   initData() { | ||||||
|     // 获取司机头部信息 |     // 获取司机头部信息 | ||||||
| @ -191,6 +189,7 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | |||||||
|       nzContent: this.redectModal, |       nzContent: this.redectModal, | ||||||
|       nzOnOk: () => { |       nzOnOk: () => { | ||||||
|         if (!this.approvalOpinion) { |         if (!this.approvalOpinion) { | ||||||
|  |           this.service.msgSrv.warning('请填写备注'); | ||||||
|           return false; |           return false; | ||||||
|         } |         } | ||||||
|         this.adjuctUser( |         this.adjuctUser( | ||||||
| @ -209,25 +208,22 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | |||||||
|  |  | ||||||
|   /** 审核通过驾驶员信息 */ |   /** 审核通过驾驶员信息 */ | ||||||
|   approveDriver() { |   approveDriver() { | ||||||
|  |      | ||||||
|     this.nzModalService.confirm({ |     this.nzModalService.confirm({ | ||||||
|       nzTitle: '审核通过', |       nzTitle: '审核通过', | ||||||
|       nzContent: `<p>驾驶证号:${this.driverDetail?.licenseNo}</p><p>从业资格证号:${this.licenseDetail?.licenseNo}</p><p>是否确认通过审核`, |       nzContent: `<p>驾驶证号:${this.driverDetail?.licenseNo}</p><p>从业资格证号:${this.licenseDetail?.licenseNo}</p><p>是否确认通过审核`, | ||||||
|       nzOnOk: () => { |       nzOnOk: () => { | ||||||
|         this.changeEndKmAction() |         this.adjuctDriverLicense( | ||||||
|  |           { | ||||||
|  |             approvalStatus: 20, | ||||||
|  |             appUserId: this.userDetail?.appUserId | ||||||
|  |           }, | ||||||
|  |           '审核成功' | ||||||
|  |         ); | ||||||
|       } |       } | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
|   changeEndKmAction() { |   | ||||||
|     this.changeSub.pipe(debounceTime(500)).subscribe((res: string) => { |  | ||||||
|       this.adjuctDriverLicense( |  | ||||||
|         { |  | ||||||
|           approvalStatus: 20, |  | ||||||
|           appUserId: this.userDetail?.appUserId |  | ||||||
|         }, |  | ||||||
|         '审核成功' |  | ||||||
|       ); |  | ||||||
|     }) |  | ||||||
|   } |  | ||||||
|   /** 驳回驾驶员信息 */ |   /** 驳回驾驶员信息 */ | ||||||
|   rejectedDriver() { |   rejectedDriver() { | ||||||
|     this.approvalOpinion = ''; |     this.approvalOpinion = ''; | ||||||
| @ -331,12 +327,18 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit { | |||||||
|         return; |         return; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (!driverDetail.licenseNo  || !driverDetail.driverModel || !driverDetail.validStartTime || !driverDetail.signingOrganization || !driverDetail.certificatePhotoWatermark) { |     if ( | ||||||
|  |       !driverDetail.licenseNo || | ||||||
|  |       !driverDetail.driverModel || | ||||||
|  |       !driverDetail.validStartTime || | ||||||
|  |       !driverDetail.signingOrganization || | ||||||
|  |       !driverDetail.certificatePhotoWatermark | ||||||
|  |     ) { | ||||||
|       this.service.msgSrv.warning('请完善驾驶证信息'); |       this.service.msgSrv.warning('请完善驾驶证信息'); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     if (!licenseDetail.licenseNo  || !licenseDetail.validStartTime || !licenseDetail.certificatePhotoWatermark) { |     if (!licenseDetail.licenseNo || !licenseDetail.validStartTime || !licenseDetail.certificatePhotoWatermark) { | ||||||
|       this.service.msgSrv.warning('请完善从业资格证信息'); |       this.service.msgSrv.warning('请完善从业资格证信息'); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user