2025-03-27 15:05:14 +08:00

313 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- 定义初始值 -->
<xsl:variable name="varStart" select="0" />
<!-- 定义结束值 -->
<xsl:variable name="varEnd" select="6" />
<!-- 定义循环步长 -->
<xsl:variable name="varStep" select="1" />
<xsl:template match="SuperMapDoucuments">
<xsl:call-template name="DailySales"></xsl:call-template>
</xsl:template>
<xsl:template name="DailySales">
<html>
<head>
<xsl:element name="style">
<![CDATA[
.backgroundimage9999 {
background-image: url('../Obsolete.png');
background-position: center;
background-repeat: no-repeat;
}
.backgroundimage9020 {
background-image: url('../bankpayment.png');
background-position: center;
background-repeat: no-repeat;
}
.backgroundimage9010 {
background-image: url('../cashpayment.png');
background-position: center;
background-repeat: no-repeat;
}
.ReportTableStatistics {
border-collapse: collapse;
table-layout: fixed;
font-family: \5FAE\8F6F\96C5\9ED1,\5B8B\4F53,Arial,Helvetica,sans-serif;
background-color: initial;
}
.ReportTableStatistics tr {
border: 0px;
}
.ReportTableStatistics td {
border-collapse: collapse;
border: 1px black solid;
font-size: 16px;
vertical-align: middle;
text-align: center;
padding: 0px;
height: 25px;
font-family: '宋体';
color: #343434;
}
.ReportTableStatistics td.Title {
white-space: nowrap;
vertical-align: middle;
line-height: 30px;
padding: 0px;
font-weight: bold !important;
font-size: 20px;
border: solid #000 0px;
text-align: center;
height: 40px;
font-family: '宋体';
font-weight: bolder;
font-size: 28px;
border-right: none;
border-left: none !important;
}
.ReportTableStatistics td.Header {
font-weight: bold !important;
font-size: 10px;
padding: 0px;
border: none;
}
.ReportTableStatistics td.tdheight {
height: 10px;
}
.ReportTableStatistic {
border-collapse: collapse;
table-layout: fixed;
font-family: \5FAE\8F6F\96C5\9ED1,\5B8B\4F53,Arial,Helvetica,sans-serif;
background-color: initial;
}
.ReportTableStatistic tr {
border: 0px;
}
.ReportTableStatistic td {
border-collapse: collapse;
border: 1px black solid;
font-size: 10px;
vertical-align: middle;
text-align: center;
padding: 0px;
height: 25px;
font-family: '宋体';
color: #343434;
}
.ReportTableStatistic td.Title {
border: solid 0px black;
text-align: center;
white-space: nowrap;
vertical-align: middle;
line-height: 30px;
height: 30px;
padding: 0px;
font-weight: bold !important;
font-size: 10px;
border: solid #000 0px;
!important;
}
.ReportTableStatistic td.Header {
font-weight: bold !important;
font-size: 10px;
padding: 0px;
border: none;
}
.ReportTableStatistic td.tdheight {
height: 10px;
}
.ReportTableCss {
border-collapse: collapse;
table-layout: fixed;
font-family: \5FAE\8F6F\96C5\9ED1,\5B8B\4F53,Arial,Helvetica,sans-serif;
background-color: initial;
}
.ReportTableCss tr {
border: 0px;
}
.ReportTableCss td {
border-collapse: collapse;
border: 1px black solid;
font-size: 15px;
vertical-align: middle;
text-align: center;
padding: 5px;
height: 40px;
font-family: '宋体';
color: #343434;
}
.ReportTableCss td.Title {
border: solid 0px black;
text-align: center;
white-space: nowrap;
vertical-align: middle;
line-height: 30px;
height: 30px;
padding: 0px;
font-weight: bold !important;
font-size: 20px;
border: solid #000 0px;
!important;
}
.ReportTableCss td.Header {
font-weight: bold !important;
font-size: 10px;
padding: 0px;
border: none;
}
.ReportTableCss td.tdheight {
height: 10px;
}
td.txtRight, .txtRight {
text-align: right;
padding-right: 10px;
}
td.txtLeft, .txtLeft {
text-align: left;
padding-left: 10px;
}
td.txtCenter, .txtCenter {
text-align: center;
}
td.fontWeight, .fontWeight, .fontWeight td {
font-weight: 900;
}
]]>
</xsl:element>
<xsl:element name="style">
<xsl:attribute name="type">text/css</xsl:attribute>
<xsl:attribute name="media">print</xsl:attribute>
<![CDATA[
.noPrint{display:none;}
.PrintContainer{padding:0px;}
]]>
</xsl:element>
<title>公文管理流程</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="text-align: center">
<div style="width: 100%; margin:0 auto;">
<xsl:choose>
<!-- 公文下发 -->
<xsl:when test="ACCEPT_TYPE = 600001">
<table border="0" cellpadding="0" cellspacing="0" class="ReportTableStatistics" width="700px" align="center">
<tr style="height:140px;">
<td class="Title" colspan="6">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td class="Title">
山西交通实业发展集团有限公司公文拟稿单
</td>
</tr>
</table>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:32px;">
<span style="font-family:'宋体'">
<b>发文编号</b>
</span>
<xsl:value-of select="I_DOCUMENT_CODE"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>主办部门</b>
</span>
<xsl:value-of select="STAFF_UNIT_NAME"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>拟稿人</b>
</span>
<xsl:value-of select="STAFF_NAME"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>标题</b>
</span>
<xsl:value-of select="I_DOCUMENT_TITLE"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>主 送</b>
</span>
<xsl:value-of select="I_DOCUMENT_MAIN_DELIVERY"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>抄 送</b>
</span>
<xsl:value-of select="I_DOCUMENT_SEND_DELIVERY"/>
</td>
</tr>
<tr style="height:40px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>份 数</b>
</span>
<xsl:value-of select="I_DOCUMENT_NUMBER"/>
</td>
</tr>
<tr style="height:140px;">
<td colspan="6" class="txtLeft" style="height:80px;">
<span style="font-family:'宋体'">
<b>正 文</b>
</span>
<xsl:value-of select="I_DOCUMENT_CONTENT"/>
</td>
</tr>
<tr style="height:80px;">
<td colspan="6" class="txtLeft">
<span style="font-family:'宋体'">
<b>
附件
</b>:
</span>
<xsl:value-of select="ATTACHMENT_DESC"/>
</td>
</tr>
</table>
</xsl:when>
</xsl:choose>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>