有框线

height:39pt;border-left:1px solid windowtext;border-top:1px solid windowtext;border-right:1px solid windowtext;border-bottom:1px solid windowtext;

一。 页面按钮

html输出python HTML输出框_ci

<div style="text-align: center;">
    <button type="button" class="btn btn-sm btn-danger" onclick="closeItemYesOrNo()"><i class="fa fa-reply-all"></i>关闭</button>
    <button id="saveBtn" type="button" class="btn btn-sm btn-primary" onclick="saveProject(0,'保存成功')"><i class="fa fa-check"></i>保存</button> 
    <a class="btn btn-success" onclick="execl1()" id="jbxxBtn"><i class="fa fa-plus"></i>财政支出项目基本信息表</a>
    <a class="btn btn-success" onclick="execl4()" id="jxmbBtn"><i class="fa fa-plus"></i>财政支出项目绩效目标表</a>
    <button id="subBtn" type="button" class="btn btn-sm btn-primary" onclick="saveProject(3,'提交成功')"><i class="fa fa-check"></i>提交审核</button> 
    <button id="toBack" type="button" class="btn btn-sm btn-danger" onclick="toBack()"><i class="fa fa-reply-all"></i>任务退回</button>
</div>

二。按钮点击事件

function execl1() {
    var prodId = $("#projectId").val();
    if (prodId) {
        createMenuItem(ctx + "gather/export1/" + prodId, "财政支出项目基本信息表");
    }
}

三。控制器 转到样式页面

@GetMapping("/export1/{projectId}")
public String toExport(@PathVariable Long projectId,ModelMap modelMap){
    modelMap.put("projectId",projectId);
    return "beforehand/gather/export";
}

四。样式页面 ( 有导出按钮和打印按钮)

1.样式页面可直接在线转换

html输出python HTML输出框_html输出python_02

2.打印和导出按钮
//导出excel按钮
<a class="btn btn-primary" onclick="method5('tableexcel')">
    <i class="fa fa-edit"></i> 导出EXCEL
</a>

//打印按钮
<a class="btn btn-primary"  style="top:10px;left:10px;" onclick="doPrint('tableexcel')">
    <i class="fa fa-print"></i> 打印
</a>

五。导出和打印事件 设置导出的excel高度事件

//导出excel事件 传一个tableid就行
function method5(tableid) {
    if(getExplorer()=='ie')
    {
        var curTbl = document.getElementById(tableid);
        var oXL = new ActiveXObject("Excel.Application");
        var oWB = oXL.Workbooks.Add();
        var xlsheet = oWB.Worksheets(1);
        var sel = document.body.createTextRange();
        sel.moveToElementText(curTbl);
        sel.select();
        sel.execCommand("Copy");
        xlsheet.Paste();
        oXL.Visible = true;

        try {
            var fname = oXL.Application.GetSaveAsFilename("Excel.xls", "Excel Spreadsheets (*.xls), *.xls");
        } catch (e) {
            print("Nested catch caught " + e);
        } finally {
            oWB.SaveAs(fname);
            oWB.Close(savechanges = false);
            oXL.Quit();
            oXL = null;
            idTmr = window.setInterval("Cleanup();", 1);
        }

    }
    else
    {
        tableToExcel(tableid)
    }
}

转换具体方法tableToExcel

var tableToExcel = (function() {
    var uri = 'data:application/vnd.ms-excel;base64,',
        template = '<html><head><meta charset="UTF-8"></head><body><table>{table}</table></body></html>',
        base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) },
        format = function(s, c) {
            return s.replace(/{(\w+)}/g,
                function(m, p) { return c[p]; }) }
    return function(table, name) {
        if (!table.nodeType) table = document.getElementById(table)
        var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
        window.location.href = uri + base64(format(template, ctx))
    }
})()
/*获取浏览器类型*/
function  getExplorer() {
   var explorer = window.navigator.userAgent ;
   //ie
   if (explorer.indexOf("MSIE") >= 0) {
      return 'ie';
   }
   //firefox
   else if (explorer.indexOf("Firefox") >= 0) {
      return 'Firefox';
   }
   //Chrome
   else if(explorer.indexOf("Chrome") >= 0){
      return 'Chrome';
   }
   //Opera
   else if(explorer.indexOf("Opera") >= 0){
      return 'Opera';
   }
   //Safari
   else if(explorer.indexOf("Safari") >= 0){
      return 'Safari';
   }
}
//打印事件  要打印的Html加上 <!--startprint--> 和 <!--endprint-->
function doPrint() {
    bdhtml=window.document.body.innerHTML;
    sprnstr="<!--startprint-->"; //开始打印标识字符串有17个字符
    eprnstr="<!--endprint-->"; //结束打印标识字符串
    prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); //从开始打印标识之后的内容
    prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr)); //截取开始标识和结束标识之间的内容
    window.document.body.innerHTML=prnhtml; //把需要打印的指定内容赋给body.innerHTML
    window.print(); //调用浏览器的打印功能打印指定区域
    window.document.body.innerHTML=bdhtml;//重新给页面内容赋值;
    return false;
}
//设置导出的excel高度
 function GetInfoFromTable(tableid) {
                var tableInfo = "";
                var tableObj = document.getElementById(tableid);
                for (var i = 0; i < tableObj.rows.length; i++) {    //遍历Table的所有Row
                    for (var j = 0; j < tableObj.rows[i].cells.length; j++) {   //遍历Row中的每一列
                        if(tableObj.rows[i].cells[j]&&tableObj.rows[i].cells[j].innerText){
                            if(!tableObj.rows[i].cells[j].style.height){
                                tmp=tableObj.rows[i].offsetHeight/1.6;
                                if(tmp<15){
                                    tmp=15;
                                }
                                tableObj.rows[i].cells[j].style.height=tmp+'pt';
                            }
                        }
                        tableInfo += tableObj.rows[i].cells[j].innerText;   //获取Table中单元格的内容
                        tableInfo += "   ";
                    }
                    tableInfo += "\n";
                }
                return tableInfo;
 }

生成PageOffice报告

第一个按钮"生成绩效评价报告" 跳出新页面
新页面有reportLog列表 生成绩效评价报告按钮

$.modal.openIndex('报告记录表', ctx + "beforehand/reportLog/" + $("#projectId").val(), '1100', '760');

第二个按钮 生成报告记录

function createReport2() {
     var projectId = $("#projectId").val();
     if (projectId) {
         //查询数据填充div
         $.ajax({
             url: ctx + "beforehand/my/createEvaluationReport/" + projectId,
             type: "get",
             dataType: "json",
             beforeSend: function () {
                 $.modal.loading("加载数据中,请稍后...");
             },
             success: function (result) {
                 if (result.code == web_status.SUCCESS) {
                     var data = result.data;
		     $.table.search();
                     window.parent.showBtn();
                     //intiTargetData(result.data.targetList);
                 } else if (result.code == web_status.WARNING) {
                     $.modal.alertWarning(result.msg)
                 } else {
                     $.modal.alertError(result.msg);
                 }
              }
         });
         $.modal.closeLoading();
         return false;
     }
}

控制器

@GetMapping("/createEvaluationReport/{projectId}")
    @ResponseBody
    public AjaxResult createEvaluationReport(HttpServletRequest request, @PathVariable("projectId")int  projectId) {
        //项目信息
        AchiProjectInformation achiProjectInformation = achiProjectInformationService.selectAchiProjectInformationById(projectId);
        if(achiProjectInformation==null){
            return AjaxResult.warn("项目信息不存在");
        }
        String projectGuid=achiProjectInformation.getProjectGuid();
        EvaluationInformation eInformation=evaluationInformationService.getEvaluation(projectId);
        if(eInformation==null)
            return AjaxResult.warn("项目信息不存在");
        String filePath=eInformation.getFilePath();
        Map map =new HashMap();
        ///修改逻辑,每次都重新生成一个文件-pany-20190825
        if(evaluationReport(projectGuid,projectId)){
            map.put("res",true);
            return AjaxResult.success(map);
        }
//        if(StringUtils.isNotEmpty(filePath)){
//            map.put("filePath",filePath);
//            return AjaxResult.success(map);
//        }else{
//            if(evaluationReport(projectGuid)){
//                map.put("res",true);
//                return AjaxResult.success(map);
//            }
//        }
        return AjaxResult.warn("操作不成功");
    }

真正生成方法 在java控制器

private boolean evaluationReport(String projectGuid,int projectId){

        String filepathString = "pjmbnewnew.xml";
        String filePath = Global.getReportPath();
        String fileName=System.currentTimeMillis()+".doc";
        String destpathString =filePath+ fileName;

        //项目基本情况
        List<MyVo> projectList=myService.selectProjectInformation(projectGuid);
        String ltitle="";
        String dwjbqk="";
        String xmjbqk="";
        try {
            MyVo project = projectList.get(0);
            if (project.getYear() == null) project.setYear("");
            if (project.getProjectName() == null) project.setProjectName("");
            if (project.getUnitFunctionOverview() == null) project.setUnitFunctionOverview("");
            if (project.getProjectOverview() == null) project.setProjectOverview("");
//            ltitle = "<w:p><w:pPr><w:jc w:val=\"center\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:b/><w:sz w:val=\"32\"/><w:sz-cs w:val=\"32\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"Calibri\"/><w:b/><w:sz w:val=\"32\"/><w:sz-cs w:val=\"32\"/></w:rPr><w:t>" + project.getYear() + "" + project.getProjectName() + "</w:t></w:r></w:p>";
//            dwjbqk = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + project.getUnitFunctionOverview() + "</w:t></w:r>";
//            xmjbqk = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + project.getProjectOverview() + "</w:t></w:r>";
            ltitle= project.getYear() + project.getProjectName();
            dwjbqk= project.getUnitFunctionOverview();
            xmjbqk= project.getProjectOverview();
        }catch (Exception e){
            e.printStackTrace();
        }

        //项目财务管理状况
        List<MyVo> fundingList=myService.selectProjectFunding(projectGuid);
        String s1="";
        String s2="";
        String s3="";
        String s4="";
        String cwglzk="";
        try {
            for (MyVo funding : fundingList) {
                String projectFunds = funding.getProjectFunds();
                String yearFunds = funding.getYearFunds();
                String actuallyPlace = funding.getActuallyPlace();
                String realSpending = funding.getRealSpending();
                if (projectFunds == null) projectFunds = "0";
                if (yearFunds == null) yearFunds = "0";
                if (actuallyPlace == null) actuallyPlace = "0";
                if (realSpending == null) realSpending = "0";
                if (funding.getFundingType().equals("99")) {
                    s1 = "本项目累计安排资金" + toInt(projectFunds) + "万元。其中:" + s1;
                    s2 = "本年度预算安排" + toInt(yearFunds) + "万元。其中:" + s2;
                    s3 = "实际到位资金总额" + toInt(actuallyPlace) + "万元。其中:" + s3;
                    s4 = "实际资金支出" + toInt(realSpending) + "万元。其中:" + s4;
                } else {
                    if (s1.equals("") == false) s1 = s1 + ",";
                    s1 = s1 + funding.getDictLabel() + toInt(projectFunds) + "万元";
                    if (s2.equals("") == false) s2 = s2 + ",";
                    s2 = s2 + funding.getDictLabel() + toInt(yearFunds) + "万元";
                    if (s3.equals("") == false) s3 = s3 + ",";
                    s3 = s3 + funding.getDictLabel() + toInt(actuallyPlace) + "万元";
                    if (s4.equals("") == false) s4 = s4 + ",";
                    s4 = s4 + funding.getDictLabel() + toInt(realSpending) + "万元";
                }
            }
            cwglzk = s1 + s2 + s3 + s4;
            //cwglzk = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + s1 + s2 + s3 + s4 + "</w:t></w:r>";
        } catch (Exception e){
            e.printStackTrace();
        }


        List<MyVo> realFundingList =myService.selectRealFunding(projectGuid);
        String xmzcstr="";
        double allzc=0.00;
        for (MyVo realFunding:realFundingList){
             if(xmzcstr.equals("")){
                 xmzcstr="主要用于"+ realFunding.getDetailPayContent();
             }else{
                 if(realFunding.getDetailPayContent().equals("总和")){
                     allzc=Double.parseDouble(realFunding.getFunding());
                 }else {
                     xmzcstr = xmzcstr + "、" + realFunding.getDetailPayContent();
                 }
             }
        }
        if(xmzcstr.equals("")==false) xmzcstr=xmzcstr+"。";
        double xmysze=50.00;
        xmzcstr=xmzcstr+"全年共支出"+allzc+"万元,支出实现率"+allzc/xmysze+"%";


//        --      SELECT
//                --         indicator_one,
//                --         indicator_two,
//                --         indicator_three,
//                --         sum( year_target_score ) as yearScore,
//        --         sum( target_complete_score ) as targetScore,
//        --         target_complete_ratio as targetRatio,
//        --             year_target_score_units as scoreUnits
//        --      FROM
//                --         achi_evaluation_target_complete
//                --      WHERE
//                --         indicator_three IS NOT NULL
//        --         AND unit_code IS NULL
//                --         and project_guid = #{projectGuid}
//        --      GROUP BY
//                --         indicator_one,
//                --         indicator_two,
//                --         indicator_three WITH ROLLUP
        //绩效目标完成情况
        List<MyVo> targetInd=myService.selectTargetCompleteInd(projectGuid, 2018);
        String xmjxmbwcqk="";
        try {
            s1 = "";
            s2 = "";
            String oldss1 = "";
            String oldss2 = "";
            String oldss3 = "";
            String oldss4 = "";
            String oldss5 = "";
            String oldss6 = "";
            String oldunits = "";
            int temptag = 0;
            int kk = 1;
            int kkk = 1;
            for (MyVo target : targetInd) {
                String ss1 = target.getIndicatorOne();
                String ss2 = target.getIndicatorTwo();
                String ss3 = target.getIndicatorThree();
                String ss4 = target.getYearScore();
                String ss5 = target.getTargetScore();
                String ss6 = target.getTargetRatio();
                String unit= target.getScoreUnits();
                if (ss1 == null) ss1 = "";
                if (ss2 == null) ss2 = "";
                if (ss3 == null) ss3 = "";
                if (ss4 == null) ss4 = "0";
                if (ss5 == null) ss5 = "0";
                if (ss6 == null) ss6 = "";
                if (unit == null) unit = "";
                if (ss1.equals(oldss1) && ss2.equals(oldss2)) {
                    if (oldss3 != null) {
                        if (s1.equals("") == false) s1 = s1 + ";";
                        if (Integer.parseInt(toInt(oldss4)) - Integer.parseInt(toInt(oldss5)) > 0) {
                            //s1 = s1 + oldss3 + "目标值为" + toInt(oldss4) + ",实际值为" + oldss5 + "实际完成值小于绩效目标值。";

                            s1 = s1 + oldss3 + "绩效目标值是" + toInt(oldss4) + ",实际完成值为"  + toInt(oldss5) + oldunits+",目标完成率为"+oldss6+"。";
                            if(ss1.indexOf("投入")>-1) s1=s1+xmzcstr;
                        } else {
                            //s1 = s1 + oldss3 + "目标值为" + toInt(oldss4) + ",实际值为" + oldss5 + "实际完成值与绩效目标值一致";
                            s1 = s1 + oldss3+ "绩效目标值是" + toInt(oldss4) + ",实际完成值为" + toInt(oldss5) + oldunits+",目标完成率为"+oldss6+"。";
                            if(ss1.indexOf("投入")>-1) s1=s1+xmzcstr;
                        }
                    }
                } else if (ss1.equals(oldss1) && ss2.equals(oldss2) == false) {
                    //s1 = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldss2 + s1 + "</w:t></w:r>";
                    s1 = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>)" + oldss2 + s1 + "</w:t></w:r>";
                    s2 = s2 + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\" wsp:rsidP=\"00A025D1\"><w:pPr><w:tabs><w:tab w:val=\"left\" w:pos=\"312\"/></w:tabs><w:ind w:first-line-chars=\"250\" w:first-line=\"700\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>(</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+kk+"</w:t></w:r>"+s1+"</w:p>";
                    //s2 = s2 + "<w:p><w:pPr><w:tabs><w:tab w:val=\"left\" w:pos=\"312\"/></w:tabs><w:ind w:first-line-chars=\"250\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>(</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + kk + "</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>)</w:t></w:r>" + s1 + "</w:p>";
                    kk = kk + 1;
                    s1 = "";
                } else if (ss1.equals(oldss1) == false && ss2.equals(oldss2) == false) {
                    if (temptag != 0) {
                        //s1 = "目标完成情况"
                        //xmjxmbwcqk = xmjxmbwcqk + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"7\"/><wx:t wx:val=\"" + kkk + "\" wx:wTabBefore=\"645\" wx:wTabAfter=\"345\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldss1 + "目标完成情况</w:t></w:r></w:p>" + s2;
                        xmjxmbwcqk = xmjxmbwcqk + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"7\"/><wx:t wx:val=\""+ kkk +"\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+oldss1+"目标完成情况</w:t></w:r></w:p>" + s2;
                    }
                    kk = 1;
                    s2 = "";
                }
                kkk = kkk + 1;
                oldss1 = ss1;
                oldss2 = ss2;
                oldss3 = ss3;
                oldss4 = ss4;
                oldss5 = ss5;
                oldss6 = ss6;
                oldunits=unit;
                temptag = temptag + 1;
            }
            if (kkk > 1) {
                //xmjxmbwcqk = xmjxmbwcqk + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"7\"/><wx:t wx:val=\"" + kkk + "\" wx:wTabBefore=\"645\" wx:wTabAfter=\"345\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldss1 + "目标完成情况</w:t></w:r></w:p>" + s2;
                xmjxmbwcqk = xmjxmbwcqk + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"7\"/><wx:t wx:val=\""+ kkk +"\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+oldss1+"目标完成情况</w:t></w:r></w:p>" + s2;
            }
        }catch (Exception e){
            e.printStackTrace();
        }

        //绩效分析
        List<MyVo> evaluationIndList=myService.selectEvaluationInd(projectGuid, 2018);
        String xmjxfx="";
        String ztxmjxfx="";
        try {
            s1 = "";
            s2 = "";
            String z2 = "";
            String oldsss1 = "";
            String oldsss2 = "";
            String oldsss3 = "";
            String oldsss4 = "";
            String oldsss5 = "";
            String oldsss6 = "";
            String oldsss7 = "";

            String ranking = "";
            int temptagb = 0;
            int jj = 1;
            int jjj = 1;
            for (MyVo evaluation : evaluationIndList) {
                String sss1 = evaluation.getIndicatorOne();
                String sss2 = evaluation.getIndicatorTwo();
                String sss3 = evaluation.getIndicatorThree();
                String sss4 = evaluation.getYearScore();
                String sss5 = evaluation.getIndWeight();
                String sss6 = evaluation.getScore();
                String sss7 = evaluation.getReasonOfGet();
                if (sss1 == null) sss1 = "";
                if (sss2 == null) sss2 = "";
                if (sss3 == null) sss3 = "";
                if (sss4 == null) sss4 = "0";
                if (sss5 == null) sss5 = "0";
                if (sss6 == null) sss6 = "0";
                if (sss7 == null) sss7 = "";
                if (sss1.equals(oldsss1) && sss2.equals(oldsss2)) {
                    if (oldsss3 != null) {
                        if (s1.equals("") == false) s1 = s1 + ",";
                        if (Integer.parseInt(toInt(oldsss4)) - Integer.parseInt(toInt(oldsss5)) > 0) {
                            s1 = s1 + oldsss3 + "本项目满分" + toInt(oldsss5) + "分,得" + toInt(oldsss6) + "分,扣分原因为:" + oldsss7 + ";";
                        } else {
                            s1 = s1 + oldsss3 + "本项目满分" + toInt(oldsss5) + "分,得" + toInt(oldsss6) + "分,得分原因为:" + oldsss7 + ";";
                        }
                    }
                } else if (sss1.equals(oldsss1) && sss2.equals(oldsss2) == false) {
                    //s1 = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + s1 + "</w:t></w:r>";
                    s1 = "<w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+ s1 +"</w:t></w:r>";
                    s2 = s2 + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\" wsp:rsidP=\"00A025D1\"><w:pPr><w:ind w:first-line-chars=\"200\" w:first-line=\"560\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>(</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + jj + "</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>)"+ oldsss2 + "满分" + toInt(oldsss5) + "分,得" + toInt(oldsss6) + "分。" +"</w:t></w:r>"+s1+"</w:p>";
                    //s2 = s2 + "<w:p><w:pPr><w:ind w:first-line-chars=\"200\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>(</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + jj + "</w:t></w:r><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>)" + oldsss2 + "满分" + toInt(oldsss5) + "分,得" + oldsss6 + "分。" + "</w:t></w:r>" + s1 + "</w:p>";
                    //z2 = z2 + "<w:r><w:rPr><w:rFonts w:ascii=\"宋体\" w:h-ansi=\"宋体\" w:cs=\"宋体\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldsss2 + oldsss6 + "分," + "</w:t></w:r>";
                    z2 = z2 + oldsss2 + toInt(oldsss6) + "分,";
                    jj = jj + 1;
                    s1 = "";
                } else if (sss1.equals(oldsss1) == false && sss2.equals(oldsss2) == false) {
                    if (temptagb != 0) {
                        //s1 = "目标完成情况"
                        xmjxfx = xmjxfx + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\" wsp:rsidP=\"000E4CD9\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"19\"/><wx:t wx:val=\"" + jjj + ".\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldsss1 + "指标体系得分" + toInt(oldsss6) + "分,其中:" + "</w:t></w:r></w:p>" + s2;
                        //xmjxfx = xmjxfx + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"18\"/><wx:t wx:val=\"" + jjj + "\" wx:wTabBefore=\"645\" wx:wTabAfter=\"345\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + oldsss1 + "指标体系得分" + oldsss6 + "分,其中:" + "</w:t></w:r></w:p>" + s2;
                        //ztxmjxfx=ztxmjxfx+"<w:r><w:rPr><w:rFonts w:ascii=\"宋体\" w:h-ansi=\"宋体\" w:cs=\"宋体\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+"总得分"+oldsss6+"。自评优秀等级:"+ranking+"</w:t></w:r>";
                    }
                    jj = 1;
                    s2 = "";
                }
                jjj = jjj + 1;
                oldsss1 = sss1;
                oldsss2 = sss2;
                oldsss3 = sss3;
                oldsss4 = sss4;
                oldsss5 = sss5;
                oldsss6 = sss6;
                oldsss7 = sss7;
                temptagb = temptagb + 1;
            }
            if (jjj > 1) {
                float sumScore=Float.parseFloat(oldsss6);
                if (sumScore>=90) {
                    ranking="优秀";
                }else if (sumScore>=75){
                    ranking="良好";
                }else if (sumScore>=60){
                    ranking="合格";
                }else {
                    ranking="不合格";
                }
                xmjxfx = xmjxfx + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\" wsp:rsidP=\"000E4CD9\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"19\"/><wx:t wx:val=\"" + jjj + ".\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"640\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+ oldsss1 + "指标体系得分" + toInt(oldsss6) + "分,其中:" +"</w:t></w:r></w:p>" + s2;
                ztxmjxfx = z2 +"总得分" + toInt(oldsss6) + "。自评优秀等级:" + ranking;
                //ztxmjxfx = z2 + "<w:r><w:rPr><w:rFonts w:ascii=\"宋体\" w:h-ansi=\"宋体\" w:cs=\"宋体\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + "总得分" + oldsss6 + "。自评优秀等级:" + ranking + "</w:t></w:r>";
            }
        }catch (Exception e){
            e.printStackTrace();
        }

        //存在的问题
        List<MyVo> questionList=myService.selectExistingQuestion(projectGuid, 2018);
        String czwt="";
        try {
            int i = 1;
            for (MyVo question : questionList) {
                String quesrtions = question.getQuarterQuestion();
                if (quesrtions == null) quesrtions = "";
                //czwt = czwt + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"11\"/><wx:t wx:val=\"" + i + "\" wx:wTabBefore=\"1125\" wx:wTabAfter=\"285\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:first-line-chars=\"400\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + quesrtions + "</w:t></w:r></w:p>";
                czwt = czwt + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\" wsp:rsidP=\"00A025D1\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"11\"/><wx:t wx:val=\"" + i + ".\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:first-line-chars=\"400\" w:first-line=\"1120\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>"+ quesrtions +"</w:t></w:r></w:p>\n";
                i++;
            }
        }catch (Exception e){
            e.printStackTrace();
        }

        //解决方案
        List<MyVo> measureList=myService.selectImprovementMeasure(projectGuid, 2018);
        String xmgjcs="";
        try {
            int j = 1;
            for (MyVo mea : measureList) {
                String measure = mea.getQuarterQuestion();
                if (measure == null) measure = "";
                //xmgjcs = xmgjcs + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"12\"/><wx:t wx:val=\"" + j + "\" wx:wTabBefore=\"1080\" wx:wTabAfter=\"330\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"1265\" w:hanging=\"185\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + measure + "</w:t></w:r></w:p>";
                xmgjcs = xmgjcs + "<w:p wsp:rsidR=\"00346C87\" wsp:rsidRDefault=\"006C201A\"><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"12\"/><wx:t wx:val=\"" + j + ".\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"1265\" w:hanging=\"185\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + measure + "</w:t></w:r></w:p>";
                j++;
            }
        } catch (Exception e){
            e.printStackTrace();
        }


        //意见建议
        List<MyVo> suggestionList=myService.selectSuggestions(projectGuid, 2018);
        String yjjy="";
        try {
            int k = 1;
            for (MyVo sug : suggestionList) {
                String suggestion = sug.getQuarterQuestion();
                if (suggestion == null) suggestion = "";
                yjjy = yjjy +suggestion;
                //yjjy = yjjy + "<w:p><w:pPr><w:listPr><w:ilvl w:val=\"0\"/><w:ilfo w:val=\"13\"/><wx:t wx:val=\"" + k + "\" wx:wTabBefore=\"1080\" wx:wTabAfter=\"330\"/><wx:font wx:val=\"Times New Roman\"/></w:listPr><w:ind w:left=\"1265\" w:hanging=\"185\"/><w:jc w:val=\"left\"/><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\"/><wx:font wx:val=\"Calibri\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:ascii=\"Calibri\" w:h-ansi=\"Calibri\" w:hint=\"fareast\"/><wx:font wx:val=\"宋体\"/><w:sz w:val=\"28\"/><w:sz-cs w:val=\"28\"/></w:rPr><w:t>" + suggestion + "</w:t></w:r></w:p>";
                k++;
            }
        } catch (Exception e){
            e.printStackTrace();
        }

        Map<String,Object> map=new HashMap<>();
            map.put("ltitle",ltitle);
            map.put("dwjbqk",dwjbqk);
            map.put("xmjbqk",xmjbqk);
            map.put("cwglzk", cwglzk);
            map.put("ztxmjxfx", ztxmjxfx);
            map.put("xmjxmbwcqk", xmjxmbwcqk);
            map.put("xmjxfx", xmjxfx);
            map.put("czwt", czwt);
            map.put("xmgjcs", xmgjcs);
            map.put("yjjy", yjjy);
            System.out.println(createWord(map, filepathString, destpathString));
            evaluationInformationService.updateEvaluationByProjectGuid(fileName,projectGuid);
        ReportLog reportLog=new ReportLog();
        reportLog.setProjectId(String.valueOf(projectId));
        reportLog.setReportPath(fileName);
        reportLog.setReportName("报告"+ DateUtils.dateTime());
        reportLog.setInsertTime(new java.util.Date());
        reportLogService.insertReportLog(reportLog);
        return true;
    }

html输出python HTML输出框_html输出python_03

六。完整样式页面

<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta name="ProgId" content="Excel.Sheet">
   <meta name="Generator" content="Aspose.Cell 18.4">
   <th:block th:include="include :: header('1')" />
   <th:block th:include="include :: layout-latest-css" />
   <th:block th:include="include :: ztree-css" />
   <!--[if gte mso 9]>
   <xml>
      <o:DocumentProperties>
         <o:Author>dadi</o:Author>
         <o:LastPrinted>2013-04-25T07:39:02Z</o:LastPrinted>
         <o:Created>2013-04-16T08:47:34Z</o:Created>
         <o:LastSaved>2019-07-30T13:17:22Z</o:LastSaved>
         <o:Company>Sky123.Org</o:Company>
      </o:DocumentProperties>
   </xml><![endif]-->
   <style>
      <!--table
      {mso-displayed-decimal-separator:"\.";
         mso-displayed-thousand-separator:"\,";}
      @page
      {
         mso-header-data:"";
         mso-footer-data:"";
         margin:0.984251968503937in 0.15748031496063in 0.984251968503937in 0.748031496062992in;
         mso-header-margin:0.511811023622047in;
         mso-footer-margin:0.511811023622047in;
         mso-page-orientation:Portrait;
      }
      tr
      {mso-height-source:auto;
         mso-ruby-visibility:none;}
      col
      {mso-width-source:auto;
         mso-ruby-visibility:none;}
      br
      {mso-data-placement:same-cell;}
      ruby
      {ruby-align:left;}
      .style0
      {
         mso-number-format:General;
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#000000;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:Normal;
         mso-style-id:0;}
      .font0
      {
         color:#000000;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font1
      {
         color:#000000;
         font-size:9pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font2
      {
         color:#000000;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace"; }
      .font3
      {
         color:#000000;
         font-size:16pt;
         font-weight:700;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace"; }
      .font4
      {
         color:#333399;
         font-size:18pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font5
      {
         color:#333399;
         font-size:15pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font6
      {
         color:#333399;
         font-size:13pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font7
      {
         color:#333399;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font8
      {
         color:#008000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font9
      {
         color:#800080;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font10
      {
         color:#993300;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font11
      {
         color:#333399;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font12
      {
         color:#333333;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font13
      {
         color:#FF9900;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font14
      {
         color:#FF9900;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font15
      {
         color:#CCFFCC;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font16
      {
         color:#FF0000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font17
      {
         color:#808080;
         font-size:11pt;
         font-weight:400;
         font-style:italic;
         font-family:"宋体"; }
      .font18
      {
         color:#000000;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体"; }
      .font19
      {
         color:#CCFFCC;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      .font20
      {
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体"; }
      td
      {mso-style-parent:style0;
         mso-number-format:General;
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#000000;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-ignore:padding;}
      .style0
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Normal";
      }
      .style1
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style2
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style3
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style4
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style5
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style6
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style7
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style8
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style9
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style10
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style11
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style12
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style13
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style14
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .x15
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
      }
      .style16
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#DCE6F2;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 1";
      }
      .style17
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#F2DCDB;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 2";
      }
      .style18
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#EBF1DE;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 3";
      }
      .style19
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#E6E0EC;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 4";
      }
      .style20
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#DBEEF4;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 5";
      }
      .style21
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FDEADA;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"20% - 强调文字颜色 6";
      }
      .style22
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#B9CDE5;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 1";
      }
      .style23
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#E6B9B8;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 2";
      }
      .style24
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#D7E4BD;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 3";
      }
      .style25
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#CCC1DA;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 4";
      }
      .style26
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#B7DEE8;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 5";
      }
      .style27
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FCD5B5;
         mso-pattern:auto none;
         color:#000000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"40% - 强调文字颜色 6";
      }
      .style28
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#95B3D7;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 1";
      }
      .style29
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#D99694;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 2";
      }
      .style30
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#C3D69B;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 3";
      }
      .style31
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#B3A2C7;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 4";
      }
      .style32
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#93CDDD;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 5";
      }
      .style33
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FAC090;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"60% - 强调文字颜色 6";
      }
      .style34
      {
         mso-number-format:"0%";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Percent";
      }
      .style35
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#1F497D;
         font-size:18pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"标题";
      }
      .style36
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#1F497D;
         font-size:15pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:none;
         border-right:none;
         border-bottom:3px solid #4F81BD;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"标题 1";
      }
      .style37
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#1F497D;
         font-size:13pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:none;
         border-right:none;
         border-bottom:3px solid #A7C0DE;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"标题 2";
      }
      .style38
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#1F497D;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:none;
         border-right:none;
         border-bottom:2px solid #95B3D7;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"标题 3";
      }
      .style39
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#1F497D;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"标题 4";
      }
      .style40
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FFC7CE;
         mso-pattern:auto none;
         color:#9C0006;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"差";
      }
      .style41
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#C6EFCE;
         mso-pattern:auto none;
         color:#006100;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"好";
      }
      .style42
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#000000;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:1px solid #4F81BD;
         border-right:none;
         border-bottom:4px double #4F81BD;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"汇总";
      }
      .style43
      {
         mso-number-format:"_ \0022¥\0022* \#\,\#\#0\.00_ \;_ \0022¥\0022* \\-\#\,\#\#0\.00_ \;_ \0022¥\0022* \0022-\0022??_ \;_ \@_ ";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Currency";
      }
      .style44
      {
         mso-number-format:"_ \0022¥\0022* \#\,\#\#0_ \;_ \0022¥\0022* \\-\#\,\#\#0_ \;_ \0022¥\0022* \0022-\0022_ \;_ \@_ ";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Currency [0]";
      }
      .style45
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#F2F2F2;
         mso-pattern:auto none;
         color:#FA7D00;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:1px solid #7F7F7F;
         border-right:1px solid #7F7F7F;
         border-bottom:1px solid #7F7F7F;
         border-left:1px solid #7F7F7F;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"计算";
      }
      .style46
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#A5A5A5;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:4px double #3F3F3F;
         border-right:4px double #3F3F3F;
         border-bottom:4px double #3F3F3F;
         border-left:4px double #3F3F3F;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"检查单元格";
      }
      .style47
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#7F7F7F;
         font-size:11pt;
         font-weight:400;
         font-style:italic;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"解释性文本";
      }
      .style48
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#FF0000;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"警告文本";
      }
      .style49
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         color:#FA7D00;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border-top:none;
         border-right:none;
         border-bottom:4px double #FF8001;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"链接单元格";
      }
      .style50
      {
         mso-number-format:"_ * \#\,\#\#0\.00_ \;_ * \\-\#\,\#\#0\.00_ \;_ * \0022-\0022??_ \;_ \@_ ";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Comma";
      }
      .style51
      {
         mso-number-format:"_ * \#\,\#\#0_ \;_ * \\-\#\,\#\#0_ \;_ * \0022-\0022_ \;_ \@_ ";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"Comma [0]";
      }
      .style52
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#4F81BD;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 1";
      }
      .style53
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#C0504D;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 2";
      }
      .style54
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#9BBB59;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 3";
      }
      .style55
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#8064A2;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 4";
      }
      .style56
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#4BACC6;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 5";
      }
      .style57
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#F79646;
         mso-pattern:auto none;
         color:#FFFFFF;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"强调文字颜色 6";
      }
      .style58
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FFEB9C;
         mso-pattern:auto none;
         color:#9C6500;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border:none;
         mso-protection:locked visible;
         mso-style-name:"适中";
      }
      .style59
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#F2F2F2;
         mso-pattern:auto none;
         color:#3F3F3F;
         font-size:11pt;
         font-weight:700;
         font-style:normal;
         font-family:"宋体";
         border-top:1px solid #3F3F3F;
         border-right:1px solid #3F3F3F;
         border-bottom:1px solid #3F3F3F;
         border-left:1px solid #3F3F3F;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"输出";
      }
      .style60
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FFCC99;
         mso-pattern:auto none;
         color:#3F3F76;
         font-size:11pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border-top:1px solid #7F7F7F;
         border-right:1px solid #7F7F7F;
         border-bottom:1px solid #7F7F7F;
         border-left:1px solid #7F7F7F;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"输入";
      }
      .style61
      {
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:#FFFFCC;
         mso-pattern:auto none;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"宋体";
         border-top:1px solid #B2B2B2;
         border-right:1px solid #B2B2B2;
         border-bottom:1px solid #B2B2B2;
         border-left:1px solid #B2B2B2;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
         mso-style-name:"注释";
      }
      .x62
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x63
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x64
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x65
      {
         mso-style-parent:style0;
         mso-number-format:"yyyy\0022年\0022m\0022月\0022d\0022日\0022";
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x66
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:general;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x67
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x68
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x69
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x70
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x71
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x72
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x73
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x74
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x75
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x76
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x77
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x78
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:16pt;
         font-weight:700;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x79
      {
         mso-style-parent:style0;
         mso-number-format:"\@";
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x80
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:none;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x81
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:none;
         border-bottom:none;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x82
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:none;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x83
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:16pt;
         font-weight:700;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      .x84
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:left;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:none;
         border-bottom:1px solid windowtext;
         border-left:none;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x85
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x86
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:none;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x87
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:none;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x88
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:none;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x89
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:none;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x90
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x91
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:nowrap;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:none;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x92
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border-top:1px solid windowtext;
         border-right:1px solid windowtext;
         border-bottom:1px solid windowtext;
         border-left:1px solid windowtext;
         mso-diagonal-down:none;
         mso-diagonal-up:none;
         mso-protection:locked visible;
      }
      .x93
      {
         mso-style-parent:style0;
         mso-number-format:General;
         text-align:center;
         vertical-align:middle;
         white-space:normal;word-wrap:break-word;
         background:white;
         mso-pattern:auto;
         font-size:12pt;
         font-weight:400;
         font-style:normal;
         font-family:"仿宋_GB2312","monospace";
         border:none;
         mso-protection:locked visible;
      }
      -->
   </style>
</head>

<body link='blue' vlink='purple' class='x63'>
<a class="btn btn-primary" onclick="method5('tableexcel')">
   <i class="fa fa-edit"></i> 导出EXCEL
</a>

<a class="btn btn-primary"  style="top:10px;left:10px;" onclick="doPrint('tableexcel')">
   <i class="fa fa-print"></i> 打印</a>

<input id="projectId" type="hidden" th:field="*{projectId}">
<input id="projectGuid" type="hidden">
<input id="projectNameInp" type="hidden">

<!--startprint-->
<div align="center">
   <table id="tableexcel" border='0' cellpadding='0' cellspacing='0' width='755' style='border-bottom: 0px solid #e7eaec!important;border-collapse:collapse;table-layout:fixed;width:566pt'>
      <col class='x62' width='114' style='mso-width-source:userset;width:85.5pt'>
      <col class='x62' width='164' style='mso-width-source:userset;width:123pt'>
      <col class='x63' width='86' style='mso-width-source:userset;width:64.5pt'>
      <col class='x63' width='107' style='mso-width-source:userset;width:80.25pt'>
      <col class='x63' width='72' style='mso-width-source:userset;width:54pt'>
      <col class='x63' width='140' style='mso-width-source:userset;width:105pt'>
      <col width='72' style='width:54pt'>
      <tr height='21' style='mso-height-source:userset;height:15.75pt' id='r0'>
         <td height='21' class='x62' width='114' style='height:15.75pt;width:85.5pt;'></td>
         <td class='x62' width='164' style='width:123pt;'></td>
         <td class='x63' width='86' style='width:64.5pt;'></td>
         <td class='x63' width='107' style='width:80.25pt;'></td>
         <td class='x63' width='72' style='width:54pt;'></td>
         <td class='x63' width='140' style='width:105pt;'></td>
         <td class='x63' width='72' style='width:54pt;'></td>
      </tr>
      <tr height='55' style='mso-height-source:userset;height:41.25pt' id='r1'>
         <td colspan='6' height='55' class='x78' style='height:41.25pt;text-align: center;vertical-align: middle;white-space: nowrap;font-size: 16pt;font-weight: 700;font-style: normal;font-family: "仿宋_GB2312","monospace";border: none;'>财政支出项目基本信息表</td>
         <td class='x63'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r2'>
         <td colspan='6' height='33' class='x67' style='border-bottom:1px solid windowtext;height:25.35pt;'>填报单位(盖章):</td>
         <td class='x63'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r3'>
         <td height='32' class='x64' style='height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;border-left:1px solid windowtext;'>单位名称</td>
         <td id="unitName" colspan='2' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x64' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>单位代码</td>
         <td id="unitCode" colspan='2' class='x79' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r4'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目名称</td>
         <td id="projectName" colspan='5' class='x80' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r5'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目属性</td>
         <!--        <td id="projectAttributes" colspan='5' class='x71' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>一次性项目□<span style='mso-spacerun:yes;'>  </span>阶段性项目□<span style='mso-spacerun:yes;'>  </span>经常性项目□</td>-->
         <td colspan='5' class='x71' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>一次性项目<b name='projectAttributes'class="一次性项目" >□</b><span style='mso-spacerun:yes;'>  </span>阶段性项目<b name='projectAttributes'class="阶段性项目">□</b><span style='mso-spacerun:yes;'>  </span>经常性项目<b name='projectAttributes'class="经常性项目">□</b></td>
         <td class='x63'></td>
      </tr>
      <tr height='34' class='x62' style='mso-height-source:userset;height:26.1pt' id='r6'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目类型</td>
         <!--id="projectType"--> <td colspan='5' class='x71' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>基本支出类<b name='projectAttributes'class="基本支出类">□</b><span style='mso-spacerun:yes;'>  </span>项目支出类<b name='projectAttributes'class="项目支出类">□</b><span style='mso-spacerun:yes;'>  </span>部门整体支出类<b name='projectAttributes'class="部门整体支出类">□</b></td>
         <td class='x62'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r7'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>功能科目编码</td>
         <td id="functionalCode" colspan='2' class='x74' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x66' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>功能科目名称</td>
         <td id="functionalName" colspan='2' class='x74' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r8'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目预算金额</td>
         <td id="projectBudgetAmount" colspan='5' class='x71' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='34' class='x62' style='mso-height-source:userset;height:26.1pt' id='r9'>
         <td height='32' class='x64' style='border-left:1px solid windowtext;height:24.6pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目实施单位</td>
         <td id="projectImplementationUnit" class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x64' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目负责人</td>
         <td id="projectPerson" class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x64' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>联系电话</td>
         <td id="projectHone" class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x62'></td>
      </tr>
      <tr height='34' style='mso-height-source:userset;height:26.1pt' id='r10'>
         <td height='32' class='x64'  style='border-left:1px solid windowtext;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目起止时间</td>
         <td colspan='5' class='x71' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>
            <font id="projectStartTime"></font> 至 <font id="projectEndTime"></font></td>
         <td class='x63'></td>
      </tr>
      <tr height='74' style='mso-height-source:userset;height:55.5pt' id='r11'>
         <td height='72' class='x64' style='border-left:1px solid windowtext;height:54pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>单位职能概述</td>
         <td id="unitFunctionOverview" colspan='5' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='62' style='mso-height-source:userset;height:46.5pt' id='r12'>
         <td height='60' class='x64' style='border-left:1px solid windowtext;height:45pt;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目概况</td>
         <td id="projectOverview" colspan='5' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='53' style='mso-height-source:userset;height:39.75pt' id='r13'>
         <td rowspan='3' height='210' class='x77' style='border-left:1px solid windowtext;border-right:1px solid windowtext;border-bottom:1px solid windowtext;height:157.5pt;'>项目立项情况</td>
         <td class='x64' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目立项依据</td>
         <td id="projectBasis" colspan='4' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='70' style='mso-height-source:userset;height:52.5pt' id='r14'>
         <td class='x64' style='border-left:1px solid windowtext;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目申报的可行性</td>
         <td id="feasibilityProjectDeclaration" colspan='4' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='89' style='mso-height-source:userset;height:66.75pt' id='r15'>
         <td class='x64' style='border-left:1px solid windowtext;border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>项目申报的必要性</td>
         <td id="projectFeasibility" colspan='4' class='x68' style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
         <td class='x63'></td>
      </tr>
      <tr height='19' style='mso-height-source:userset;height:14.25pt' id='r16'>
         <td height='19' class='x62' style='height:14.25pt'></td>
         <td class='x62'></td>
         <td class='x63'></td>
         <td class='x63'></td>
         <td class='x63'></td>
         <td class='x63'></td>
         <td></td>
      </tr>
      <tr height='19' style='mso-height-source:userset;height:14.25pt' id='r17'>
         <td class='x63' style='height:14.25pt;'>单位负责人:</td>
         <td id="leader"></td>
         <td class='x63'>填报人:</td>
         <td class='x63' id="fillInOne" style="text-align: left"></td>
         <td></td>
         <td class='x63'>填报日期:<span id="fillInTheDate"></span></td>
         <td class='x63' ></td>
         <td></td>
      </tr>
   </table>
</div>
<!--endprint-->
<th:block th:include="include :: footer"/>
<th:block th:include="include :: layout-latest-js"/>
<th:block th:include="include :: bootstrap-select-js"/>
<script language = 'javascript' type='text/javascript'>

   var projectId = [[${projectId}]];

   $(function() {
      if(projectId){
         initData(projectId);
      }
   });

   function initData(projId) {
      //查询数据填充div
      $.ajax({
         url: ctx + "beforehand/achiProjectInformation/projectInfo/" + projId,
         type: "get",
         dataType: "json",
         beforeSend: function () {
            $.modal.loading("加载数据中,请稍后...");
         },
         success: function (result) {
            if (result.code == web_status.SUCCESS) {
               initProjectData(result.data.achiProjectInformation);
               //intiTargetData(result.data.targetList);

               GetInfoFromTable('tableexcel');
            } else if (result.code == web_status.WARNING) {
               $.modal.alertWarning(result.msg)
            } else {
               $.modal.alertError(result.msg);
            }
         }
      });
      $.modal.closeLoading();
      return false;
   }

   /** 初始化项目数据 */
   function initProjectData(data) {
      console.log(data)
      var keys = Object.keys(data);
      for(var i=0;i<keys.length;i++){
         if(keys[i]=="projectGuid"){
            $("#"+keys[i]).val(data[keys[i]])
         }else if(keys[i]=="projectId"){
            $("#"+keys[i]).val(data[keys[i]])
         }else if(keys[i]=="projectAttributes"||keys[i]=="projectType"){
            if($("."+data[keys[i]])){
               $("."+data[keys[i]]).text('☑');
            }
         }else if(keys[i]=="projectName"){
            $("#projectNameInp").val(data[keys[i]])
            $("#"+keys[i]).text(data[keys[i]])
         }else if(keys[i]=="projectBudgetAmount"){
            $("#"+keys[i]).text(data[keys[i]] + "万元")
         }
         else if(keys[i]=="projectStartTime" || keys[i]=="projectEndTime"){
            $("#"+keys[i]).text(data[keys[i]].substr(0,4) + "年" + data[keys[i]].substr(5,2) + "月" + data[keys[i]].substr(8,2) + "日" )
         }
         else {
            $("#"+keys[i]).text(data[keys[i]])
         }
      }
   }

</script>


<script language = 'javascript' type='text/javascript'>

   function GetInfoFromTable(tableid) {
      var tableInfo = "";
      var tableObj = document.getElementById(tableid);
      for (var i = 0; i < tableObj.rows.length; i++) {    //遍历Table的所有Row
         for (var j = 0; j < tableObj.rows[i].cells.length; j++) {   //遍历Row中的每一列
            if(tableObj.rows[i].cells[j]&&tableObj.rows[i].cells[j].innerText){
               if(!tableObj.rows[i].cells[j].style.height){
                  tmp=tableObj.rows[i].offsetHeight/1.6;
                  if(tmp<15){
                     tmp=15;
                  }
                  tableObj.rows[i].cells[j].style.height=tmp+'pt';
               }
            }
            tableInfo += tableObj.rows[i].cells[j].innerText;   //获取Table中单元格的内容
            tableInfo += "   ";
         }
         tableInfo += "\n";
      }
      return tableInfo;
   }

   //第五种方法
   var idTmr;
   function  getExplorer() {
      var explorer = window.navigator.userAgent ;
      //ie
      if (explorer.indexOf("MSIE") >= 0) {
         return 'ie';
      }
      //firefox
      else if (explorer.indexOf("Firefox") >= 0) {
         return 'Firefox';
      }
      //Chrome
      else if(explorer.indexOf("Chrome") >= 0){
         return 'Chrome';
      }
      //Opera
      else if(explorer.indexOf("Opera") >= 0){
         return 'Opera';
      }
      //Safari
      else if(explorer.indexOf("Safari") >= 0){
         return 'Safari';
      }
   }

   function method5(tableid) {
      if(getExplorer()=='ie')
      {
         var curTbl = document.getElementById(tableid);
         var oXL = new ActiveXObject("Excel.Application");
         var oWB = oXL.Workbooks.Add();
         var xlsheet = oWB.Worksheets(1);
         var sel = document.body.createTextRange();
         sel.moveToElementText(curTbl);
         sel.select();
         sel.execCommand("Copy");
         xlsheet.Paste();
         oXL.Visible = true;

         try {
            var fname = oXL.Application.GetSaveAsFilename("Excel.xls", "Excel Spreadsheets (*.xls), *.xls");
         } catch (e) {
            print("Nested catch caught " + e);
         } finally {
            oWB.SaveAs(fname);
            oWB.Close(savechanges = false);
            oXL.Quit();
            oXL = null;
            idTmr = window.setInterval("Cleanup();", 1);
         }

      }
      else
      {
         tableToExcel(tableid)
      }
   }

   function Cleanup() {
      window.clearInterval(idTmr);
      CollectGarbage();
   }

   var tableToExcel = (function() {
      var uri = 'data:application/vnd.ms-excel;base64,',
            template = '<html><head><meta charset="UTF-8"></head><body><table>{table}</table></body></html>',
            base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) },
            format = function(s, c) {
               return s.replace(/{(\w+)}/g,
                     function(m, p) { return c[p]; }) }
      return function(table, name) {
         if (!table.nodeType) table = document.getElementById(table)
         var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
         window.location.href = uri + base64(format(template, ctx))
      }
   })()


   function doPrint() {
      bdhtml=window.document.body.innerHTML;
      sprnstr="<!--startprint-->"; //开始打印标识字符串有17个字符
      eprnstr="<!--endprint-->"; //结束打印标识字符串
      prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); //从开始打印标识之后的内容
      prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr)); //截取开始标识和结束标识之间的内容
      window.document.body.innerHTML=prnhtml; //把需要打印的指定内容赋给body.innerHTML
      window.print(); //调用浏览器的打印功能打印指定区域
      window.document.body.innerHTML=bdhtml;//重新给页面内容赋值;
      return false;
   }
</script>

</body>
</html>