车辆接口更新
This commit is contained in:
@ -153,7 +153,7 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
nzClosable: false,
|
nzClosable: false,
|
||||||
nzCancelText: '取消',
|
nzCancelText: '取消',
|
||||||
nzOnOk: () => {
|
nzOnOk: () => {
|
||||||
this.service.request(this.service.$api_deletebatchButton, [item.id]).subscribe(res => {
|
this.service.request(this.service.$api_settlementCustomer_deletebatch, [item.id]).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('删除成功!');
|
this.service.msgSrv.success('删除成功!');
|
||||||
this.st.reload(1)
|
this.st.reload(1)
|
||||||
|
|||||||
@ -41,6 +41,10 @@ export class CloseAccountComponent implements OnInit {
|
|||||||
text: '编辑',
|
text: '编辑',
|
||||||
click: item => this.roleAction(item, 2)
|
click: item => this.roleAction(item, 2)
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: '删除',
|
||||||
|
click: item => this.deleteAction(item)
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -106,6 +110,7 @@ export class CloseAccountComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
|
allowClear: true,
|
||||||
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
|
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -195,7 +200,14 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
nzTitle: '确认删除?',
|
nzTitle: '确认删除?',
|
||||||
nzClosable: false,
|
nzClosable: false,
|
||||||
nzCancelText: '取消',
|
nzCancelText: '取消',
|
||||||
nzOnOk: () => {}
|
nzOnOk: () => {
|
||||||
|
this.service.request(this.service.$api_deletebatchButton, [item.id]).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.service.msgSrv.success('删除成功!');
|
||||||
|
this.st.reload(1)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -36,6 +36,10 @@ export class CrmManagementComponent implements OnInit {
|
|||||||
text: '编辑',
|
text: '编辑',
|
||||||
click: item => this.roleAction(item, 2)
|
click: item => this.roleAction(item, 2)
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: '删除',
|
||||||
|
click: item => this.deleteAction(item)
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -151,7 +155,14 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
nzTitle: '确认删除?',
|
nzTitle: '确认删除?',
|
||||||
nzClosable: false,
|
nzClosable: false,
|
||||||
nzCancelText: '取消',
|
nzCancelText: '取消',
|
||||||
nzOnOk: () => {}
|
nzOnOk: () => {
|
||||||
|
this.service.request(this.service.$api_deletebatch_crmCustomer, [item.id]).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.service.msgSrv.success('删除成功!');
|
||||||
|
this.st.reload(1)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user