提交 a76174c0 authored 作者: 133's avatar 133

[用户模版修改]

上级 d59a4300
...@@ -8,7 +8,6 @@ import com.itextpdf.text.pdf.PdfWriter; ...@@ -8,7 +8,6 @@ import com.itextpdf.text.pdf.PdfWriter;
import com.tykj.dev.config.swagger.AutoDocument; import com.tykj.dev.config.swagger.AutoDocument;
import com.tykj.dev.device.file.entity.*; import com.tykj.dev.device.file.entity.*;
import com.tykj.dev.device.file.service.UseReportFIleService; import com.tykj.dev.device.file.service.UseReportFIleService;
import com.tykj.dev.device.file.util.ArrayUtil;
import com.tykj.dev.device.file.util.JavaToPdfHtmlFreeMarker; import com.tykj.dev.device.file.util.JavaToPdfHtmlFreeMarker;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
...@@ -28,8 +27,6 @@ import java.util.ArrayList; ...@@ -28,8 +27,6 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
import java.util.UUID; import java.util.UUID;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/** /**
* @author zjm * @author zjm
......
...@@ -28,6 +28,9 @@ public class DocumentDevice { ...@@ -28,6 +28,9 @@ public class DocumentDevice {
@ApiModelProperty(value = "部件") @ApiModelProperty(value = "部件")
private String parts; private String parts;
@ApiModelProperty(value = "类型")
private String type;
@ApiModelProperty(value = "类型") @ApiModelProperty(value = "类型")
private String category; private String category;
......
...@@ -33,4 +33,8 @@ public class ExportDevice { ...@@ -33,4 +33,8 @@ public class ExportDevice {
private String ownUnit; private String ownUnit;
private int titleCount;
private String type;
} }
...@@ -5,7 +5,6 @@ import com.tykj.dev.device.file.entity.Documents; ...@@ -5,7 +5,6 @@ import com.tykj.dev.device.file.entity.Documents;
import com.tykj.dev.device.file.entity.FileRet; import com.tykj.dev.device.file.entity.FileRet;
import com.tykj.dev.device.file.service.PdfService; import com.tykj.dev.device.file.service.PdfService;
import com.tykj.dev.device.file.util.JavaToPdfHtmlFreeMarker; import com.tykj.dev.device.file.util.JavaToPdfHtmlFreeMarker;
import com.tykj.dev.device.library.subject.vo.Script;
import com.tykj.dev.device.library.subject.vo.ScriptSaveVo; import com.tykj.dev.device.library.subject.vo.ScriptSaveVo;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -37,7 +36,8 @@ public class PdfServiceImpl implements PdfService { ...@@ -37,7 +36,8 @@ public class PdfServiceImpl implements PdfService {
} }
private DocumentDevice toDocDev(ScriptSaveVo scriptSaveVo){ private DocumentDevice toDocDev(ScriptSaveVo scriptSaveVo){
return new DocumentDevice(null,scriptSaveVo.getModel(),null,scriptSaveVo.getType(),scriptSaveVo.getSecretLevel(),scriptSaveVo.getInvisibleRange(),scriptSaveVo.getNum(),scriptSaveVo.getSeqNumber(),null,scriptSaveVo.getRemark(),null,null,null,null,null); // return new DocumentDevice(null,scriptSaveVo.getModel(),null,scriptSaveVo.getType(),scriptSaveVo.getSecretLevel(),scriptSaveVo.getInvisibleRange(),scriptSaveVo.getNum(),scriptSaveVo.getSeqNumber(),null,scriptSaveVo.getRemark(),null,null,null,null,null,null);
return new DocumentDevice();
} }
} }
...@@ -2,7 +2,6 @@ package com.tykj.dev.device.file.service; ...@@ -2,7 +2,6 @@ package com.tykj.dev.device.file.service;
import com.tykj.dev.device.file.entity.Documents; import com.tykj.dev.device.file.entity.Documents;
import com.tykj.dev.device.file.entity.FileRet; import com.tykj.dev.device.file.entity.FileRet;
import com.tykj.dev.device.file.util.JavaToPdfHtmlFreeMarker;
/** /**
* @author zjm * @author zjm
......
...@@ -390,9 +390,10 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -390,9 +390,10 @@ public class JavaToPdfHtmlFreeMarker {
private static List<String> toListString(String str,int len) throws UnsupportedEncodingException { private static List<String> toListString(String str,int len) throws UnsupportedEncodingException {
List<String> list =new ArrayList<>(); List<String> list =new ArrayList<>();
int stringLen=String_length(str); if (str!=null && !str.equals("")) {
int count=(stringLen%len >0) ? stringLen/len +1 : stringLen/len; int stringLen = String_length(str);
if (stringLen>len){ int count = (stringLen % len > 0) ? stringLen / len + 1 : stringLen / len;
if (stringLen > len) {
// boolean falg=true; // boolean falg=true;
// int i=0; // int i=0;
// while (falg){ // while (falg){
...@@ -404,18 +405,21 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -404,18 +405,21 @@ public class JavaToPdfHtmlFreeMarker {
// i++; // i++;
// } // }
// } // }
for (int i=1;i<=count;i++){ for (int i = 1; i <= count; i++) {
if (i*len<stringLen){ if (i * len < stringLen) {
list.add(subString(str,(i-1)*len,i*len,"GBK")+"<br/>"); list.add(subString(str, (i - 1) * len, i * len, "GBK") + "<br/>");
}else { } else {
list.add(subString(str,(i-1)*len,stringLen,"GBK")+"<br/>"); list.add(subString(str, (i - 1) * len, stringLen, "GBK") + "<br/>");
}
} }
return list;
} else {
list.add(str);
return list;
} }
return list;
}else { }else {
list.add(str); return list;
return list;
} }
} }
...@@ -775,7 +779,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -775,7 +779,7 @@ public class JavaToPdfHtmlFreeMarker {
} }
} }
); );
List<Check> checkList = map.values().stream().sorted(Comparator.comparing(Check::getModel)).collect(Collectors.toList()); List<Check> checkList = map.values().stream().sorted(Comparator.comparing(Check::getModel).thenComparing(Check::getName)).collect(Collectors.toList());
List<Check> checkList2 = new ArrayList<>(); List<Check> checkList2 = new ArrayList<>();
int i = 0; int i = 0;
for (int j = 0; j < checkList.size(); j++) { for (int j = 0; j < checkList.size(); j++) {
...@@ -1581,7 +1585,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1581,7 +1585,7 @@ public class JavaToPdfHtmlFreeMarker {
public static List<List<Revenue>> toRevenueList2(List<Revenue> deviceList) throws UnsupportedEncodingException { public static List<List<Revenue>> toRevenueList2(List<Revenue> deviceList) throws UnsupportedEncodingException {
List<List<Revenue>> lists=new ArrayList<>(); List<List<Revenue>> lists=new ArrayList<>();
List<Revenue> revenues=new ArrayList<>(); List<Revenue> revenues=new ArrayList<>();
deviceList=deviceList.stream().sorted(Comparator.comparing(Revenue::getModel)).collect(Collectors.toList()); deviceList=deviceList.stream().sorted(Comparator.comparing(Revenue::getModel).thenComparing(Revenue::getPart)).collect(Collectors.toList());
Integer code=0; Integer code=0;
int i=0; int i=0;
for (int j=0;j< deviceList.size();j++){ for (int j=0;j< deviceList.size();j++){
...@@ -1699,6 +1703,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1699,6 +1703,7 @@ public class JavaToPdfHtmlFreeMarker {
/** /**
* freemarker渲染html 核查确认单据 修改 * freemarker渲染html 核查确认单据 修改
*/ */
public static String[] freeMarkerRenderExportDevice(Confirm confirm,String htmlPath) { public static String[] freeMarkerRenderExportDevice(Confirm confirm,String htmlPath) {
Writer out = new StringWriter(); Writer out = new StringWriter();
String [] strings=new String[100000]; String [] strings=new String[100000];
...@@ -1736,9 +1741,11 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1736,9 +1741,11 @@ public class JavaToPdfHtmlFreeMarker {
return null; return null;
} }
public static List<List<ExportDevice>> toExportDeviceList(List<DocumentDevice> deviceList,String unit) throws UnsupportedEncodingException { public static List<List<ExportDevice>> toExportDeviceList(List<DocumentDevice> deviceList, String unit) throws UnsupportedEncodingException {
List<List<ExportDevice>> lists = new ArrayList<>(); List<List<ExportDevice>> lists = new ArrayList<>();
Map<String, ExportDevice> map = new HashMap<>(); Map<String, ExportDevice> map = new HashMap<>();
int pageSize=20;
int seqPageSize=9;
deviceList.forEach( deviceList.forEach(
documentDevice -> { documentDevice -> {
String key = documentDevice.getModel() + documentDevice.getParts()+documentDevice.getStore()+documentDevice.getOwnUnit(); String key = documentDevice.getModel() + documentDevice.getParts()+documentDevice.getStore()+documentDevice.getOwnUnit();
...@@ -1755,6 +1762,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1755,6 +1762,7 @@ public class JavaToPdfHtmlFreeMarker {
check.setCount(1); check.setCount(1);
check.setStore(documentDevice.getStore()); check.setStore(documentDevice.getStore());
check.setOwnUnit(documentDevice.getOwnUnit()); check.setOwnUnit(documentDevice.getOwnUnit());
check.setType(documentDevice.getType());
check.setModel(documentDevice.getModel()); check.setModel(documentDevice.getModel());
check.setName(documentDevice.getParts()); check.setName(documentDevice.getParts());
strings.add(documentDevice.getDeviceSerialNumber()); strings.add(documentDevice.getDeviceSerialNumber());
...@@ -1763,72 +1771,147 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1763,72 +1771,147 @@ public class JavaToPdfHtmlFreeMarker {
} }
} }
); );
List<ExportDevice> checkList = map.values().stream().sorted(Comparator.comparing(ExportDevice::getModel)).collect(Collectors.toList()); List<ExportDevice> checkList = map.values().stream().sorted(Comparator.comparing(ExportDevice::getModel).thenComparing(ExportDevice::getName)).collect(Collectors.toList());
List<ExportDevice> checkList2 = new ArrayList<>(); List<ExportDevice> checkList2 = new ArrayList<>();
int i = 0; int i = 0;
for (int j = 0; j < checkList.size(); j++) { for (int j = 0; j < checkList.size(); j++) {
ExportDevice check = checkList.get(j); ExportDevice check = checkList.get(j);
List<String> stringList = check.getStrings().stream().sorted(Comparator.comparing(String::toString)).collect(Collectors.toList()); List<String> stringList = check.getStrings().stream().sorted(Comparator.comparing(String::toString)).collect(Collectors.toList());
int max = toMaxList(check.getStrings()) + 1; int oneMax=toDeviceMax(check.getName(),check.getModel(),check.getOwnUnit(),check.getStore());
int max = toMaxDeviceList(check.getStrings()) + oneMax;
if (i + max == 30) { if (i + max == pageSize) {
check.setSeqStirng(toALLSeqStirng(stringList)); check.setSeqStirng(toALLDeviceSeqStirng(stringList));
check.setOneCount(max - 1); check.setOneCount(max - oneMax);
check.setTitleCount(oneMax);
checkList2.add(check); checkList2.add(check);
lists.add(checkList2); lists.add(checkList2);
checkList2 = new ArrayList<>(); checkList2 = new ArrayList<>();
i = 0; i = 0;
} else if (i + max > 30) { } else if (i + max > pageSize) {
//当前页面少了多少行 //当前页面少了多少行
int differ = 30 - i; int differ = pageSize - i;
check.setSeqStirng(toALLSeqStirng(stringList.subList(0, (differ-1) * 7))); int oneDiffer=0;
check.setOneCount(differ - 1); List<String> modelList= toListString(check.getModel(),20);
List<String> nameList=toListString(check.getName(),20);
List<String> ownNameList= toListString(check.getOwnUnit(),20);
List<String> storeList=toListString(check.getStore(),20);
ExportDevice oneCheck=new ExportDevice();
if (differ > oneMax){
if (differ-oneMax>max-oneMax) {
check.setSeqStirng(toALLDeviceSeqStirng(stringList.subList(0, stringList.size())));
stringList=new ArrayList<>();
}else {
check.setSeqStirng(toALLDeviceSeqStirng(stringList.subList(0, (differ-oneMax)*seqPageSize)));
stringList=stringList.subList((differ-oneMax)*seqPageSize,stringList.size());
}
check.setOneCount(differ-oneMax);
check.setTitleCount(oneMax);
oneCheck.setTitleCount(1);
}else {
oneDiffer=oneMax-differ;
check.setTitleCount(oneMax-oneDiffer);
check.setOneCount(0);
if (modelList.size()>differ){
check.setModel(String.join("",modelList.subList(0,differ)));
oneCheck.setModel(String.join("",modelList.subList(differ,modelList.size())));
}else {
check.setModel(String.join("",modelList.subList(0,modelList.size())));
}
if (nameList.size()>differ){
check.setName(String.join("",nameList.subList(0,differ)));
oneCheck.setName(String.join("",nameList.subList(differ,nameList.size())));
}else {
check.setName(String.join("",nameList.subList(0,nameList.size())));
}
if (ownNameList.size()>differ){
check.setOwnUnit(String.join("",ownNameList.subList(0,differ)));
oneCheck.setOwnUnit(String.join("",ownNameList.subList(differ,ownNameList.size())));
}else {
check.setOwnUnit(String.join("",ownNameList.subList(0,ownNameList.size())));
}
if (storeList.size()>differ){
check.setStore(String.join("",storeList.subList(0,differ)));
oneCheck.setStore(String.join("",storeList.subList(differ,storeList.size())));
}else {
check.setTitleCount(storeList.size());
check.setStore(String.join("",storeList.subList(0,storeList.size())));
}
oneCheck.setTitleCount(oneMax-differ);
check.setTitleCount(differ-oneDiffer);
}
checkList2.add(check); checkList2.add(check);
lists.add(checkList2); lists.add(checkList2);
checkList2 = new ArrayList<>(); checkList2 = new ArrayList<>();
List<String> strings = stringList.subList((differ-1) * 7, stringList.size()); int max2 = toMaxDeviceList(stringList);
Integer max2 = toMaxList(strings); if (max2+oneDiffer >pageSize) {
oneCheck.setOneCount(pageSize - oneDiffer);
int count = (max2 % 30 > 0) ? max2 / 30 + 1 : max2 / 30; oneCheck.setSeqStirng(toALLDeviceSeqStirng(stringList.subList(0, pageSize - oneDiffer)));
if (count != 1) { checkList2.add(oneCheck);
int o = 1; lists.add(checkList2);
while (o <= count - 1) { checkList2 = new ArrayList<>();
ExportDevice check1 = new ExportDevice(); stringList = stringList.subList(pageSize - oneDiffer, stringList.size());
check1.setSeqStirng(toALLSeqStirng(strings.subList((o - 1) * 7 * 30, o * 7 * 30))); max2 = toMaxDeviceList(stringList);
check1.setOneCount(30); int count = (max2 % pageSize > 0) ? max2 / pageSize + 1 : max2 / pageSize;
checkList2.add(check1); if (count != 1) {
lists.add(checkList2); int o = 1;
checkList2 = new ArrayList<>(); while (o <= count - 1) {
o++; ExportDevice check1 = new ExportDevice();
} check1.setSeqStirng(toALLDeviceSeqStirng(stringList.subList((o - 1) * seqPageSize * pageSize, o * seqPageSize * pageSize)));
List<String> endList = strings.subList((count - 1) * 7 * 30, strings.size()); check1.setOneCount(pageSize);
Integer max4 = toMaxList(endList); checkList2.add(check1);
int count1 = (max4 % 30 > 0) ? max4 / 30 + 1 : max4 / 30; lists.add(checkList2);
if (count1 == 30) { checkList2 = new ArrayList<>();
ExportDevice check1 = new ExportDevice(); o++;
check1.setSeqStirng(toALLSeqStirng(endList)); }
check1.setOneCount(30); List<String> endList = stringList.subList((count - 1) * seqPageSize * pageSize, stringList.size());
checkList2.add(check1); Integer max4 = toMaxDeviceList(endList);
lists.add(checkList2); int count1 = (max4 % pageSize > 0) ? max4 / pageSize + 1 : max4 / pageSize;
checkList2 = new ArrayList<>(); if (count1 == pageSize) {
i = 0; ExportDevice check1 = new ExportDevice();
check1.setSeqStirng(toALLDeviceSeqStirng(endList));
check1.setOneCount(pageSize);
checkList2.add(check1);
lists.add(checkList2);
checkList2 = new ArrayList<>();
i = 0;
} else {
ExportDevice check1 = new ExportDevice();
check1.setOneCount(max4);
check1.setSeqStirng(toALLDeviceSeqStirng(endList));
checkList2.add(check1);
i = max4;
}
} else { } else {
ExportDevice check1 = new ExportDevice(); ExportDevice check1 = new ExportDevice();
check1.setOneCount(max4); check1.setOneCount(toMaxDeviceList(stringList));
check1.setSeqStirng(toALLSeqStirng(endList)); check1.setSeqStirng(toALLDeviceSeqStirng(stringList));
checkList2.add(check1); checkList2.add(check1);
i = max4; i = toMaxDeviceList(stringList);
} }
} else { }else {
ExportDevice check1 = new ExportDevice(); int count=toMaxDeviceList(stringList);
check1.setOneCount(toMaxList(strings)); oneCheck.setOneCount(count);
check1.setSeqStirng(toALLSeqStirng(strings)); oneCheck.setSeqStirng(toALLDeviceSeqStirng(stringList));
checkList2.add(check1); checkList2.add(oneCheck);
i = toMaxList(strings); i=count+oneDiffer;
} }
} else { } else {
check.setSeqStirng(toALLSeqStirng(stringList)); check.setTitleCount(oneMax);
check.setOneCount(max - 1); List<String> modelList= toListString(check.getModel(),20);
List<String> nameList=toListString(check.getName(),20);
List<String> ownNameList= toListString(check.getOwnUnit(),20);
List<String> storeList=toListString(check.getStore(),20);
check.setStore(String.join("",storeList));
check.setOwnUnit(String.join("",ownNameList));
check.setModel(String.join("",modelList));
check.setName(String.join("",nameList));
check.setSeqStirng(toALLDeviceSeqStirng(stringList));
check.setOneCount(max - oneMax);
checkList2.add(check); checkList2.add(check);
i = i + max; i = i + max;
} }
...@@ -1848,5 +1931,47 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -1848,5 +1931,47 @@ public class JavaToPdfHtmlFreeMarker {
data.put("time",time); data.put("time",time);
return data; return data;
} }
private static int toMaxDeviceList(List<String> strings){
Integer count=strings.size();
return (count%9>0) ? count/9 + 1 : count/9;
}
private static int toDeviceMax(String parts,String model,String ownName,String des){
int partsCount=String_length(parts);
int modelCount=String_length(model);
int ownNameCount=String_length(ownName);
int desCount=String_length(des);
int partsMax = (partsCount%20>0) ? partsCount/20 + 1 : partsCount/20;
int modelMax=(modelCount%20>0) ? modelCount/20 + 1 : modelCount/20;
int ownNameMax = (ownNameCount%20>0) ? ownNameCount/20 + 1 : ownNameCount/20;
int desMax=(desCount%20>0) ? desCount/20 + 1 : desCount/20;
int max=partsMax;
//求最大
if(max<modelMax){
max=modelMax;
}
if (max<ownNameMax){
max=ownNameMax;
}
if (max<desMax){
max=desMax;
}
return max;
}
private static String toALLDeviceSeqStirng(List<String> strings){
int page=9;
int count=toMaxDeviceList(strings);
StringBuilder allStirng= new StringBuilder();
for (int i=1;i<=count;i++){
if (i!=count) {
allStirng.append(seqToString(strings.subList((i - 1) * page, i * page)));
}else {
allStirng.append(seqToString(strings.subList((i - 1) * page, strings.size())));
}
}
return allStirng.toString();
}
} }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
<style>
body {
margin: 0;
padding: 0;
font-family: FangSong_GB2312;
}
.bottomTxt {
text-align: center;
font-size: 10px;
color: #646464;
height: 10px;
line-height: 10px;
}
/*@page{size:297mm 210mm;}<!-- 设置PDF页面大小,此配置只对生成PDF文件有效,不会对页面显示生效 -->*/
@page {
/*size: 210mm 297mm;*/
size: 297mm 210mm;
/*margin: 0.25in;*/
/*-fs-flow-bottom: "footer";*/
/*-fs-flow-left: "left";*/
/*-fs-flow-right: "right";*/
/*border: thin solid black;*/
/*padding: 1em;*/
}
.returnTablePrint {
width: 100%;
height: 100%;
overflow: hidden;
color: #000;
cursor: default;
}
.returnTablePrint .content {
width: 100%;
height: 100%;
/* background: url("../../../assets/img/detailsBg.png") no-repeat; */
/*background-size: 100% 100%;*/
/*padding: 30px;*/
/*box-sizing: border-box;*/
}
.returnTablePrint .content>div {
width: 100%;
height: 100%;
background: #fff;
/* padding: 30px; */
box-sizing: border-box;
}
.returnTablePrint .content>p {
width: 100%;
text-align: center;
font-size: 22px;
font-weight: bold;
color: #4a475d;
}
.returnTablePrint .listWrapper {
/* width: 92%; */
margin: 0 auto;
/* padding: 0px 20px 20px 20px; */
height: calc(100% - 70px);
/*padding: 10px 30px;*/
box-sizing: border-box;
}
.returnTablePrint .list {
/* width: 92%; */
margin: 0 auto;
/* padding: 0px 20px 20px 20px; */
/* height: calc(100% - 75px); */
height: calc(100% - 12px)
}
.returnTablePrint .title {
width: 100%;
font-size: 20px;
text-align: center;
position: relative;
margin: 0;
padding: 0;
box-sizing: border-box;
margin-top: 9px;
}
.returnTablePrint .title span:nth-child(2) {
font-size: 28px;
color: #000000;
}
.returnTablePrint .title span:nth-child(2) span {
font-size: 20px;
color: #141414;
}
.returnTablePrint .main-title {
font-size: 24px;
color: #000000;
text-align: center;
}
table.altrowstable {
width: 100%;
font-size: 14px;
color: #141414;
border-width: 0px;
border-color: #000;
border-collapse: collapse;
text-align: center;
table-layout: fixed;
word-break: break-all;
}
table.altrowstable th {
border-width: 1px;
padding: 0px;
border-style: solid;
border-color: #ccc;
background-color: #dedede;
height: 25px;
line-height: 25px;
font-size: 15px;
}
table.altrowstable td {
height: 23px;
line-height:23px;
font-size: 15px;
word-break: break-all;
word-wrap: break-word;
border:1px solid #bebebe;
width: 100%;
}
.td2{
height: 50px !important;
line-height:24px;
}
.td3{
height: 75px !important;
line-height:24px;
}
.td4{
line-height:24px;
height: 100px !important;
}
.td5{
line-height:24px;
height: 125px !important;
}
.td6{
line-height:24px;
height: 150px !important;
}
.td7{
line-height:24px;
height: 175px !important;
}
.td8{
line-height:24px;
height: 200px !important;
}
.td9{
line-height:24px;
height: 225px !important;
}
.td10{
line-height:24px;
height: 250px !important;
}
.td11{
line-height:24px;
height: 275px !important;
}
.td12{
line-height:24px;
height: 300px !important;
}
.td13{
line-height:24px;
height: 325px !important;
}
.td14{
line-height:24px;
height: 350px !important;
}
.td15{
line-height:24px;
height: 375px !important;
}
.td16{
line-height:24px;
height: 400px !important;
}
.td17{
height: 425px !important;
line-height:24px;
}
.td18{
line-height:24px;
height: 450px !important;
}
.td19{
line-height:24px;
height: 475px !important;
}
.td20{
line-height:24px;
height: 500px !important;
}
.td21{
line-height:24px;
height: 525px !important;
}
.td22{
line-height:24px;
height: 550px !important;
}
.td23{
line-height:24px;
height: 575px !important;
}
.td24{
line-height:24px;
height: 600px !important;
}
.td25{
line-height:24px;
height: 625px !important;
}
.td25{
line-height:24px;
height: 650px !important;
}
.oddrowcolor {
background-color: #fff;
}
.evenrowcolor {
background-color: #fafafa;
}
.person {
color: #4a475b;
text-align: right;
font-size: 16px;
}
.person>span {
display: inline-block;
margin-right: 30pt;
}
/* tr:nth-child(odd) {
background: #fafafa;
} */
</style>
</head>
<body>
<div class="returnTablePrint">
<div class="content">
<div>
<div class="listWrapper">
<div class="list">
<p class="title" style="margin-bottom:20px;">
<div class="main-title">
<span>
核心密码装备库存统计表
</span>
</div>
</p>
<div style="height: 530px;border:2px solid #000">
<table class="altrowstable" id="alternatecolor">
<tr>
<th width="190px">型号</th>
<th width="190px">名称</th>
<th width="190px">形态</th>
<th width="190px">所属单位</th>
<th width="190px">存放位置</th>
<th>数量</th>
</tr>
<#list checks as dev>
<!--<table class="altrowstable" id="alternatecolor">-->
<!--<tr>-->
<!--<th>型号</th>-->
<!--<th>名称</th>-->
<!--<th>所属单位</th>-->
<!--<th>存放位置</th>-->
<!--<th>数量</th>-->
<!--</tr>-->
<#if (dev.model)?? || (dev.name)?? || (dev.ownUnit)?? || (dev.store)??>
<tr>
<td>${dev.model!}</td>
<td>${dev.name!}</td>
<td>${dev.type!}</td>
<td>${dev.ownUnit!}</td>
<#if dev.titleCount == 1 || (dev.titleCount)==0>
<td style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 2>
<td class="td2" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 3>
<td class="td3" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 4>
<td class="td4" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 5>
<td class="td5" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 6>
<td class="td6" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 7>
<td class="td7" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 8>
<td class="td8" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 9>
<td class="td9" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 10>
<td class="td10" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 11>
<td class="td11" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 12>
<td class="td12" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 13>
<td class="td13" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 14>
<td class="td14" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 15>
<td class="td15" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 16>
<td class="td16" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 17>
<td class="td17" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 18>
<td class="td18" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 19>
<td class="td19" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 20>
<td class="td20" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 21>
<td class="td21" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 22>
<td class="td22" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 23>
<td class="td23" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 24>
<td class="td24" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 25>
<td class="td25" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 26>
<td class="td26" style="text-align: center;color: #555;">${dev.store!}</td>
</#if>
<!--<td>${dev.store!}</td>-->
<td>${dev.count!}</td>
</tr>
</#if>
<tr>
<#if dev.oneCount == 1>
<td colspan="6" style="text-align: left;padding: 0 2em;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 2>
<td colspan="6" class="td2" style="text-align: left;padding: 0 2em;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 3>
<td colspan="6" class="td3" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 4>
<td colspan="6" class="td4" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 5>
<td colspan="6" class="td5" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 6>
<td colspan="6" class="td6" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 7>
<td colspan="6" class="td7" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 8>
<td colspan="6" class="td8" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 9>
<td colspan="6" class="td9" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 10>
<td colspan="6" class="td10" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 11>
<td colspan="6" class="td11" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 12>
<td colspan="6" class="td12" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 13>
<td colspan="6" class="td13" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 14>
<td colspan="6" class="td14" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 15>
<td colspan="6" class="td15" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 16>
<td colspan="6" class="td16" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 17>
<td colspan="6" class="td17" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 18>
<td colspan="6" class="td18" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 19>
<td colspan="6" class="td19" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 20>
<td colspan="6" class="td20" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 21>
<td colspan="6" class="td21" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 22>
<td colspan="6" class="td22" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 23>
<td colspan="6" class="td23" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 24>
<td colspan="6" class="td24" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 25>
<td colspan="6" class="td25" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 26>
<td colspan="6" class="td26" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
</#if>
</tr>
</#list>
</table>
</div>
</div>
<p class="person" style="margin-top: 20px;font-size: 10px;width: 100%;text-align: left;">
<span style="width: 200px;text-align: center;width: 49%;margin: 0;">制表单位:${unit!}</span>
<span style="width: 200px;text-align: center;width: 49%;margin: 0;">制表时间:${time!}</span>
<!--<span style="width: 200px;text-align: center;width: 24%;margin: 0;">经办人:</span>-->
<!--<span style="width: 200px;text-align: center;width: 24%;margin: 0;">审核人:</span>-->
</p>
</div>
</div>
</div>
<div>
<!--<p class="bottomTxt" style="float: left;">注:编号连续使用"-"省略</p>-->
<p class="bottomTxt" style="float: right;">第${page}页/共${count}页</p>
</div>
</div>
<!--<script type="text/javascript">-->
<!--function altRows(id){-->
<!--if(document.getElementsByTagName){-->
<!--var table = document.getElementById(id);-->
<!--var rows = table.getElementsByTagName("tr");-->
<!--for(i = 0; i < rows.length; i++){-->
<!--if(i % 2 == 0){-->
<!--rows[i].className = "evenrowcolor";-->
<!--}else{-->
<!--rows[i].className = "oddrowcolor";-->
<!--}-->
<!--}-->
<!--}-->
<!--}-->
<!--window.onload=function(){-->
<!--altRows('alternatecolor');-->
<!--}-->
<!--</script>-->
</body>
</html>
\ No newline at end of file
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
/*@page{size:297mm 210mm;}<!-- 设置PDF页面大小,此配置只对生成PDF文件有效,不会对页面显示生效 -->*/ /*@page{size:297mm 210mm;}<!-- 设置PDF页面大小,此配置只对生成PDF文件有效,不会对页面显示生效 -->*/
@page { @page {
size: 210mm 297mm; /*size: 210mm 297mm;*/
size: 297mm 210mm;
/*margin: 0.25in;*/ /*margin: 0.25in;*/
/*-fs-flow-bottom: "footer";*/ /*-fs-flow-bottom: "footer";*/
/*-fs-flow-left: "left";*/ /*-fs-flow-left: "left";*/
...@@ -141,123 +142,128 @@ ...@@ -141,123 +142,128 @@
} }
.td2{ .td2{
height: 50px !important; height: 50px !important;
line-height:25px; line-height:24px;
} }
.td3{ .td3{
height: 75px !important; height: 75px !important;
line-height:25px; line-height:24px;
} }
.td4{ .td4{
line-height:25px; line-height:24px;
height: 100px !important; height: 100px !important;
} }
.td5{ .td5{
line-height:25px; line-height:24px;
height: 125px !important; height: 125px !important;
} }
.td6{ .td6{
line-height:25px; line-height:24px;
height: 150px !important; height: 150px !important;
} }
.td7{ .td7{
line-height:25px; line-height:24px;
height: 175px !important; height: 175px !important;
} }
.td8{ .td8{
line-height:25px; line-height:24px;
height: 200px !important; height: 200px !important;
} }
.td9{ .td9{
line-height:25px; line-height:24px;
height: 225px !important; height: 225px !important;
} }
.td10{ .td10{
line-height:25px; line-height:24px;
height: 250px !important; height: 250px !important;
} }
.td11{ .td11{
line-height:25px; line-height:24px;
height: 275px !important; height: 275px !important;
} }
.td12{ .td12{
line-height:25px; line-height:24px;
height: 300px !important; height: 300px !important;
} }
.td13{ .td13{
line-height:25px; line-height:24px;
height: 325px !important; height: 325px !important;
} }
.td14{ .td14{
line-height:25px; line-height:24px;
height: 350px !important; height: 350px !important;
} }
.td15{ .td15{
line-height:25px; line-height:24px;
height: 375px !important; height: 375px !important;
} }
.td16{ .td16{
line-height:25px; line-height:24px;
height: 400px !important; height: 400px !important;
} }
.td17{ .td17{
height: 425px !important; height: 425px !important;
line-height:25px; line-height:24px;
} }
.td18{ .td18{
line-height:25px; line-height:24px;
height: 450px !important; height: 450px !important;
} }
.td19{ .td19{
line-height:25px; line-height:24px;
height: 475px !important; height: 475px !important;
} }
.td20{ .td20{
line-height:25px; line-height:24px;
height: 500px !important; height: 500px !important;
} }
.td21{ .td21{
line-height:25px; line-height:24px;
height: 525px !important; height: 525px !important;
} }
.td22{ .td22{
line-height:25px; line-height:24px;
height: 550px !important; height: 550px !important;
} }
.td23{ .td23{
line-height:25px; line-height:24px;
height: 575px !important; height: 575px !important;
} }
.td24{ .td24{
line-height:25px; line-height:24px;
height: 600px !important; height: 600px !important;
} }
.td25{ .td25{
line-height:25px; line-height:24px;
height: 625px !important; height: 625px !important;
} }
.td25{
line-height:24px;
height: 650px !important;
}
.oddrowcolor { .oddrowcolor {
background-color: #fff; background-color: #fff;
} }
...@@ -296,13 +302,14 @@ ...@@ -296,13 +302,14 @@
</span> </span>
</div> </div>
</p> </p>
<div style="height: 881px;border:2px solid #000"> <div style="height: 530px;border:2px solid #000">
<table class="altrowstable" id="alternatecolor"> <table class="altrowstable" id="alternatecolor">
<tr> <tr>
<th>型号</th> <th width="190px">型号</th>
<th>名称</th> <th width="190px">名称</th>
<th>所属单位</th> <th width="190px">形态</th>
<th>存放位置</th> <th width="190px">所属单位</th>
<th width="190px">存放位置</th>
<th>数量</th> <th>数量</th>
</tr> </tr>
<#list checks as dev> <#list checks as dev>
...@@ -314,76 +321,143 @@ ...@@ -314,76 +321,143 @@
<!--<th>存放位置</th>--> <!--<th>存放位置</th>-->
<!--<th>数量</th>--> <!--<th>数量</th>-->
<!--</tr>--> <!--</tr>-->
<#if (dev.model)??> <#if (dev.model)?? || (dev.name)?? || (dev.ownUnit)?? || (dev.store)??>
<tr> <tr>
<td>${dev.model!}</td> <td>${dev.model!}</td>
<td>${dev.name!}</td> <td>${dev.name!}</td>
<td>${dev.type!}</td>
<td>${dev.ownUnit!}</td> <td>${dev.ownUnit!}</td>
<td>${dev.store!}</td>
<#if dev.titleCount == 1 || (dev.titleCount)==0>
<td style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 2>
<td class="td2" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 3>
<td class="td3" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 4>
<td class="td4" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 5>
<td class="td5" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 6>
<td class="td6" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 7>
<td class="td7" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 8>
<td class="td8" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 9>
<td class="td9" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 10>
<td class="td10" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 11>
<td class="td11" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 12>
<td class="td12" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 13>
<td class="td13" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 14>
<td class="td14" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 15>
<td class="td15" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 16>
<td class="td16" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 17>
<td class="td17" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 18>
<td class="td18" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 19>
<td class="td19" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 20>
<td class="td20" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 21>
<td class="td21" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 22>
<td class="td22" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 23>
<td class="td23" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 24>
<td class="td24" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 25>
<td class="td25" style="text-align: center;color: #555;">${dev.store!}</td>
<#elseif dev.titleCount == 26>
<td class="td26" style="text-align: center;color: #555;">${dev.store!}</td>
</#if>
<!--<td>${dev.store!}</td>-->
<td>${dev.count!}</td> <td>${dev.count!}</td>
</tr> </tr>
</#if> </#if>
<tr> <tr>
<#if dev.oneCount == 1> <#if dev.oneCount == 1>
<td colspan="5" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" style="text-align: left;padding: 0 2em;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 2> <#elseif dev.oneCount == 2>
<td colspan="5" class="td2" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td2" style="text-align: left;padding: 0 2em;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 3> <#elseif dev.oneCount == 3>
<td colspan="5" class="td3" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td3" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 4> <#elseif dev.oneCount == 4>
<td colspan="5" class="td4" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td4" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 5> <#elseif dev.oneCount == 5>
<td colspan="5" class="td5" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td5" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 6> <#elseif dev.oneCount == 6>
<td colspan="5" class="td6" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td6" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 7> <#elseif dev.oneCount == 7>
<td colspan="5" class="td7" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td7" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 8> <#elseif dev.oneCount == 8>
<td colspan="5" class="td8" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td8" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 9> <#elseif dev.oneCount == 9>
<td colspan="5" class="td9" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td9" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 10> <#elseif dev.oneCount == 10>
<td colspan="5" class="td10" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td10" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 11> <#elseif dev.oneCount == 11>
<td colspan="5" class="td11" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td11" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 12> <#elseif dev.oneCount == 12>
<td colspan="5" class="td12" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td12" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 13> <#elseif dev.oneCount == 13>
<td colspan="5" class="td13" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td13" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 14> <#elseif dev.oneCount == 14>
<td colspan="5" class="td14" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td14" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 15> <#elseif dev.oneCount == 15>
<td colspan="5" class="td15" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td15" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 16> <#elseif dev.oneCount == 16>
<td colspan="5" class="td16" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td16" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 17> <#elseif dev.oneCount == 17>
<td colspan="5" class="td17" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td17" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 18> <#elseif dev.oneCount == 18>
<td colspan="5" class="td18" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td18" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 19> <#elseif dev.oneCount == 19>
<td colspan="5" class="td19" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td19" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 20> <#elseif dev.oneCount == 20>
<td colspan="5" class="td20" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td20" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 21> <#elseif dev.oneCount == 21>
<td colspan="5" class="td21" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td21" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 22> <#elseif dev.oneCount == 22>
<td colspan="5" class="td22" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td22" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 23> <#elseif dev.oneCount == 23>
<td colspan="5" class="td23" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td23" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 24> <#elseif dev.oneCount == 24>
<td colspan="5" class="td24" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td24" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 25> <#elseif dev.oneCount == 25>
<td colspan="5" class="td25" style="text-align: center;color: #555;">${dev.seqStirng!}</td> <td colspan="6" class="td25" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
<#elseif dev.oneCount == 26>
<td colspan="6" class="td26" style="text-align: left;padding: 0 2em;;color: #555;">${dev.seqStirng!}</td>
</#if> </#if>
</tr> </tr>
</#list> </#list>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论