当前位置: 首页 > 工具软件 > Gazelle CMS > 使用案例 >

开源 免费 java CMS - FreeCMS1.3-标签 reportQuery

龙繁
2023-12-01

下载地址:http://code.google.com/p/freecms/  

 

reportQuery

从FreeCMS 1.3 开始支持

根据查询码查询申报处理结果。

参数

说明

querycode

查询码 

cache

是否使用缓存,默认为false

返回值

说明

report

申报对象,数据类型为数据对象report

示例1

<@reportQuery querycode='${querycode!""}' cache='true';report>

          <#if (""!=(report.id!""))>

          <table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">项目名称:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.name}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报单位:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.unit}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件名称:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.filename}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件文号:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.filenum}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">申报文件附件:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              <#if (report.attch!"")!="">

              <a href="${report.attch }" target="_blank">附件下载</a>

              </#if>

              </td>

            </tr>

            

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">联系人:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.linkman}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">签发人:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.issuer}</td>

            </tr>

            <tr>

              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">联系电话:</td>

              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">

              ${report.tel}</td>

            </tr>

            <tr>

                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理状态</td>

                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">

                <#if ((report.state!"") == "1")>已办结</#if>

<#if ((report.state!"") != "1")>处理中</#if></td>

              </tr>

              <tr>

                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">转办流程</td>

                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">

                ${report.proflow!"" }</td>

              </tr>

              <tr>

                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理结果</td>

                <td height="120"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">

                <textarea name="content" cols="45" rows="5" class="jzxx_d_box" readonly>${report.recontent!"" }</textarea></td>

              </tr>

              <tr>

                <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">办理时间</td>

                <td height="30"  align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:6px;">

                ${report.retimeStr!""}</td>

              </tr>

          </table>

          <#else>

          <table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">

            <tr>

              <td  height="30" align="left" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">

<font color="red"><b>没有找到相关数据!</b></font>

</td>

            </tr>

          </table>

          </#if>

          </@reportQuery>

 类似资料: