fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2022-01-12 10:52:50 |  * @Date         : 2022-01-12 10:52:50 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-02-22 17:47:08 |  * @LastEditTime : 2022-02-28 13:59:36 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
| @ -95,7 +95,7 @@ | |||||||
|         <div> |         <div> | ||||||
|           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> |           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> | ||||||
|           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> |           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> | ||||||
|           <span>{{ item?.goodsNumber ? item?.goodsNumber + '吨' : '' }}</span> |           <span>{{ item?.goodsNumber ? item?.goodsNumber + '件' : '' }}</span> | ||||||
|         </div> |         </div> | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> |       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2022-01-12 10:52:50 |  * @Date         : 2022-01-12 10:52:50 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-02-22 17:47:23 |  * @LastEditTime : 2022-02-28 13:59:54 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
| @ -80,7 +80,7 @@ | |||||||
|         <div> |         <div> | ||||||
|           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> |           <span>{{ item?.weight ? item?.weight + '吨/' : '' }}</span> | ||||||
|           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> |           <span>{{ item?.volume ? item?.volume + '方/' : '' }}</span> | ||||||
|           <span>{{ item?.goodsNumber ? item?.goodsNumber + '吨' : '' }}</span> |           <span>{{ item?.goodsNumber ? item?.goodsNumber + '件' : '' }}</span> | ||||||
|         </div> |         </div> | ||||||
|       </ng-template> |       </ng-template> | ||||||
|       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> |       <ng-template st-row="mybidDetailInfo" let-item let-index="index"> | ||||||
|  | |||||||
| @ -44,6 +44,9 @@ | |||||||
|     <ng-template st-row="promotersTelephone" let-item let-index="index"> |     <ng-template st-row="promotersTelephone" let-item let-index="index"> | ||||||
|       <a (click)="addPromoter(item)"  acl  [acl-ability]="['USERCENTER-DRIVER-LIST-promoter']">{{ item.promotersTelephone || '添加' }}</a> |       <a (click)="addPromoter(item)"  acl  [acl-ability]="['USERCENTER-DRIVER-LIST-promoter']">{{ item.promotersTelephone || '添加' }}</a> | ||||||
|     </ng-template> |     </ng-template> | ||||||
|  |     <ng-template st-row="carNo" let-item let-index="index"> | ||||||
|  |       <a (click)="addPromoter(item)" >{{ item.carNo  }}</a> | ||||||
|  |     </ng-template> | ||||||
|   </st> |   </st> | ||||||
| </nz-card> | </nz-card> | ||||||
|  |  | ||||||
|  | |||||||
| @ -258,7 +258,7 @@ export class UserCenterComponentsDriverComponent implements OnInit { | |||||||
|       { title: '司机姓名', className: 'text-center', index: 'name' , width: 150}, |       { title: '司机姓名', className: 'text-center', index: 'name' , width: 150}, | ||||||
|       { title: '手机号', className: 'text-center', index: 'mobile',width: 150  }, |       { title: '手机号', className: 'text-center', index: 'mobile',width: 150  }, | ||||||
|       { title: '身份证号码', className: 'text-center', index: 'identityNo', width: 200 }, |       { title: '身份证号码', className: 'text-center', index: 'identityNo', width: 200 }, | ||||||
|       { title: '当前车辆', className: 'text-center', index: 'carNo' , width: 200}, |       { title: '当前车辆', className: 'text-center', render: 'carNo' , width: 200}, | ||||||
|       { title: '驾驶证审核人', className: 'text-center', index: 'approvalUserName' , width: 200}, |       { title: '驾驶证审核人', className: 'text-center', index: 'approvalUserName' , width: 200}, | ||||||
|       { title: '审核时间', className: 'text-center', index: 'approvalTime' , width: 200}, |       { title: '审核时间', className: 'text-center', index: 'approvalTime' , width: 200}, | ||||||
|       { |       { | ||||||
| @ -333,4 +333,7 @@ export class UserCenterComponentsDriverComponent implements OnInit { | |||||||
|       } |       } | ||||||
|     ]; |     ]; | ||||||
|   } |   } | ||||||
|  |   viewCar(item: any) { | ||||||
|  |     this.router.navigate(['/vehicle/list/detail/' + item.id], { queryParams: { carId: item.carId } }); | ||||||
|  |   } | ||||||
| } | } | ||||||
|  | |||||||
| @ -253,7 +253,7 @@ export class VehicleComponentsListComponent implements OnInit { | |||||||
|             text: '查看', |             text: '查看', | ||||||
|             acl: { ability: ['VEHICLE-LIST-view'] }, |             acl: { ability: ['VEHICLE-LIST-view'] }, | ||||||
|             click: item => { |             click: item => { | ||||||
|               this.router.navigate(['/vehicle/list/detail/' + item.id], { queryParams: { carId: item.carId } }); |               this.router.navigate(['/vehicle/list/detail/' + item.id] ); | ||||||
|               // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); |               // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user