first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>政务督查</LabelType>
|
||||
<LabelIntro>提案列表标签</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="2902" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>ShowNum</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>11</default>
|
||||
<intro>显示行数</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>TitleLen</name>
|
||||
<datatype>int</datatype>
|
||||
<default>25</default>
|
||||
<intro>标题长度</intro>
|
||||
</attributes>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString><![CDATA[SELECT TOP @ShowNum PE_GV_Proposal.*,PE_GV_Meeting.* FROM PE_GV_Proposal INNER JOIN PE_GV_Meeting ON PE_GV_Proposal.MeetingId = PE_GV_Meeting.MeetingId AND MeetingType = 1 AND Status > 0 AND IsPublic = 1 Order By InputTime DESC]]></LabelSqlString>
|
||||
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
|
||||
<xsl:param name="ShowNum" />
|
||||
<xsl:param name="TitleLen" />
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<ul class="oversee_alllist">
|
||||
<xsl:for-each select="/NewDataSet/Table">
|
||||
<li>
|
||||
<span>[<xsl:value-of select="pe:FormatDate(InputTime,'yyyy-mm-dd')"/>]</span>
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
{PE.SiteConfig.ApplicationPath/}Government/Supervision/ProposalContent.aspx?ProposalId=<xsl:value-of select="ProposalId" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="ProposalTitle"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="pe:CutText(ProposalTitle,$TitleLen,'...')"/>
|
||||
</a>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user