<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>配置状态统计表</title>
|
<script language="javascript" src="${common_static}/static/plugins/print/LodopFuncs.js"></script>
|
<script type="text/javascript">
|
|
var LODOP; //声明为全局变量
|
function prn1_preview() {
|
LODOP=getLodop();
|
CreateOneFormPage();
|
LODOP.PREVIEW();
|
};
|
function CreateOneFormPage(){
|
LODOP.SET_PRINT_PAGESIZE(3,10000,0,"A4");
|
|
//LODOP.ADD_PRINT_HTM("1.0cm","0.5cm","RightMargin:0.9cm","BottomMargin:9mm",document.documentElement.innerHTML);
|
LODOP.ADD_PRINT_HTM("1.0cm","0.5cm","RightMargin:0.9cm","BottomMargin:9mm",document.getElementById("printDiv").innerHTML);
|
};
|
|
function saveAsFile(){
|
LODOP=getLodop();
|
LODOP.PRINT_INIT("");
|
LODOP.ADD_PRINT_TABLE(100,20,500,80,document.getElementById("printDiv").innerHTML);
|
LODOP.SET_SAVE_MODE("Orientation",2); //Excel文件的页面设置:横向打印 1-纵向,2-横向;
|
LODOP.SET_SAVE_MODE("Zoom",90); //Excel文件的页面设置:缩放比例
|
LODOP.SET_SAVE_MODE("CenterHorizontally",true);//Excel文件的页面设置:页面水平居中
|
LODOP.SET_SAVE_MODE("CenterVertically",true); //Excel文件的页面设置:页面垂直居中
|
LODOP.SAVE_TO_FILE("配置明细统计表.xls");
|
}
|
</script>
|
<style>
|
.mytable{
|
border-collapse: collapse;
|
border-spacing: 0;
|
}
|
.mytable td{
|
padding:5px 10px;
|
border:1px solid #ccc;
|
color:#666;
|
font-size:12px;
|
line-height:24px;
|
}
|
.bgcolor {
|
background-color:#f0f0f0;
|
}
|
</style>
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/printOne.html" /]
|
<div class="check_btn clearfix" style="margin: 13px 15px 0 0;">
|
<!--[if lte IE 9]>
|
<a id="export_btn" style="float:right" tableId="reportTable" fn="配置明细统计表">Flash required</a>
|
<![endif]-->
|
<a class="common export" href="javascript:exportXlsById('reportTable','配置明细统计表');"><span>导出</span></a>
|
</div>
|
<!-- <div style="text-align:center;margin-top:30px;"><h2>配置明细统计表</h2></div> -->
|
<div id="printDiv" style="padding:0px;width:100%;height:400px;overflow:auto;margin-top: 20px;">
|
[#if ciList?? && ciList?size>0]
|
<table border="0" class="reportTable tablew" id="reportTable">
|
|
<tr class="titleTr">
|
<td colspan="13">配置明细统计表</td>
|
</tr>
|
<tr class="title" >
|
<td class="tdbg" >项目名称</td>
|
<td class="tdbg" >子项目名称</td>
|
<td class="tdbg" >配置名称</td>
|
<td class="tdbg" >搜索代码</td>
|
<!-- <td class="tdbg" >配置编码</td> -->
|
<td class="tdbg" >SN编号</td>
|
<td class="tdbg" >责任人</td>
|
<td class="tdbg" >负责科室</td>
|
<td class="tdbg" >厂商名称</td>
|
<td class="tdbg" >集成商名称</td>
|
<td class="tdbg" >创建人</td>
|
<td class="tdbg" >创建时间</td>
|
<td class="tdbg" >存放位置</td>
|
<td class="tdbg" >最后更新时间</td>
|
<td class="tdbg" >备注</td>
|
<td class="tdbg" >购买时间</td>
|
<td class="tdbg" >过保时间</td>
|
<td class="tdbg" >续保时间</td>
|
<td class="tdbg" >续保过保时间</td>
|
<td class="tdbg" >状态</td>
|
<td class="tdbg" >审计状态</td>
|
<td class="tdbg" >审计时间</td>
|
<td class="tdbg" >审计人</td>
|
[#list props.commonProp as d]
|
<td class="tdbg">${d.COLUMNNAME}</td>
|
[/#list]
|
[#if groupProps?? && groupProps?size>0]
|
[#list groupProps as group]
|
[#if (group.props?? && group.props?size>0) || (group.props1?? && group.props1?size>0)]
|
[#list group.props1 as d]
|
<td class="tdbg">${group.GROUP_NAME}+${d.COLUMNNAME}</td>
|
[/#list]
|
[#list group.props as d]
|
<td class="tdbg">${group.GROUP_NAME}+${d.COLUMNNAME}</td>
|
[/#list]
|
[/#if]
|
[/#list]
|
[/#if]
|
</tr>
|
[#list ciList as ci]
|
<tr>
|
<td>${ci.CUS_NAME}</td>
|
<td>${ci.SUB_CUS_NAME}</td>
|
<td>${ci.CINAME}</td>
|
<td>${ci.SEARCHCODE}</td>
|
<!-- <td>${ci.CODE}</td> -->
|
<td>${ci.SN_NO}</td>
|
<td>${ci.ZR_NAME}</td>
|
<td>${ci.ZR_DEPT}</td>
|
<td>${ci.MFT_NAME}</td>
|
<td>${ci.IGT_NAME}</td>
|
<td>${ci.CREATE_NAME}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.CREATE_TIME)}</td>
|
<td>${ci.POSITION}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.LAST_UP_TIME)}</td>
|
<td>${ci.NOTE}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.BUY_TIME)}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.GB_TIME)}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.XB_TIME)}</td>
|
<td>${DateUtil.format('yyyy-MM-dd',ci.XBGB_TIME)}</td>
|
<td>
|
[#if ci.STATE==0]
|
未启用
|
[#elseif ci.STATE==1]
|
正常
|
[#elseif ci.STATE==2]
|
废弃
|
[#elseif ci.STATE==3]
|
维护中
|
[#elseif ci.STATE==4]
|
备用
|
[/#if]
|
</td>
|
<td>
|
[#if ci.SJ_STATE==1]
|
匹配
|
[#elseif ci.SJ_STATE==2]
|
不匹配
|
[#elseif ci.SJ_STATE==3]
|
丢失
|
[#elseif ci.SJ_STATE==4]
|
未审计
|
[/#if]
|
</td>
|
<td>${DateUtil.format("yyyy-MM-dd HH:mm:ss",ci.SJ_TIME)}</td>
|
<td>${ci.SJ_USER_NAME}</td>
|
[#list props.commonProp as d]
|
<td>
|
[#if d.DATATYPE==1 || d.DATATYPE==2]
|
${ci.dataAll[d.ID]}
|
[/#if]
|
[#if d.DATATYPE==4]
|
${DateUtil.format("yyyy-MM-dd",ci.dataAll[d.ID])}
|
[/#if]
|
[#if d.DATATYPE==5]
|
[#if d.DATATYPE==5]
|
[#list d.items as item]
|
[#if item.ID == ci.dataAll[d.ID]]
|
${item.ITEMVALUE}
|
[/#if]
|
[/#list]
|
[/#if]
|
[/#if]
|
</td>
|
[/#list]
|
[#if groupProps?? && groupProps?size>0]
|
[#list groupProps as group]
|
[#if (group.props?? && group.props?size>0) || (group.props1?? && group.props1?size>0)]
|
[#list group.props1 as d]
|
[#if d.DATATYPE==6]
|
[#if d.items??]
|
[#list d.items as item]
|
[#if itemVal?contains(item.ID)]<td>${item.ITEMVALUE}</td>
|
[#else]
|
<td></td>
|
[/#if]
|
[/#list]
|
[#else]
|
<td></td>
|
[/#if]
|
[#else]
|
<td>${ci.dataAll[d.ID]}</td>
|
[/#if]
|
[/#list]
|
|
[#list group.props as d]
|
[#if d.DATATYPE==6]
|
[#if d.items??]
|
[#list d.items as item]
|
[#if itemVal?contains(item.ID)]<td>${item.ITEMVALUE}</td>
|
[#else]
|
<td></td>
|
[/#if]
|
[/#list]
|
[#else]
|
<td></td>
|
[/#if]
|
[#else]
|
<td>${ci.dataAll[d.ID]}</td>
|
[/#if]
|
[/#list]
|
|
[/#if]
|
[/#list]
|
[/#if]
|
</tr>
|
[/#list]
|
[/#if]
|
</table>
|
</div>
|
</body>
|
</html>
|