65 lines
1.9 KiB
XML
65 lines
1.9 KiB
XML
<?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="2904" compatibleVersion="" />
|
|
<attributes>
|
|
<name>departmentId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>12</default>
|
|
<intro>部门ID</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>InfoId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>1</default>
|
|
<intro>提案ID</intro>
|
|
</attributes>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>SELECT [Content] FROM PE_GV_ReplyLetter WHERE DepartmentId = @departmentId AND Status=1 AND InfoId = @InfoId AND InfoType=@InfoType</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="departmentId" />
|
|
<xsl:param name="proposalId" />
|
|
<xsl:param name="InfoTitle" />
|
|
<xsl:output method="html" />
|
|
<xsl:template match="/">
|
|
<xsl:choose>
|
|
<xsl:when test="NewDataSet/Table">
|
|
<dl id="reply" class="Os_reply">
|
|
<dt>对《<xsl:value-of select="$InfoTitle"/>》的复函</dt>
|
|
<dd>
|
|
<xsl:value-of disable-output-escaping="yes" select="NewDataSet/Table/Content"/>
|
|
</dd>
|
|
</dl>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<dl id="reply" class="Os_reply">
|
|
<dt>对《<xsl:value-of select="$InfoTitle"/>》的复函</dt>
|
|
<dd>
|
|
还没有回复函!
|
|
</dd>
|
|
</dl>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
<attributes>
|
|
<name>InfoType</name>
|
|
<datatype>supersql</datatype>
|
|
<default>1</default>
|
|
<intro>参数说明</intro>
|
|
</attributes>
|
|
<attributes>
|
|
<name>InfoTitle</name>
|
|
<datatype>string</datatype>
|
|
<default>默认值</default>
|
|
<intro>参数说明</intro>
|
|
</attributes>
|
|
</root> |