43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<?xml version="1.0"?>
|
|
<root>
|
|
<LabelType>办事类</LabelType>
|
|
<LabelIntro>
|
|
</LabelIntro>
|
|
<OutType>sin</OutType>
|
|
<LabelDataType>sql_sysquery</LabelDataType>
|
|
<attributes>
|
|
<name>CategoryId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>0</default>
|
|
<intro>当前所在办事分类的ID</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>splitChar</name>
|
|
<datatype>supersql</datatype>
|
|
<default>>></default>
|
|
<intro>办事分类名称之间分隔符</intro>
|
|
</attributes>
|
|
<LabelSqlString>SELECT [CategoryId],[ParentId],[CategoryName],[Description] FROM [PE_GV_WorkItemCategory] WHERE [CategoryId] = @CategoryId</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:ms="urn:schemas-microsoft-com:xslt" xmlns:lewi="http://www.powereasy.net" xmlns:pe="labelproc" exclude-result-prefixes="pe ms lewi">
|
|
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
|
<xsl:param name="CategoryId" />
|
|
<xsl:param name="splitChar" />
|
|
<xsl:template match="/NewDataSet/Table">
|
|
{PE.Label id="办事位置导航" CategoryId="<xsl:value-of select="ParentId"/>" splitChar="<xsl:value-of select="$splitChar"/>"/}
|
|
<xsl:value-of select="$splitChar" />
|
|
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
{PE.SiteConfig.ApplicationPath/}Government/Approval/WorkItemList.aspx?categoryId=<xsl:value-of select="CategoryId"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="CategoryName"/>
|
|
</a>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
<EnabelAjax>False</EnabelAjax>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
</root>
|