first commit
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>网上信访</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="4004" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>outputQty</name>
|
||||
<datatype>int</datatype>
|
||||
<default>20</default>
|
||||
<intro>输出记录数</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>titleLength</name>
|
||||
<datatype>int</datatype>
|
||||
<default>40</default>
|
||||
<intro>标题长度</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>openType</name>
|
||||
<datatype>string</datatype>
|
||||
<default>_blank</default>
|
||||
<intro>打开方式</intro>
|
||||
</attributes>
|
||||
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
|
||||
<xsl:param name="usePage" />
|
||||
<xsl:param name="bindStyle" />
|
||||
<xsl:param name="outputQty" />
|
||||
<xsl:param name="titleLength" />
|
||||
<xsl:param name="openType" />
|
||||
<xsl:param name="typeId" />
|
||||
<xsl:param name="status" />
|
||||
|
||||
<xsl:output method="html" />
|
||||
<xsl:template name="_constraint">
|
||||
<xsl:param name="_doubleApos"/>
|
||||
<xsl:if test="$typeId != '0' and $typeId != ''"> AND LetterTypeId IN (<xsl:value-of select="$typeId"/>)</xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$status = ''"> AND Status > -1</xsl:when>
|
||||
<xsl:otherwise> AND Status IN (<xsl:value-of select="$status"/>)
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template match="/">
|
||||
{PE.Label id="通用信件信息列表_<xsl:value-of select="$bindStyle"/>" titleLength="<xsl:value-of select="$titleLength"/>" queryCond="EXEC [dbo].[PR_Common_PagingLarge] 'PE_GV_Letters', 'LetterId', '*', @pagesize, @startrow, 'IsPublic = 1 <xsl:call-template name="_constraint">
|
||||
<xsl:with-param name="_doubleApos" select="'true'"/>
|
||||
</xsl:call-template>', '', 'LetterId DESC'" queryCount="SELECT COUNT(*) FROM PE_GV_Letters WHERE IsPublic = 1 <xsl:call-template name="_constraint">
|
||||
<xsl:with-param name="_doubleApos" select="'false'"/>
|
||||
</xsl:call-template>" page="<xsl:value-of select="$usePage"/>" pagesize="<xsl:value-of select="$outputQty"/>" /}
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
<attributes>
|
||||
<name>usePage</name>
|
||||
<datatype>string</datatype>
|
||||
<default>false</default>
|
||||
<intro>是否分页</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>bindStyle</name>
|
||||
<datatype>string</datatype>
|
||||
<default>Wap样式</default>
|
||||
<intro>绑定标签名</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>typeId</name>
|
||||
<datatype>string</datatype>
|
||||
<default>
|
||||
</default>
|
||||
<intro>信件类型</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>status</name>
|
||||
<datatype>string</datatype>
|
||||
<default>
|
||||
</default>
|
||||
<intro>信件状态</intro>
|
||||
</attributes>
|
||||
</root>
|
||||
Reference in New Issue
Block a user