fix bug
This commit is contained in:
@ -468,8 +468,10 @@ export class DatatableFundReportingComponent implements OnInit {
|
||||
routeToOrder(item: any) {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
} else if (item.orderType === '2') {
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
} else if (item.orderType === '3'){
|
||||
this.router.navigate(['/order-management/vehicle/vehicle-detail/' + item.orderId]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -477,9 +479,11 @@ export class DatatableFundReportingComponent implements OnInit {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.wayBillId}`);
|
||||
|
||||
} else {
|
||||
} else if (item.orderType === '2') {
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.wayBillId}`);
|
||||
|
||||
} else if (item.orderType === '3') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.wayBillId}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -599,8 +599,10 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
routeToOrder(item: any) {
|
||||
if (item.billType === '1') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
} else if (item.billType === '2') {
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
} else if (item.billType === '3') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
}
|
||||
}
|
||||
|
||||
@ -608,8 +610,10 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
if (item.billType === '1') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
} else {
|
||||
} else if (item.billType === '2') {
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.waybillId}`);
|
||||
} else if (item.billType === '3') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -281,10 +281,13 @@ export class PartnerListComponent {
|
||||
approvalStatus: {
|
||||
type: 'string',
|
||||
title: '认证审核状态',
|
||||
enum: [
|
||||
{ value: '', label: '全部' },
|
||||
{ value: 1, label: '企业' },
|
||||
{ value: 2, label: '个人' }
|
||||
],
|
||||
ui: {
|
||||
widget: 'dict-select',
|
||||
containsAllLabel: true,
|
||||
params: { dictKey: 'pay:mode' },
|
||||
widget: 'select',
|
||||
placeholder: '请选择',
|
||||
visibleIf: {
|
||||
expand: (value: boolean) => value
|
||||
@ -350,7 +353,7 @@ export class PartnerListComponent {
|
||||
title: '合伙人状态',
|
||||
enum: [
|
||||
{ value: '', label: '全部' },
|
||||
{ value: 0, label: '启用' },
|
||||
{ value: 0, label: '正常' },
|
||||
{ value: 1, label: '冻结' }
|
||||
],
|
||||
ui: {
|
||||
|
||||
Reference in New Issue
Block a user