Commit dccc7b9b by sunchao

合同同意bug修复

parent 671b9ef2
......@@ -95,7 +95,7 @@
position: fixed;
bottom: 0;
width: 100%;
height: 80%;
height: 70%;
left: 0;
right: 0;
margin: 0 auto;
......
......@@ -170,6 +170,7 @@ export class PersonalStatementComponent implements OnInit {
readContract(contractItem){
if(!this.approvalIdentity && this.approveStatus==null){
this.agreeBtnShow = false;
if( contractItem.confirmStatus ==1){
contractItem.confirmStatus = 0;
}else{
......@@ -187,7 +188,7 @@ export class PersonalStatementComponent implements OnInit {
//同意合同条款
agree() {
this.agreeBtnShow = false;
if(this.agreeBtnShow == true){
this.isShow = false;
for(let i=0;i<this.contractTermsList.length;i++){
if(this.curContractId == this.contractTermsList[i]['id']){
......@@ -197,6 +198,8 @@ export class PersonalStatementComponent implements OnInit {
this.isAllAgree = this.contractTermsList.every((item)=>{
return item.confirmStatus == 1;
})
}
}
saveContractTermsConfirms(){
......
......@@ -51,11 +51,10 @@ export class ApprovalCommentsComponent implements OnInit {
this.myService.hiringApprove(param).subscribe((res)=>{
this.openPopInfo(res['message']);
setTimeout(() => {
this.router.navigate(['/approval_result_list'],{ queryParams: { hiringBasicInfoId:this.hiringBasicInfoId,approvalIdentity:this.approvalIdentity} });
}, 3000);
})
}
// 打开弹窗
openPopInfo(message) {
this.isNeedAlert = true;
......
......@@ -210,7 +210,7 @@ footer.fixed{
}
.contract h1,.contract h2{
font-size: 14px;
font-size: 15px;
font-weight: normal;
}
@keyframes slowUp {
......
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