Commit 2ec12447 by sunchao

组织架构相关调整&产品描述

parent 313e2db8
......@@ -13,6 +13,7 @@
</div>
</div>
<div style="width: calc(100% + 30px); height: 8px;background: #f6f6f6;margin-left: -15px;"></div>
<div class="productDataContent">
<h3>产品资料</h3>
<div>
......@@ -26,4 +27,11 @@
</ul>
</div>
</div>
<div style="width: calc(100% + 30px); height: 8px;background: #f6f6f6;margin-left: -15px;"></div>
<div>
<h3>卖点描述</h3>
<div [innerHTML]="sellingPointDescList[0]['fileDescription'] | safeHtml" *ngIf="sellingPointDescList?.length"></div>
<div *ngIf="!sellingPointDescList?.length">该产品暂无卖点描述!</div>
</div>
</div>
......@@ -14,6 +14,7 @@ export class ProductDataComponent implements OnInit {
planId:any;
posterUrl:any;
posterInfo:any;
sellingPointDescList:Array<any>;
constructor(private router: Router,private myService:MyService,private activatedRoute: ActivatedRoute,private _toast: ToastService) {
}
......@@ -35,6 +36,7 @@ export class ProductDataComponent implements OnInit {
if(this.posterInfo[0] && this.posterInfo[0]['fileInfos']){
this.posterUrl = this.posterInfo[0]['fileInfos']['0']['ossFilePath'];
}
this.sellingPointDescList = res['data']['sellingPointDescList'];
}else{
const toast = ToastService.show(`${res['message']}`, 0);
setTimeout(() => {
......
......@@ -174,7 +174,7 @@
[disabled]="approveStatus!=null && approveStatus!=-1" >
<option [value]=null>请选择</option>
<option [value]="branchItem.insurerBranchId" *ngFor="let branchItem of branchList">
{{branchItem.branchName}}
{{branchItem.name}}
</option>
</select>
</div>
......
......@@ -702,7 +702,10 @@ export class RecruitingDetailComponent implements OnInit {
organizationQuery(){
this.myService.organizationQuery({insurerId: 888}).subscribe((res)=>{
if(res['success']){
this.branchList = res['data']['insurerInfoList'][0]['insurerBranchInfoList'];
const reponse = res['data']['insurerInfoList']
this.branchList = reponse[0]['insurerBranchInfoList'].filter((item)=>{
return item.systemFlag == 1;
});
}
})
}
......
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