show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:8k
源码类别:

PlugIns编程

开发平台:

Java

  1. <html>
  2.     <head>
  3.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  4.         <meta name="layout" content="main" />
  5.         <title><g:message code="contract.show" default="Show Contract" /></title>
  6.     </head>
  7.     <body>
  8.         <div class="nav">
  9.             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
  10.             <span class="menuButton"><g:link class="list" action="list"><g:message code="contract.list" default="Contract List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create" params="${[_conId:params._conId,_conMan:params._conMan,_staType_id:params._staType_id,_conLastchangefrom:params._conLastchangefrom,_conLastchangeto:params._conLastchangeto,_conDel:params._conDel,max:params.max,sort:params.sort,offset:params.offset,order:params.order]}"><g:message code="contract.new" default="New Contract" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="contract.show" default="Show Contract" /></h1>
  15.             <g:if test="${flash.message}">
  16.             <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
  17.             </g:if>
  18.             <div class="dialog">
  19.                 <table>
  20.                     <tbody>
  21.                     
  22.                     
  23.                     
  24.                         <tr class="prop">
  25.                             <td valign="top" class="name"><g:message code="contract.conMan" default="Con Man" />:</td>
  26.                             
  27.                             <td valign="top" class="value"><g:link controller="staff" action="show" id="${contract?.conMan?.id}">${contract?.conMan}</g:link></td>
  28.                             
  29.                         </tr>
  30.                     
  31.                         <tr class="prop">
  32.                             <td valign="top" class="name"><g:message code="contract.conId" default="Con Id" />:</td>
  33.                             
  34.                             <td valign="top" class="value">${contract.conId}</td>
  35.                             
  36.                         </tr>
  37.                     
  38.                         <tr class="prop">
  39.                             <td valign="top" class="name"><g:message code="contract.conStarttime" default="Con Starttime" />:</td>
  40.                             
  41.                             <td valign="top" class="value"><g:formatDate format="yyyy-MM-dd" date="${contract.conStarttime}"/></td>
  42.                             
  43.                             <td valign="top" class="name"><g:message code="contract.conEndtime" default="Con Endtime" />:</td>
  44.                             
  45.                             <td valign="top" class="value"><g:formatDate format="yyyy-MM-dd" date="${contract.conEndtime}"/></td>
  46.                             
  47.                         </tr>
  48.                     
  49.                         <tr class="prop">
  50.                             <td valign="top" class="name"><g:message code="contract.conType" default="Con Type" />:</td>
  51.                             
  52.                             <td valign="top" class="value">${contract?.conType}</td>
  53.                             
  54.                         </tr>
  55.                     
  56.                         <tr class="prop">
  57.                             <td valign="top" class="name"><g:message code="contract.conSigntime" default="Con Signtime" />:</td>
  58.                             
  59.                             <td valign="top" class="value"><g:formatDate format="yyyy-MM-dd" date="${contract.conSigntime}"/></td>
  60.                             
  61.                        
  62.                             <td valign="top" class="name"><g:message code="contract.conStoptime" default="Con Stoptime" />:</td>
  63.                             
  64.                             <td valign="top" class="value"><g:formatDate format="yyyy-MM-dd" date="${contract.conStoptime}"/></td>
  65.                             
  66.                         </tr>
  67.                     
  68.                         <tr class="prop">
  69.                             <td valign="top" class="name"><g:message code="contract.conContrat" default="Con Contrat" />:</td>
  70.                             
  71.                             <td valign="top" class="value"><g:link class="create" action="showFile" id="${contract.id}">合同</g:link> </td>
  72.                             
  73.                         </tr>
  74.                     
  75.                         <tr class="prop">
  76.                             <td valign="top" class="name"><g:message code="contract.conMemo" default="Con Memo" />:</td>
  77.                             
  78.                             <td valign="top" class="value">${contract.conMemo}</td>
  79.                             
  80.                         </tr>
  81.                     
  82.                     
  83.                         <tr class="prop">
  84.                             <td valign="top" class="name"><g:message code="contract.conCreatetime" default="Con Createtime" />:</td>
  85.                             
  86.                             <td valign="top" class="value">${contract.conCreatetime}</td>
  87.                             
  88.                         </tr>
  89.                     
  90.                         <tr class="prop">
  91.                             <td valign="top" class="name"><g:message code="contract.conCreater" default="Con Creater" />:</td>
  92.                             
  93.                             <td valign="top" class="value">${contract.conCreater}</td>
  94.                             
  95.                         </tr>
  96.                     
  97.                         <tr class="prop">
  98.                             <td valign="top" class="name"><g:message code="contract.conLastchange" default="Con Lastchange" />:</td>
  99.                             
  100.                             <td valign="top" class="value">${contract.conLastchange}</td>
  101.                             
  102.                         </tr>
  103.                     
  104.                         <tr class="prop">
  105.                             <td valign="top" class="name"><g:message code="contract.conLastchanger" default="Con Lastchanger" />:</td>
  106.                             
  107.                             <td valign="top" class="value">${contract.conLastchanger}</td>
  108.                             
  109.                         </tr>
  110.                     
  111.                     </tbody>
  112.                 </table>
  113.             </div>
  114.             <div class="buttons">
  115.                 <g:form>
  116.                     <input type="hidden" name="id" value="${contract?.id}" />
  117.                     <input type="hidden" name="_conId" value="${params._conId}" />
  118.                     <input type="hidden" name="_conMan" value="${params._conMan}" />
  119.                     <input type="hidden" name="_staType_id" value="${params._staType_id}" />
  120.                     <input type="hidden" name="_conLastchangefrom" value="${params._conLastchangefrom}" />
  121.                     <input type="hidden" name="_conLastchangeto" value="${params._conLastchangeto}" />
  122.                     <input type="hidden" name="_conDel" value="${params._conDel}" />
  123.                     <input type="hidden" name="max" value="${params.max}" />
  124.                     <input type="hidden" name="sort" value="${params.sort}" />
  125.                     <input type="hidden" name="offset" value="${params.offset}" />
  126.                     <input type="hidden" name="order" value="${params.order}" />
  127.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  128.                     <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${message(code:'delete.confirm', 'default':'Are you sure?')}');" action="Delete" value="${message(code:'delete', 'default':'Delete')}" /></span>
  129.                     <span class="button"><g:link class="link" controller="contract" action="list" params="${[_conId:params._conId,_conMan:params._conMan,_staType_id:params._staType_id,_conLastchangefrom:params._conLastchangefrom,_conLastchangeto:params._conLastchangeto,_conDel:params._conDel,max:params.max,sort:params.sort,offset:params.offset,order:params.order]}"><g:message code="back" default="Back" /></g:link></span>
  130.                 </g:form>
  131.             </div>
  132.         </div>
  133.     </body>
  134. </html>