This commit is contained in:
wangshiming
2022-03-22 10:05:39 +08:00
parent 73eb480138
commit 6ba71ef342
2 changed files with 6 additions and 2 deletions

View File

@ -70,6 +70,7 @@ export class FreightConfigComponent implements OnInit {
nzWidth: 900, nzWidth: 900,
nzComponentParams: { nzComponentParams: {
extendType: '2', extendType: '2',
spareBusinessId: item.networkTransporter,
businessId: item.id, businessId: item.id,
formatTypeList: (item: any[]) => [ formatTypeList: (item: any[]) => [
...item, ...item,

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-10 16:06:17 * @Date : 2022-01-10 16:06:17
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-02-17 13:28:39 * @LastEditTime : 2022-03-22 10:05:15
* @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-modal\\dynamic-setting-modal.component.ts * @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-modal\\dynamic-setting-modal.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -34,6 +34,8 @@ export class DynamicSettingModalComponent implements OnInit {
@Input() @Input()
extendType!: string; extendType!: string;
@Input() @Input()
spareBusinessId!: string;
@Input()
businessId!: string; businessId!: string;
@Input() @Input()
configvalue!: string; configvalue!: string;
@ -54,7 +56,8 @@ export class DynamicSettingModalComponent implements OnInit {
.request('/api/mdc/pbc/sysConfigItemExtend/getSysConfigExtend', { .request('/api/mdc/pbc/sysConfigItemExtend/getSysConfigExtend', {
configFullKey: this.configFullKey, configFullKey: this.configFullKey,
extendType: this.extendType, extendType: this.extendType,
businessId: this.businessId businessId: this.businessId,
spareBusinessId: this.spareBusinessId,
}) })
.pipe( .pipe(
map((res: Array<any>) => { map((res: Array<any>) => {