first commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>政务公开</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<attributes>
|
||||
<name>departmentId</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>1</default>
|
||||
<intro>部门ID</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>depth</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>0</default>
|
||||
<intro>目录深度</intro>
|
||||
</attributes>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString>SELECT DepartmentId,DepartmentName FROM PE_Department WHERE DepartmentId = @departmentId</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">
|
||||
<!--params-->
|
||||
<xsl:output method="html" />
|
||||
<xsl:param name="depth"/>
|
||||
<xsl:template match="/NewDataSet/Table">
|
||||
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/Department.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/></xsl:attribute><xsl:value-of select="DepartmentName"/></a>
|
||||
<xsl:if test="$depth != 0">
|
||||
<xsl:text disable-output-escaping="yes">&nbsp;>>&nbsp;</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>]]>
|
||||
</LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user