body {
margin-left: 10px;
margin-right: 10px;
font-family: Arial Unicode MS;
font-size: 10px;
}
* {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
word-break: break-all;
}
/*lmy*/
.mt-10 {
margin-top: 10px;
}
.mb-10 {
margin-bottom: 10px;
}
.fl {
float: left;
}
.fr {
float: right;
}
.clear::after {
content: '';
display: block;
visibility: hidden;
height: 0;
clear: both;
overflow: hidden;
}
.main {
padding: 15px 40px 30px 30px;
}
.cover-content {
overflow: hidden;
position: relative;
height: 1100px;
}
.cover-content img {
width: 100%;
height: 100%;
display: none;
}
.cover-info {
position: absolute;
bottom: 20%;
left: 7%;
}
.cover-info p {
font-size: 16px;
margin-bottom: 18px;
}
.cover-info p label {
color: #D0C6FF;
}
.cover-info p span {
color: #fff;
}
.page-header {
margin-bottom: 8px;
}
.page-name {
color: #9B9B9B;
}
.page-footer {
color: #9B9B9B;
margin-top: 9px;
}
.task-detail-wrap {
padding-top: 12px;
}
.title {
position: relative;
color: #6E52EE;
margin-left: 20px;
line-height: 20px;
}
.title::before {
position: absolute;
top: 3px;
left: -10px;
content: '';
width: 3px;
height: 14px;
background-color: #6E52EE;
}
.task-detail-item {
margin-top: 10px;
padding-left: 24px;
}
.task-item {
width: 100%;
overflow: hidden;
margin-bottom: 10px;
}
.left-item {
width: 33.33%;
float: left;
}
.right-item {
width: 33.33%;
float: right;
}
.task-detail-item label {
color: #9B9B9B;
}
.task-detail-item span {
color: #000000;
}
.line {
height: 1px;
margin-bottom: 10px;
background: #DADADA;
border-radius: 2px;
}
.task-table {
font-family: Arial Unicode MS;
margin: 0 10px;
width: 100%;
}
.task-table th {
padding-top: 4px;
padding-bottom: 12px;
color: #5D5D5D;
background-color: #fff;
border-color: #CFCFCF;
}
.task-table thead tr th {
border-bottom: 1px solid #ddd;
border-radius: 2px;
}
.task-table thead th {
padding: 10px;
font-weight: normal;
table-layout: fixed;
word-break: break-all;
text-align: center;
}
.task-table thead tr {
border-bottom: 1px solid #EBEBEB;
border-radius: 2px;
}
.task-table tbody tr {
border-bottom: 1px solid #EBEBEB;
border-radius: 2px;
}
.task-table tbody tr td {
padding: 10px;
text-align: center;
color: #9B9B9B;
border-bottom: 1px solid #ddd;
}
.page {
margin: 0 10px;
clear: both;
/* height: 100vh; */
}
.page .header {
margin-top: 0;
text-align: right;
color: #9AB7FF;
padding: 15px 0;
border-bottom: 1px solid #BFBFBF;
font-size: 12px;
font-weight: bold;
}
.page .footer {
color: #9AB7FF;
padding: 5px 0;
border-top: 1px solid #BFBFBF;
font-size: 12px;
font-weight: bold;
}
/*页眉页脚*/
@media print {
@page {
margin: 0px;
padding: 0px;
margin-bottom: 20px;
}
}
.no-bold {
font-weight: normal;
}
.breakline {
word-wrap: break-word;
word-break: normal;
}
.footer {
margin-top: 10px;
}
@page {
margin: 20mm 5mm 40mm 5mm;
}
#header {
position: running(header);
}
#footer {
position: running(footer);
}
@page {
@top-center {
content: element(header);
}
@bottom-center {
content: element(footer);
}
}
#pages:before {
content: counter(page);
font-size: 10px;
}
#pages:after {
content: counter(pages);
font-size: 10px;
}
@page:first { /*设置封面*/
margin: 0pt; /*让封面的背景图占满整页*/
padding: 0pt; /*让封面的背景图占满整页*/
background: url('${imgPath}');
@top-left { /*设置首页的页眉页脚内容为空*/
content: "";
}
@top-right { /*设置首页的页眉页脚内容为空*/
content: "";
display:none;
}
@bottom-right { /*设置首页的页眉页脚内容为空*/
content:"";
}
@bottom-left { /*设置首页的页眉页脚内容为空*/
content: "";
}
@top-center {
content: "";
}
@bottom-center {
content: "";
}
}
<#setting datetime_format="yyyy-MM-dd HH:mm:ss"/>
${assetScanningTask.taskName!}
<#if (assetScanningTask.dsName)??>
${assetScanningTask.dsName!}
<#else>
#if>
${assetScanningTask.startTime!}
${assetScanningTask.endTime!}
基本信息
${assetScanningTask.taskName!}
${assetScanningTask.startTime!}
<#if assetScanningTask.scanningCycle == 1>
<#assign scanningCycle='仅一次'/>
<#elseif assetScanningTask.scanningCycle == 2>
<#assign scanningCycle='每日一次'/>
<#elseif assetScanningTask.scanningCycle == 3>
<#assign scanningCycle='每周一次'/>
<#elseif assetScanningTask.scanningCycle == 4>
<#assign scanningCycle='每月一次'/>
<#elseif assetScanningTask.scanningCycle == 5>
<#assign scanningCycle='每年一次'/>
#if>
${scanningCycle!}
${assetScanningTask.includeIp!}
<#if assetScanningTask.taskStatus == 1>
<#assign taskStatus='未开始'/>
<#elseif assetScanningTask.taskStatus == 2 >
<#assign taskStatus='执行中'/>
<#elseif assetScanningTask.taskStatus == 3>
<#assign taskStatus='停止'/>
<#elseif assetScanningTask.taskStatus == 4>
<#assign taskStatus='已完成'/>
#if>
${taskStatus!}
${assetScanningTask.port!}
${assetScanningTask.assetNum!}
${assetScanningTask.sensiAssetNum!}
列表信息
序号 | 资产IP | 资产类别 | 协议 | 端口 | 服务 | 资产状态 | 资产发现时间 | 是否敏感资产 |
---|---|---|---|---|---|---|---|---|
${x.id!} | ${x.host!} | ${x.assetType!} | ${x.protocol!} | ${x.port!} | ${x.service!} | ${x.status!} | ${x.createTime!} | ${x.isSensitive!} |