Commit 671b9ef2 by sunchao

合同申明10秒后能点同意的bug修复

parent e981b94c
...@@ -187,7 +187,7 @@ export class PersonalStatementComponent implements OnInit { ...@@ -187,7 +187,7 @@ export class PersonalStatementComponent implements OnInit {
//同意合同条款 //同意合同条款
agree() { agree() {
if(this.agreeBtnShow == true){ this.agreeBtnShow = false;
this.isShow = false; this.isShow = false;
for(let i=0;i<this.contractTermsList.length;i++){ for(let i=0;i<this.contractTermsList.length;i++){
if(this.curContractId == this.contractTermsList[i]['id']){ if(this.curContractId == this.contractTermsList[i]['id']){
...@@ -197,8 +197,6 @@ export class PersonalStatementComponent implements OnInit { ...@@ -197,8 +197,6 @@ export class PersonalStatementComponent implements OnInit {
this.isAllAgree = this.contractTermsList.every((item)=>{ this.isAllAgree = this.contractTermsList.every((item)=>{
return item.confirmStatus == 1; return item.confirmStatus == 1;
}) })
}
} }
saveContractTermsConfirms(){ saveContractTermsConfirms(){
......
...@@ -50,6 +50,9 @@ export class ApprovalCommentsComponent implements OnInit { ...@@ -50,6 +50,9 @@ export class ApprovalCommentsComponent implements OnInit {
} }
this.myService.hiringApprove(param).subscribe((res)=>{ this.myService.hiringApprove(param).subscribe((res)=>{
this.openPopInfo(res['message']); this.openPopInfo(res['message']);
setTimeout(() => {
}, 3000);
}) })
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<img class="status" *ngIf="recordsItem.approvingStatusId ==0" <img class="status" *ngIf="recordsItem.approvingStatusId ==0"
src="assets/images/refuse.png"/> src="assets/images/refuse.png"/>
<div class="line" *ngIf="recordsItem.approvingStatusId ==1"></div> <div class="line" *ngIf="recordsItem.approvingStatusId ==1"></div>
<hr *ngIf="recordsItem.approvingStatusId !=0" style="width: 1px;height: 100%;margin: 0 auto;border-right:4px dashed #dcdcdc;"/> <hr *ngIf="recordsItem.approvingStatusId !=1" style="width: 1px;height: 100%;margin: 0 auto;border-right:4px dashed #dcdcdc;"/>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment