<apex:page controller="CampaignBTPDFController" showHeader="false" renderAs="pdf" sidebar="false" action="{!init}" applyHtmlTag="false">
|
<html>
|
<head>
|
<style>
|
@page {
|
size: A4 portrait;
|
margin: 5mm 12mm 5mm 12mm;
|
/* @bottom-center {
|
content: counter(page) " / " counter(pages);
|
}*/
|
}
|
table {border-collapse: separate; border-color: black;}
|
/* td {padding: 0px 0px 0px 0px;} */
|
/*td.title {text-align: center; font-weight: bold; background-color: #BDBDBD;}*/
|
/*SWAG-BHW3Y9 update by vivek 20200108 start*/
|
/*td.middle {text-align: left; font-weight: bold; border-color: black;}
|
td.label {padding-right: 10px; border-color: black; text-align: right;}*/
|
.middle {text-align: left; font-weight: bold; border-color: black;}
|
.label {padding-right: 10px; border-color: black; text-align: right;}
|
/*SWAG-BHW3Y9 update by vivek 20200108 end*/
|
</style>
|
</head>
|
<body style="font-family: Arial Unicode MS;" >
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<table width="650" align="center" cellspacing="0">
|
<tr>
|
<td>
|
<table width="650" border="0">
|
<tr>
|
<td colspan="4" style="text-align: center; font-size: 16pt; font-weight: bold;">会议报告</td>
|
</tr>
|
<tr><td colspan="4" height="40px"></td></tr>
|
<tr>
|
<td class="label">编制日期:</td>
|
<td class="middle"><apex:outputText value="{0, date, yyyy年MM月dd日}">
|
<apex:param value="{!campaignRecords.cn.createddate}" />
|
</apex:outputText></td>
|
<td class="label">报告书状态:</td>
|
<td class="middle">{!campaignRecords.cn.report_Status__c}</td>
|
</tr>
|
<tr>
|
<td class="label">报告部门:</td>
|
<td class="middle">{!campaignRecords.cn.Owner.Category5__c} {!campaignRecords.cn.Owner.Category6__c}</td>
|
<td class="label">报告者:</td>
|
<td class="middle">{!campaignRecords.cn.OwnerName__c}</td>
|
</tr>
|
<tr><td colspan="4" height="20px"></td></tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td>
|
<table width="650" border="1" cellspacing="0" style="table-layout: fixed;">
|
<tr>
|
<td class="label" width= "100">活动名称:</td>
|
<td class="middle" width= "550">
|
<c:PDFWbr targetStr="{!campaignRecords.cn.Name2__c}"/>
|
</td>
|
</tr>
|
<tr>
|
<td class="label">召开时间:</td>
|
<td class="middle">
|
<apex:outputText value="{0, date, yyyy年MM月dd日}">
|
<apex:param value="{!campaignRecords.cn.StartDate}" />
|
</apex:outputText> 至
|
<apex:outputText value="{0, date, yyyy年MM月dd日}">
|
<apex:param value="{!campaignRecords.cn.EndDate}" />
|
</apex:outputText>
|
</td>
|
</tr>
|
<tr>
|
<td class="label">会议地点:</td>
|
<td class="middle">
|
<apex:outputField value="{!campaignRecords.cn.State_Master__r.Name}"/>
|
<apex:outputField value="{!campaignRecords.cn.City_Master__r.Name}"/>
|
<apex:outputField value="{!campaignRecords.cn.Town__c}"/>
|
<apex:outputField value="{!campaignRecords.cn.WorkshopPlace__c}"/>
|
</td>
|
</tr>
|
<tr>
|
<td class="label">会议类型:</td>
|
<td class="middle">
|
<apex:outputField value="{!campaignRecords.cn.Meeting_Type__c}"/>
|
</td>
|
</tr>
|
<tr>
|
<td class="label">参加人数:</td>
|
<!-- SWAG-BF39A8 原 value 为 total_participants__c start-->
|
<td class="middle"><apex:outputField value="{!campaignRecords.cn.Convening_Participants_Num__c}"/></td>
|
<!-- SWAG-BF39A8 end -->
|
</tr>
|
<tr>
|
<td class="label">活动目的:</td>
|
<td class="middle" style="word-wrap: break-word;word-break: break-all;min-height: 100px;">
|
<div style="text-align: left;word-break: break-all;" id="Purpose_div" >
|
<!-- <apex:outputText value="{!campaignRecords.businessPurpose}" escape="false" /> -->
|
<!-- <apex:column breakBefore="true" colspan="2" headerValue="Hint" style="border-size:0px;border-color:#fff;" >
|
<div id="{!campaignRecords.cn.BusinessPurpose__c}" class="hider" style="border-size:0px;border-color:#fff;">
|
<apex:outputText value="{!campaignRecords.cn.BusinessPurpose__c}" escape="false" />
|
</div>
|
</apex:column> -->
|
|
<c:PDFWbr targetStr="{!campaignRecords.businessPurpose}"/>
|
</div>
|
</td>
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <div style="display:{!IF(businessPurposeTwoList!=null,'block','none')};"> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
<tr>
|
<!-- <apex:outputLabel rendered="{!(c.size==1)}" > -->
|
<td class="label"><c:PDFWbr targetStr="{!$ObjectType.campaign.fields.BusinessPurpose_det__c.label}"/>:</td>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <td class="middle" style="word-wrap: break-word; text-align: center; word-break: break-all;min-height: 200px;">
|
<apex:outputField value="{!campaignRecords.cn.BusinessPurpose_det__c}" />
|
</td> -->
|
|
<td class="middle" style="word-wrap: break-word; text-align: center; word-break: break-all;min-height: 200px;">
|
|
<table class="htmlDetailElementTable" width="550" border="0" cellpadding="0" cellspacing="0">
|
<tbody>
|
<apex:variable value="{!0}" var="cnt" />
|
<apex:repeat value="{!businessPurposeTwoList}" var="bpt">
|
<tr>
|
<td class="middle" >
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrcL}" style="{!bpt.busImgStyleL}" ></img>
|
</apex:outputPanel>
|
<!-- </td>
|
|
<td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;"> -->
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL =='')}">
|
<apex:outputField value="{!bpt.cn.BusinessPurpose_det__c}"/>
|
|
</apex:outputPanel>
|
</td>
|
<!-- <td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;">
|
<apex:outputPanel rendered="{!(bpt.busImgSrc !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrc}" style="{!bpt.busImgStyle}" ></img>
|
</apex:outputPanel>
|
</td> -->
|
</tr>
|
<apex:variable value="{!cnt + 1}" var="cnt" />
|
</apex:repeat>
|
|
</tbody>
|
</table>
|
|
</td>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- </div> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
<tr>
|
<td class="label">会议日程概要:</td>
|
<td class="middle" style="word-wrap: break-word;word-break: break-all;min-height: 100px;">
|
<div style="text-align: left;" id="Society_div">
|
<!-- <apex:outputText value="{!campaignRecords.Society_Hold_Place}" escape="false" /> -->
|
<c:PDFWbr targetStr="{!campaignRecords.Society_Hold_Place}"/>
|
</div>
|
</td>
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <div style="display:{!IF(businessHoldTwoList!=null,'block','none')};"> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
<tr>
|
<td class="label"><c:PDFWbr targetStr="{!$ObjectType.campaign.fields.Society_Hold_Place_det__c.label}"/>:</td>
|
<td class="middle" style="word-wrap: break-word; text-align: center; word-break: break-all;min-height: 200px;">
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <apex:outputField value="{!campaignRecords.cn.Society_Hold_Place_det__c}"/> -->
|
|
|
<table class="htmlDetailElementTable" align="center" width="550" border="0" cellpadding="0" cellspacing="0">
|
<tbody>
|
<apex:variable value="{!0}" var="cnt" />
|
<apex:repeat value="{!businessHoldTwoList}" var="bpt">
|
<tr>
|
<td class="middle" >
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrcL}" style="{!bpt.busImgStyleL}" ></img>
|
</apex:outputPanel>
|
<!-- </td>
|
|
<td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;"> -->
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL =='')}">
|
<apex:outputField value="{!bpt.cn.BusinessPurpose_det__c}"/>
|
</apex:outputPanel>
|
</td>
|
<!-- <td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;">
|
<apex:outputPanel rendered="{!(bpt.busImgSrc !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrc}" style="{!bpt.busImgStyle}" ></img>
|
</apex:outputPanel>
|
</td> -->
|
</tr>
|
<apex:variable value="{!cnt + 1}" var="cnt" />
|
</apex:repeat>
|
|
</tbody>
|
</table>
|
</td>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- </div> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
<tr>
|
<td class="label">活动成果:</td>
|
<td class="middle" style="word-wrap: break-word;word-break: break-all;min-height: 100px;">
|
<div style="text-align: left;" id="BusinessResult_div">
|
<!-- <apex:outputText value="{!campaignRecords.BusinessResult}" escape="false" /> -->
|
<c:PDFWbr targetStr="{!campaignRecords.BusinessResult}"/>
|
</div>
|
</td>
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <div style="display:{!IF(businessResultTwoList!=null,'block','none')};"> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
<tr>
|
<td class="label"><c:PDFWbr targetStr="{!$ObjectType.campaign.fields.BusinessResult_det__c.label}"/>:</td>
|
<td class="middle" style="word-wrap: break-word; text-align: center; word-break: break-all;min-height: 200px;">
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- <apex:outputField value="{!campaignRecords.cn.BusinessResult_det__c}"/> -->
|
|
|
<table class="htmlDetailElementTable" width="550" border="0" cellpadding="0" cellspacing="0">
|
<tbody>
|
<apex:variable value="{!0}" var="cnt" />
|
<apex:repeat value="{!businessResultTwoList}" var="bpt">
|
<tr>
|
<td class="middle" >
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrcL}" style="{!bpt.busImgStyleL}" ></img>
|
</apex:outputPanel>
|
<!-- </td>
|
<td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;"> -->
|
<apex:outputPanel rendered="{!(bpt.busImgStyleL =='')}">
|
<apex:outputField value="{!bpt.cn.BusinessPurpose_det__c}"/>
|
</apex:outputPanel>
|
</td>
|
<!-- <td style="word-wrap: break-word; text-align: center; word-break: break-all; min-height: 200px; width: 50%;">
|
<apex:outputPanel rendered="{!(bpt.busImgSrc !='')}">
|
<img alt="用户添加的图片" src="{!bpt.busImgSrc}" style="{!bpt.busImgStyle}" ></img>
|
</apex:outputPanel>
|
</td>
|
--> </tr>
|
<apex:variable value="{!cnt + 1}" var="cnt" />
|
</apex:repeat>
|
|
</tbody>
|
</table>
|
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
</td>
|
</tr>
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 start -->
|
<!-- </div> -->
|
<!-- SWAG-BHW3Y9 update by vivek 20200108 end -->
|
</table>
|
</td>
|
</tr>
|
</table>
|
</body>
|
</html>
|
</apex:page>
|