merge partner

This commit is contained in:
Taric Xin
2022-03-23 14:24:21 +08:00
226 changed files with 15751 additions and 993 deletions

View File

@ -64,7 +64,7 @@ export class insuranceManagementListComponent implements OnInit {
public shipperservice: ShipperBaseService,
private router: Router,
private modale: ModalHelper,
) {}
) { }
/**
* 查询参数
@ -176,7 +176,7 @@ export class insuranceManagementListComponent implements OnInit {
ui: {
widget: 'dict-select',
params: { dictKey: 'insure:type' },
containsAllLable: true,
containsAllLabel: true,
visibleIf: {
_$expand: (value: boolean) => value
}
@ -239,7 +239,7 @@ export class insuranceManagementListComponent implements OnInit {
},
} as SFSelectWidgetSchema
},
driverName: {
title: '承运司机',
type: 'string',
@ -264,7 +264,7 @@ export class insuranceManagementListComponent implements OnInit {
ui: {
widget: 'dict-select',
params: { dictKey: 'insure:status' },
containsAllLable: true,
containsAllLabel: true,
visibleIf: {
_$expand: (value: boolean) => value
}
@ -334,33 +334,33 @@ export class insuranceManagementListComponent implements OnInit {
}
} as SFDateWidgetSchema
},
},
type: 'object'
};
this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 } } };
}
// 获取城市列表
getRegionCode(regionCode: any) {
console.log(regionCode);
return this.service
.request(this.service.$api_get_enterprise_project, { id: regionCode })
.pipe(
map(res =>
res.map((item: any) => ({
label: item.projectName,
value: item.id
}))
)
// 获取城市列表
getRegionCode(regionCode: any) {
console.log(regionCode);
return this.service
.request(this.service.$api_get_enterprise_project, { id: regionCode })
.pipe(
map(res =>
res.map((item: any) => ({
label: item.projectName,
value: item.id
}))
)
.subscribe(res => {
this.sf.getProperty('/enterpriseProjectId')!.schema.enum = res;
this.sf.getProperty('/enterpriseProjectId')!.widget.reset(res);
// if (this.enterpriseProjectIds) {
// this.sf1.setValue('/enterpriseProjectId', this.enterpriseProjectIds);
// }
});
}
)
.subscribe(res => {
this.sf.getProperty('/enterpriseProjectId')!.schema.enum = res;
this.sf.getProperty('/enterpriseProjectId')!.widget.reset(res);
// if (this.enterpriseProjectIds) {
// this.sf1.setValue('/enterpriseProjectId', this.enterpriseProjectIds);
// }
});
}
/**
* 初始化数据列表
*/
@ -517,7 +517,7 @@ export class insuranceManagementListComponent implements OnInit {
this._$expand = !this._$expand;
this.sf?.setValue('/_$expand', this._$expand);
}
tabChange(item: any) {}
tabChange(item: any) { }
/**
* 重置表单
*/
@ -557,8 +557,8 @@ export class insuranceManagementListComponent implements OnInit {
}
});
}
// 保险配置
changeOrder() {
this.router.navigate(['/insurance-management/list-set', 1]);
}
// 保险配置
changeOrder() {
this.router.navigate(['/insurance-management/list-set', 1]);
}
}

View File

@ -30,7 +30,7 @@ export class InsuranceManagementService extends ShipperBaseService {
// 退保费
$api_get_addINPBillRefundApplication = `/billRefundApplication/addINPBillRefundApplication`;
constructor(public injector: Injector, public eaCacheSrv: EACacheService) {
super(injector, eaCacheSrv);
constructor(public injector: Injector) {
super(injector);
}
}