车辆对接
This commit is contained in:
@ -175,34 +175,7 @@ export class OrderManagementTemplateComponent implements OnInit {
|
||||
this.sf.reset();
|
||||
this._$expand = false;
|
||||
}
|
||||
/*
|
||||
* 审核关闭弹窗
|
||||
view: 1
|
||||
浮动费用: 0
|
||||
查看评价: 3
|
||||
*/
|
||||
handleCancel(type: string) {
|
||||
const paramsa = {
|
||||
handleStatus: 0,
|
||||
id: this.channelId
|
||||
}
|
||||
// this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{
|
||||
// console.log(res)
|
||||
// if(res) {
|
||||
// this.service.msgSrv.success('已拒绝!')
|
||||
// this.isVisibleRE = false
|
||||
// } else{
|
||||
// this.service.msgSrv.error(res?.msg)
|
||||
// }
|
||||
// })
|
||||
}
|
||||
/**
|
||||
/**
|
||||
*查看评价
|
||||
*/
|
||||
viewEvaluate(item: any) {
|
||||
this.channelId = item.id;
|
||||
}
|
||||
|
||||
edit(value: any) {
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id],{
|
||||
queryParams: {
|
||||
@ -231,9 +204,10 @@ export class OrderManagementTemplateComponent implements OnInit {
|
||||
this.modal.confirm({
|
||||
nzTitle: '<i>删除确认</i>',
|
||||
nzOnOk: () =>
|
||||
this.service.request(this.service.$api_deletebatch_contractTemplate,value.id).subscribe(res => {
|
||||
this.service.request(this.service.$api_deletebatch_contractTemplate, [value.id]).subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('删除成功!');
|
||||
this.st.reload(1)
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user