车辆对接
This commit is contained in:
@ -124,11 +124,11 @@ export class OrderManagementTemplateComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '编辑',
|
||||
click: (_record) => this.view(_record),
|
||||
click: (_record) => this.edit(_record),
|
||||
},
|
||||
{
|
||||
text: '删除',
|
||||
click: (_record) => this.view(_record),
|
||||
click: (_record) => this.delete(_record),
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -203,10 +203,40 @@ export class OrderManagementTemplateComponent implements OnInit {
|
||||
viewEvaluate(item: any) {
|
||||
this.channelId = item.id;
|
||||
}
|
||||
view(value: any) {
|
||||
this.router.navigate(['/order-management/complaint-detail/' + value.id])
|
||||
edit(value: any) {
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id],{
|
||||
queryParams: {
|
||||
status: 2
|
||||
}
|
||||
})
|
||||
}
|
||||
creatTemplate() {
|
||||
|
||||
this.router.navigate(['/contract-management/template/detail/' + 0], {
|
||||
queryParams: {
|
||||
status: 1
|
||||
}
|
||||
})
|
||||
}
|
||||
goBack() {
|
||||
window.history.go(-1)
|
||||
}
|
||||
view(value: any) {
|
||||
this.router.navigate(['/contract-management/template/detail/' + value.id],{
|
||||
queryParams: {
|
||||
status: 3
|
||||
}
|
||||
})
|
||||
}
|
||||
delete(value: any) {
|
||||
this.modal.confirm({
|
||||
nzTitle: '<i>删除确认</i>',
|
||||
nzOnOk: () =>
|
||||
// this.service.delMany(ids).subscribe(res => {
|
||||
// if (res === true) {
|
||||
// this.service.msgSrv.success('删除成功!');
|
||||
// }
|
||||
// })
|
||||
console.log(value)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user