Commit b22fcad2 by sunchao

优化

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