Commit fdf65cef by sunchao

审批结果页面试意见展开收缩

parent 036ec5f3
...@@ -24,8 +24,17 @@ ...@@ -24,8 +24,17 @@
{{recordsItem.hiringAt?recordsItem.hiringAt.substr(0,10):null}} {{recordsItem.hiringAt?recordsItem.hiringAt.substr(0,10):null}}
</span> </span>
</div> </div>
<div style="background: #fafafa;border-radius: 5px;padding: 10px;" <div style="background: #fafafa;border-radius: 5px;padding: 10px;position: relative;"
*ngIf="recordsItem.interviewAssessment"> *ngIf="recordsItem.interviewAssessment && recordsItem.interviewAssessment.length < 30">
{{recordsItem.interviewAssessment.substr(0,recordsItem.interviewAssessment.length)}}
</div>
<div style="background: #fafafa;border-radius: 5px;padding: 10px;position: relative;" (click)="open(recordsItem)"
*ngIf="recordsItem.interviewAssessment && recordsItem.interviewAssessment.length > 30 && !recordsItem.actived">
{{recordsItem.interviewAssessment.substr(0,30)}}
<span class="icon-ar-r iconfont" style="position: absolute;right: 15px;bottom: 5px;"></span>
</div>
<div style="background: #fafafa;border-radius: 5px;padding: 10px;position: relative;" (click)="open(recordsItem)"
*ngIf="recordsItem.interviewAssessment && recordsItem.interviewAssessment.length >30 && recordsItem.actived">
{{recordsItem.interviewAssessment}} {{recordsItem.interviewAssessment}}
</div> </div>
</div> </div>
......
...@@ -74,6 +74,9 @@ export class ApprovalResultListComponent implements OnInit { ...@@ -74,6 +74,9 @@ export class ApprovalResultListComponent implements OnInit {
this.isShow = true; this.isShow = true;
this.remark = remark; this.remark = remark;
} }
}
open(item){
item.actived = !item.actived;
} }
} }
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