 LODOP.PRINT_INITA("0mm","0mm","300mm","600mm","保安服务公司许可项目审检文件处理签打印");
			LODOP.SET_SHOW_MODE('BKIMG_IN_PREVIEW',1);
 var strHtmlTable ='';
var tableMessage = data.tableMessage;
        var messageMap = data.messageMap;
        var companyDetail = data.companyDetail;
        var approvalMessage = data.approvalMessage;
        var logList = data.logList;
        strHtmlTable ='<html><head><meta charset="utf-8">'+
                '<style type="text/css">' +
                '.tableDiv {font-size: 14px;line-height: 20px;text-align: center;}'+
                '.tableDiv table {text-align: center;width: 100%;line-height: 28px; border-collapse: collapse;}'+
                '#approvallog td, table tr, table {border: 1px solid #000;min-width: 20px;}'+
                '.tableDiv table td, table tr, table {border: 1px solid #000;}'+
                '.tableDiv .left-text {text-align: left;padding-left: 10px;}'+
                '.tableDiv table p {padding: 0;margin: 5px 0;}'+
                '.tableDiv .left{width:425px;float: left;}'+
                '.create .tasks .task-body {margin-top: 30px;min-height: 485px;}'+
                '.tableDiv table p {padding: 0;margin: 5px 0;}'+
                '.tableDiv table .right {float: right;padding-right: 50px;padding-top:100px;}'+
                '.bold-font {font-weight: bold;}'+
                '</style></head><body>'+
                '<div class="tableDiv" id="tableDiv">'+
                ' <h3 class="title">' + tableMessage.title + '</h3>';
        if(companyDetail.businesstype == '007'){
            strHtmlTable = strHtmlTable +
                '<table>'+
                '<tr >' +
                '<td rowspan="3" class="bold-font" style="width:20%;">单位<br/>基本<br/>情况</td>' +
                '<td class="bold-font bold-height" style="width:20%;">名称</td>' +
                '<td colspan="4" style="width:60%;">'+messageMap.oldcompanyname+'</td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font">许可证<br/>名称</td>' +
                '<td>保安服务许可</td>'+
                '<td class="bold-font">'+tableMessage.certificate+'</td>' +
                '<td colspan="2">'+messageMap.licencenum+'</td>' +
                '</tr>' +
                '<tr class="bold-height">' +
                '<td class="bold-font" style="width:20%;">联系人</td>' +
                '<td style="width:20%;">'+messageMap.lxlegalname+'</td>' +
                '<td class="bold-font" style="width:20%;">联系电话</td>' +
                '<td colspan="2" style="width:20%;">'+messageMap.lxlegalphone+'</td>' +
                '</tr>' +
                '<tr class="bold-height" >' +
                '<td class="bold-font">变更项目</td>' +
                '<td colspan="2" class="bold-font">原登记内容</td>' +
                '<td colspan="3" class="bold-font">变更后登记内容</td>' +
                '</tr>' ;
            if(messageMap.bgregisteredMoney != null){
                strHtmlTable = strHtmlTable+
                    '<tr class="bold-height bold-font">' +
                    '<td>注册资本</td>' +
                    '<td colspan="2">'+messageMap.oldregisteredMoney+'</td>' +
                    '<td colspan="3">'+messageMap.bgregisteredMoney+'</td>' +
                    '</tr>';
            }
            if(messageMap.address != null){
                strHtmlTable = strHtmlTable+
                    '<tr class="bold-height bold-font">' +
                    '<td>地址变更</td>' +
                    '<td colspan="2">'+messageMap.oldaddress+'</td>' +
                    '<td colspan="3">'+messageMap.address+'</td>' +
                    '</tr>';
            }
            if(messageMap.companyname != null){
                strHtmlTable = strHtmlTable+
                    '<tr class="bold-height bold-font">' +
                    '<td>公司名称变更</td>' +
                    '<td colspan="2">'+messageMap.oldcompanyname+'</td>' +
                    '<td colspan="3">'+messageMap.companyname+'</td>' +
                    '</tr>';
            }
            if(messageMap.securityScopes != null){
                strHtmlTable = strHtmlTable+
                    '<tr class="bold-height bold-font">' +
                    '<td>服务范围变更</td>' +
                    '<td colspan="2" >'+messageMap.oldsecurityScopes+'</td>' +
                    '<td colspan="3">'+messageMap.securityScopes+'</td>' +
                    '</tr>';
            }
            if(messageMap.ndlegalname != null){
                strHtmlTable = strHtmlTable+
                    '<tr class="bold-height bold-font">' +
                    '<td>法人变更</td>' +
                    '<td colspan="2">'+messageMap.legalname+'</td>' +
                    '<td colspan="3">'+messageMap.ndlegalname+'</td>' +
                    '</tr>';
            }
            strHtmlTable = strHtmlTable +
                '<tr>' +
                '<td rowspan="10" class="bold-font">提供<br/>材料<br/>目录</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text" style="color: #f00;"><input type="checkbox" class="check-box">变更申请书（应当载明变更项目）。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安服务（培训）许可证副本。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">变更单位名称：保安服务公司、学校、职业培训机构更名的有效证明文件。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">变更单位住所：变更后住所的所有权或者使用权的有效证明文件，保安培训场所理论课教室、训练场地符合条件的证明材料。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安服务公司变更法定代表人：法定代表人变更证明文件、有效身份证件和保安师资格证书复印件、简历、相关工作经验证明。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安培训机构变更法定代表人：法定代表人变更证明文件、有效身份证复印件。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安服务公司变更服务范围：提供保安服务所需的有关设备、交通工具等材料，专业技术人员名单和法律、行政法规有资格要求的资格证明。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安培训机构变更培训内容：开展培训所需设施、设备等证明材料及相应师资人员的资格证明文件复印件。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">保安服务公司变更注册资本：注册资本验资证明、国有资产评估文件复印件。</td>' +
                '</tr>' +
                '<tr style="height: 200px;">' +
                '<td class="bold-font">申请单位法<br/>定代表人<br/>签名盖章</td>' +
                '<td colspan="5">' +
                '<div class="list-wrap">' +
                '<p class="bold-font">对上述填写和提交的材料真实有效性负责。</p><br>' +
                '<p class="left">法定代表人姓名：'+messageMap.lxlegalname+'</p>' +
                '<p class="right bold-font">'+messageMap.createTime+'</p>' +
                '</div>' +
                '</td>' +
                '</tr>' +
                '</table>';
        }
        if(companyDetail.businesstype != '007'){
            strHtmlTable = strHtmlTable +
                '<table>' +
                '<tbody>' +

                '<tr>' +
                '<td rowspan="5" class="bold-font" style="width:20%;">拟设立<br/>公司<br/>（培训单位）<br/>基本情况</td>' +
                '<td class="bold-font bold-height" style="width:20%;">名称</td>'+
                '<td colspan="4" style="width:60%;">'+messageMap.companyname+'</td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font bold-height">地址</td>' +
                '<td colspan="4">'+messageMap.address+'</td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font" style="width:20%;">法定代表人<br/>姓名</td>' +
                '<td style="width:20%;">'+messageMap.legalname+'</td>' +
                '<td class="bold-font" style="width:15%;">身份证号码</td>' +
                '<td colspan="2" style="width:25%;">'+messageMap.legalPersonNo+'</td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font bold-height">总经理姓名</td>' +
                '<td>'+messageMap.mangername+'</td>' +
                '<td class="bold-font">身份证号码</td>' +
                '<td colspan="2">'+messageMap.vmangerNo+'</td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font bold-height">副总经理姓名</td>' +
                '<td>'+messageMap.vmangername+'</td>' +
                '<td class="bold-font">身份证号码</td>' +
                '<td colspan="2">'+messageMap.mangerNo+'</td>' +
                '</tr>' +
                '<tr class="bold-height">' +
                '<td class="bold-font">认缴资金</td>' +
                '<td colspan="2" align="right">'+messageMap.regcapital+'（万元）</td>' +
                '<td class="bold-font">实地<br>核查人</td>' +
                '<td colspan="2"></td>' +
                '</tr>' +
                '<td class="bold-font">服务范围</td>' +
                '<td colspan="5">' +
                '<div class="list-wrap">' +
                '<p class="left-text">'+messageMap.management+'</p>' +
                '</div>' +
                '</td>' +
                '</tr>' +
                '<tr>' +
                '<td rowspan="7" class="bold-font">提供材料<br/>目录</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"  ><input type="checkbox" class="check-box">设立申请书<span style="color: blue;margin-left: 0px" >（应当载明拟设立公司或培训机构的基本情况）。</span></td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"  ><input type="checkbox" class="check-box">拟任的保安服务公司法定代表人、总经理、副总经理等管理人员的有效身份证件、简历，'+
                '保安师资格证书复印件，5年以上军队、公安、安全、审判、检察、司法行政或者治安保卫、保安经营管理工作经验证明。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text" style="color: blue;"><input type="checkbox" class="check-box">拟设保安服务公司住所的所有权或者使用权的有效证明文件和提供保安服务所需的有关设备、交通工具等材料；' +
                '<input type="checkbox" class="check-box">保安培训所需场所、设施等教学条件证明。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text" style="color: blue;"><input type="checkbox" class="check-box">专业技术人员名单及资格证明； <input type="checkbox" class="check-box">保安培训所需的师资力量。</td>' +
                '</tr>' +
                '<tr>' +
                ' <td colspan="5" class="left-text" ><input type="checkbox" class="check-box">组织机构和保安服务管理制度、岗位责任制度、保安员管理制度材料。</td>' +
                '</tr>' +
                '<tr>' +
                '<td colspan="5" class="left-text"><input type="checkbox" class="check-box">企业名称预先核准通知书； <span style="color: blue;margin-left: 0;"><input type="checkbox" class="check-box">'+
                '依法设立保安服务公司或依法设立的具有法人资格的学校、职业培训机构的证明材料。</span></td>' +
                '</tr>' +
                '<tr>' +
                '<td class="bold-font">申请单位法<br/>定代表人<br/>签名盖章</td>' +
                '<td colspan="5">' +
                '<div class="list-wrap">' +
                '<p class="bold-font">对上述填写和提交的材料真实有效性负责。</p>' +
                '<br>' +
                '<p class="left-text">法定代表人姓名：'+messageMap.legalname+'</p>' +
                '<p class="right bold-font">'+messageMap.createTime+'</p>' +
                '</div>' +
                '</td>' +
                '</tr>' +
                '</tbody>' +
                '</table>';
        }
        strHtmlTable = strHtmlTable +
            '<table style="page-break-after: always;" ></table>' +
            '<div class="create">' +
            '<div class="container tasks">' +
            '<div class="task-body">' +
            '<table style="top:100px;">' +
            '<tr>' +
            '<td class="bold-font approvalReason">'+tableMessage.approvalReason1+'</td>' +
            '<td colspan="5">' +
            '<div class="left">' +
            '<p>'+(approvalMessage.approvalPoliceStationReason == null ? " ":approvalMessage.approvalPoliceStationReason)+'</p>' +
            '</div>' +
            '<div class="right">' +
            '<p style="padding-left:5px;">签名：'+(approvalMessage.personPoliceStationName == null ? " ":approvalMessage.personPoliceStationName)+'</p>' +
            '<p>'+(approvalMessage.approvalPoliceStationDate == null ? " ":approvalMessage.approvalPoliceStationDate)+'</p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '<tr>' +
            '<td class="bold-font approvalReason">'+tableMessage.approvalReason2+'</td>' +
            '<td colspan="5">' +
            '<div class="left" style="padding-left: 10px;">' +
            '<p>'+(approvalMessage.approvalBranchLeaderReason == null ? " ":approvalMessage.approvalBranchLeaderReason)+'</p>' +
            '</div>' +
            '<div class="right" >' +
            '<p style="padding-left:5px;">签名：'+(approvalMessage.personBranchLeaderName == null ? " ":approvalMessage.personBranchLeaderName)+'</p>' +
            '<p>'+(approvalMessage.approvalBranchLeaderDate == null ? " ":approvalMessage.approvalBranchLeaderDate)+'</p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '<tr>' +
            '<td class="bold-font approvalReason">'+tableMessage.approvalReason3+'</td>' +
            '<td colspan="5">' +
            '<div class="left">' +
            '<p>'+(approvalMessage.approvalTeamLeaderReason == null ? " ":approvalMessage.approvalTeamLeaderReason)+'</p>' +
            '</div>' +
            '<div class="right">' +
            '<p style="padding-left:5px;">签名：'+(approvalMessage.personTeamLeaderName == null ? " ":approvalMessage.personTeamLeaderName)+'</p>' +
            '<p>'+(approvalMessage.approvalTeamLeaderDate == null ? " ":approvalMessage.approvalTeamLeaderDate)+'</p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '<tr>' +
            '<td class="bold-font approvalReason">'+tableMessage.approvalReason4+'</td>' +
            '<td colspan="5">' +
            '<div class="left">' +
            '<p>'+(approvalMessage.approvalTeamMainLeaderReason == null ? " ":approvalMessage.approvalTeamMainLeaderReason)+'</p>' +
            '</div>' +
            '<div class="right">' +
            '<p style="padding-left:5px;">签名：'+(approvalMessage.personTeamMainLeaderName == null ? " ":approvalMessage.personTeamMainLeaderName)+'</p>' +
            '<p>'+(approvalMessage.approvalTeamMainLeaderDate == null ? " ":approvalMessage.approvalTeamMainLeaderDate)+'</p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '<tr>' +
            '<td class="bold-font approvalReason">'+tableMessage.approvalReason5+'</td>' +
            '<td colspan="5">' +
            '<div class="left">' +
            '</div>' +
            '<div class="right" >' +
            '<p style="padding-left:5px;">签名：</p>' +
            '<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日</p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '<tr >' +
            '<td class="bold-font " style="height: 40px;">备注</td>' +
            '<td colspan="5">' +
            '<div class="list-wrap">' +
            '<p class="left"></p>' +
            '</div>' +
            '</td>' +
            '</tr>' +
            '</table>' +
            '</div>' +
            '</div>' +
            '</div>' +
            '<table style="page-break-after: always;" ></table>' +
            '<div class="create">' +
            '<div class="container tasks">' +
            '<div class="task-body">' +
            '<table cellpadding="0" id="approvallog" cellspacing="0" class="task-con approval-con" style="width: 100%;overflow:auto;">' +
            '<thead>' +
            '<tr style="border-right: 1px solid #ddd;">' +
            '<td width="4%" align="center">序号</td>' +
            '<td width="18%" align="center">审批日期</td>' +
            '<td width="23%" align="center">审批人</td>' +
            '<td width="10%" align="center">审批结果</td>' +
            '<td width="15%" align="center">审批意见</td>' +
            '<td width="30%" align="center">审批人所在机构</td>' +
            '</tr>' +
            '</thead>' +
            '<tbody>' ;
        if(logList != null && logList.length>0){
            for(var i = 0;i<logList.length;i++){
                if(logList[i].approvalperson != null || logList[i].approvalorg != null){
                    strHtmlTable = strHtmlTable +'<tr>'+
                        '<td style="text-align:center">'+(i+1)+'</td>'+
                        '<td style="text-align:center">'+ new Date(logList[i].approvaldate).format("yyyy-MM-dd hh:mm:ss")+'</td>'+
                        '<td>'+(logList[i].approvalperson == null?"没有配置下一级审批人员":logList[i].approvalperson)+'</td>'+
                        '<td style="text-align:center">'+logList[i].approvalstate+'</td>'+
                        '<td style="text-align:center">'+logList[i].approvalreason+'</td>'+
                        '<td style="text-align:center">'+logList[i].approvalorg+'</td>'+
                        '</tr>' ;

                }
            }
        }
        else{
            strHtmlTable = strHtmlTable +'<tr>'+
                '<td colspan="6" class="text-center">暂无相关数据！</td>'+
                '</tr>';
        }
        strHtmlTable = strHtmlTable +'</tbody>'+
            '</table>'+
            '</div>'+
            '<nav class="text-center pager-bottom" id="approvalcallBackPager" style="bottom:0"></nav>'+
            '</div></div></div>'+
            '</body>'+
            '</html>';
LODOP.ADD_PRINT_TABLE("1%","1%","124%","100%",strHtmlTable);
	    LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
		LODOP.SET_PRINT_STYLEA(0,"FontSize",16);
		LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",4);
		LODOP.PRINT_DESIGN();