|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: sueRimn |
|
|
|
|
* @Date: 2020-12-25 16:13:50 |
|
|
|
|
* @LastEditors: sueRimn |
|
|
|
|
* @LastEditTime: 2021-03-17 14:08:07 |
|
|
|
|
* @LastEditTime: 2021-03-17 15:52:08 |
|
|
|
|
*/ |
|
|
|
|
import { Component, Inject, OnInit } from '@angular/core'; |
|
|
|
|
import { FormControl } from '@angular/forms'; |
|
|
|
@ -670,6 +670,7 @@ export class remark{
|
|
|
|
|
itemId:this.shenheTable[0].itemId, |
|
|
|
|
verifyState:5, |
|
|
|
|
contentType:11, |
|
|
|
|
remark:this.remark, |
|
|
|
|
title:this.shenheTable[0].title+'基本信息' |
|
|
|
|
} |
|
|
|
|
this.http.put(`/api/ContentVerifies`,body).subscribe(data=>{ |
|
|
|
@ -683,6 +684,7 @@ export class remark{
|
|
|
|
|
itemId:this.shenheTable[0].itemId, |
|
|
|
|
verifyState:5, |
|
|
|
|
contentType:this.shenheTable[0].contentType, |
|
|
|
|
remark:this.remark, |
|
|
|
|
title:this.shenheTable[0].title |
|
|
|
|
} |
|
|
|
|
this.http.put(`/api/ContentVerifies`,body).subscribe(data=>{ |
|
|
|
@ -692,12 +694,20 @@ export class remark{
|
|
|
|
|
}else{ |
|
|
|
|
//预案审核拒绝
|
|
|
|
|
if(this.shenheTable[0].verifyState==0){ |
|
|
|
|
this.http.put(`/api/PlanAudits/${this.shenheTable[0].itemId}/First`,{auditStatus:32}).subscribe(data=>{ |
|
|
|
|
let refbody={ |
|
|
|
|
auditOpinion:this.remark, |
|
|
|
|
auditStatus:32 |
|
|
|
|
} |
|
|
|
|
this.http.put(`/api/PlanAudits/${this.shenheTable[0].itemId}/First`,refbody).subscribe(data=>{ |
|
|
|
|
this.snackBar.open('操作成功!','确定',config); |
|
|
|
|
this.dialogRef.close() |
|
|
|
|
}) |
|
|
|
|
}else if(this.shenheTable[0].verifyState==3){ |
|
|
|
|
this.http.put(`/api/PlanAudits/${this.radioid}`,{auditStatus:4}).subscribe(data=>{ |
|
|
|
|
let refbody={ |
|
|
|
|
auditOpinion:this.remark, |
|
|
|
|
auditStatus:4 |
|
|
|
|
} |
|
|
|
|
this.http.put(`/api/PlanAudits/${this.radioid}`,refbody).subscribe(data=>{ |
|
|
|
|
this.snackBar.open('操作成功!','确定',config); |
|
|
|
|
this.dialogRef.close() |
|
|
|
|
}) |
|
|
|
@ -713,6 +723,7 @@ export class remark{
|
|
|
|
|
var bodyre={ |
|
|
|
|
id:this.shenheTable[i].id, |
|
|
|
|
itemId:this.shenheTable[i].itemId, |
|
|
|
|
remark:this.remark, |
|
|
|
|
verifyState:5 |
|
|
|
|
} |
|
|
|
|
this.companyrefuseList.push(bodyre) |
|
|
|
@ -726,7 +737,7 @@ export class remark{
|
|
|
|
|
var carts={ |
|
|
|
|
planComponentId:this.shenheTable[i].itemId, |
|
|
|
|
auditStatus:this.shenheTable[i].verifyState==3?4:32, |
|
|
|
|
auditOpinion:'' |
|
|
|
|
auditOpinion:this.remark |
|
|
|
|
} |
|
|
|
|
this.refuseList.push(carts) |
|
|
|
|
} |
|
|
|
|