fix bug
This commit is contained in:
@ -569,12 +569,14 @@ export class AddEtpPartnerComponent {
|
||||
cityCodesList: {
|
||||
type: 'string',
|
||||
title: '所属城市',
|
||||
maxMultipleCount: 3,
|
||||
ui: {
|
||||
widget: 'tree-select',
|
||||
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
||||
placeholder: '请选择城市(最多3个)',
|
||||
checkable: true,
|
||||
class: 'city-tree-select',
|
||||
maxMultipleCount: 3,
|
||||
asyncData: () =>
|
||||
this.getRegionDetailByCode('').pipe(
|
||||
map((res: any) =>
|
||||
|
||||
@ -299,9 +299,12 @@ export class AddPersonalPartnerComponent {
|
||||
_addressTitle: { title: '', type: 'string', ui: { widget: 'custom' } },
|
||||
cityCodesList: {
|
||||
type: 'string',
|
||||
title: '所属城市',
|
||||
title: '所属城市7',
|
||||
maxMultipleCount: 3,
|
||||
ui: {
|
||||
widget: 'tree-select',
|
||||
maxMultipleCount: 3,
|
||||
maxTagCount: 3,
|
||||
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
||||
placeholder: '请选择城市(最多3个)',
|
||||
checkable: true,
|
||||
|
||||
@ -3,7 +3,7 @@ import { SFComponent, SFRadioWidgetSchema, SFSchema, SFUISchema } from '@delon/f
|
||||
import { ShipperBaseService } from '@shared';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter.service';
|
||||
import { NzModalRef } from 'ng-zorro-antd/modal';
|
||||
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
||||
|
||||
@Component({
|
||||
selector: 'app-ad-components-partner',
|
||||
@ -23,7 +23,8 @@ export class EditPartnerComponentsAddComponent implements OnInit {
|
||||
public msgSrv: NzMessageService,
|
||||
public service: UsermanageService,
|
||||
private modal: NzModalRef,
|
||||
public shipperservice: ShipperBaseService
|
||||
public shipperservice: ShipperBaseService,
|
||||
public nzModalService: NzModalService
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
@ -139,7 +140,9 @@ export class EditPartnerComponentsAddComponent implements OnInit {
|
||||
enterpriceIds: enterId,
|
||||
settStartTime: this.sf?.value?.settStartTime + ' 00:00:00'
|
||||
};
|
||||
|
||||
this.nzModalService.warning({
|
||||
nzTitle: '确定提交吗?',
|
||||
nzOnOk: () => {
|
||||
this.service.request(this.service.$api_batchUpdateEnterpricePartner, params).subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('修改成功');
|
||||
@ -147,4 +150,7 @@ export class EditPartnerComponentsAddComponent implements OnInit {
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user