车辆对接
This commit is contained in:
@ -233,13 +233,15 @@ export class VehicleComponentsAuditDetailComponent implements OnInit {
|
||||
return value;
|
||||
}
|
||||
viewEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleImgViewComponent, { i: item } ).subscribe(() => {
|
||||
this.modal.createStatic(VehicleImgViewComponent, { i: item } ).subscribe((i) => {
|
||||
this.st.reload();
|
||||
this.getDetailList()
|
||||
});
|
||||
}
|
||||
updateEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleComponentsListEditComponent, { i: item }).subscribe(() => {
|
||||
this.modal.createStatic(VehicleComponentsListEditComponent, { i: item }).subscribe((i) => {
|
||||
this.st.reload();
|
||||
this.getDetailList()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -200,6 +200,7 @@ export class VehicleComponentsListDetailComponent implements OnInit {
|
||||
viewEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleImgViewComponent, { i: item } ).subscribe(() => {
|
||||
this.st.reload();
|
||||
this.getDetailList();
|
||||
});
|
||||
}
|
||||
/**
|
||||
@ -208,6 +209,7 @@ export class VehicleComponentsListDetailComponent implements OnInit {
|
||||
updateEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleComponentsListEditComponent, { i: item }).subscribe(() => {
|
||||
this.st.reload();
|
||||
this.getDetailList();
|
||||
});
|
||||
}
|
||||
handleOK() {
|
||||
|
||||
@ -116,7 +116,7 @@ export class VehicleComponentsListEditComponent implements OnInit {
|
||||
}
|
||||
this.service.request(this.service.$api_get_upLoadCarProtocal, params).subscribe((res) => {
|
||||
if(res) {
|
||||
this.modal.destroy();
|
||||
this.modal.destroy(true);
|
||||
this.service.msgSrv.success('上传协议成功!')
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-07 17:30:18
|
||||
* @LastEditTime: 2021-12-16 15:31:13
|
||||
* @LastEditTime: 2022-01-13 11:27:12
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\vehicle\components\list\img-view\img-view.component.ts
|
||||
@ -27,7 +27,7 @@ export class VehicleImgViewComponent implements OnInit {
|
||||
}
|
||||
|
||||
cancel() {
|
||||
this.modal.destroy();
|
||||
this.modal.destroy(true);
|
||||
}
|
||||
// 驳回
|
||||
reject() {
|
||||
@ -37,7 +37,7 @@ export class VehicleImgViewComponent implements OnInit {
|
||||
}
|
||||
this.service.request(this.service.$api_get_auditCarProtocal_audit, params).subscribe((res) => {
|
||||
if(res) {
|
||||
this.modal.destroy();
|
||||
this.modal.destroy(true);
|
||||
this.service.msgSrv.success('已驳回')
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg)
|
||||
@ -52,7 +52,7 @@ export class VehicleImgViewComponent implements OnInit {
|
||||
}
|
||||
this.service.request(this.service.$api_get_auditCarProtocal_audit, params).subscribe((res) => {
|
||||
if(res) {
|
||||
this.modal.destroy();
|
||||
this.modal.destroy(true);
|
||||
this.service.msgSrv.success('已通过')
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg)
|
||||
|
||||
Reference in New Issue
Block a user