first commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>政务督查</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>
|
||||
</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="2512" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>proposalId</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>1</default>
|
||||
<intro>提案ID</intro>
|
||||
</attributes>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString>SELECT * FROM PE_GV_Proposal WHERE ProposalId = @proposalId AND IsPublic = 1 AND Status > 0</LabelSqlString>
|
||||
<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:output method="xml" />
|
||||
<xsl:template match="/">
|
||||
<Root>
|
||||
<ProposalId>
|
||||
<xsl:value-of select="/NewDataSet/Table/ProposalId"/>
|
||||
</ProposalId>
|
||||
<ProposalTitle>
|
||||
<xsl:value-of select="/NewDataSet/Table/ProposalTitle"/>
|
||||
</ProposalTitle>
|
||||
<Content>
|
||||
<xsl:value-of disable-output-escaping="yes" select="/NewDataSet/Table/Content"/>
|
||||
</Content>
|
||||
<InputTime>
|
||||
<xsl:value-of select="pe:FormatDate(/NewDataSet/Table/InputTime,'yyyy-mm-dd')"/>
|
||||
</InputTime>
|
||||
<ProposalOrigin>
|
||||
<xsl:value-of select="/NewDataSet/Table/ProposalOrigin"/>
|
||||
</ProposalOrigin>
|
||||
<IsReserch>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/NewDataSet/Table/IsReserch = 'true'">
|
||||
是
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
否
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</IsReserch>
|
||||
<Category>
|
||||
{PE.Label id="得到提案类型" categoryId="<xsl:value-of select="/NewDataSet/Table/CategoryId"/>" /}
|
||||
</Category>
|
||||
<Inputer>
|
||||
<xsl:value-of select="/NewDataSet/Table/Inputer"/>
|
||||
</Inputer>
|
||||
<ReplyContact>
|
||||
<xsl:value-of select="/NewDataSet/Table/ReplyContact"/>
|
||||
</ReplyContact>
|
||||
<DepartmentId>
|
||||
{PE.Label id="GOV_得到部门名称" departmentId="<xsl:value-of select="/NewDataSet/Table/DepartmentId"/>" /}
|
||||
</DepartmentId>
|
||||
</Root>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user