Commit b22fcad2 by sunchao

优化

parent e816cabe
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
z-index: 1; z-index: 1;
} }
#toastContent { #toastContent {
position: fixed; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 80%; height: 80%;
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
color: #fff; color: #fff;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
position: absolute; position: relative;
bottom: 0; bottom: 0;
} }
} }
......
...@@ -168,7 +168,9 @@ export class PersonalStatementComponent implements OnInit { ...@@ -168,7 +168,9 @@ export class PersonalStatementComponent implements OnInit {
this.curTitle = contractItem.termName; this.curTitle = contractItem.termName;
this.curContractId = contractItem.id; this.curContractId = contractItem.id;
} }
this.isAllAgree = this.contractTermsList.every((item)=>{
return item.confirmStatus == 1;
});
} }
//同意合同条款 //同意合同条款
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
<div class="signatureContent"> <div class="signatureContent">
<signature-pad *ngIf="!isSignatureShow" #signaturePad [options]="signaturePadOptions" (onBeginEvent)="drawStart()" (onEndEvent)="drawComplete()"> <signature-pad *ngIf="!isSignatureShow" #signaturePad [options]="signaturePadOptions" (onBeginEvent)="drawStart()" (onEndEvent)="drawComplete()">
</signature-pad> </signature-pad>
<img [src]="this.imgStr" alt="签名" *ngIf="isSignatureShow"> <img [src]="imgStr" alt="签名" *ngIf="isSignatureShow">
</div> </div>
<div class="signature_action"> <div class="signature_action">
<img src="assets/images/clear.png" alt="清除" (click)="clearSignature();"/> <img src="assets/images/clear.png" alt="清除" (click)="clearSignature();"/>
<img src="assets/images/revoke.png" alt="上一步" (click)="revokeSignature()"/> <img src="assets/images/revoke.png" *ngIf="!isSignatureShow" alt="上一步" (click)="revokeSignature()"/>
</div> </div>
<footer class="fixed" (click)="next()"> <footer class="fixed" (click)="next()">
我自愿签订经纪人合同书 我自愿签订经纪人合同书
......
...@@ -79,6 +79,7 @@ export class SignatureComponent implements OnInit { ...@@ -79,6 +79,7 @@ export class SignatureComponent implements OnInit {
this.myService.queryWholeInfo({hiringBasicInfoId:hiringBasicInfoId}).subscribe((res)=>{ this.myService.queryWholeInfo({hiringBasicInfoId:hiringBasicInfoId}).subscribe((res)=>{
if(res['success']){ if(res['success']){
this.imgStr = res['data']['hiringBasicInfo']['personalSignOssPath']; this.imgStr = res['data']['hiringBasicInfo']['personalSignOssPath'];
console.log(this.imgStr)
this.isSignatureShow = true; this.isSignatureShow = true;
}else{ }else{
this.isSignatureShow = false; this.isSignatureShow = false;
......
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