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

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="staff.show" default="Show Staff" /></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="staff.list" default="Staff List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create" params="${[_staId:params._staId,_staName:params._staName,_staType_id:params._staType_id,_staLastchangefrom:params._staLastchangefrom,_staLastchangeto:params._staLastchangeto,_staDel:params._staDel,offset:params.offset,sort:params.sort,order:params.order]}"><g:message code="staff.new" default="New Staff" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="staff.show" default="Show Staff" /></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.                         <tr class="prop">
  24.                             <td valign="top" class="name"><g:message code="staff.person" default="Person" />:</td>
  25.                             
  26.                             <td valign="top" class="value"><g:link controller="person" action="show" id="${staff?.person?.id}">${staff?.person}</g:link></td>
  27.                          
  28.                             <td valign="top" class="name"><g:message code="staff.staId" default="Sta Id" />:</td>
  29.                             
  30.                             <td valign="top" class="value">${staff.staId}</td>
  31.                             
  32.                         </tr>
  33.                     
  34.                         <tr class="prop">
  35.                             <td valign="top" class="name"><g:message code="staff.staName" default="Sta Name" />:</td>
  36.                             
  37.                             <td valign="top" class="value">${staff.staName}</td>
  38.                             
  39.                             <td valign="top" class="name"><g:message code="staff.staEname" default="Sta Ename" />:</td>
  40.                             
  41.                             <td valign="top" class="value">${staff.staEname}</td>
  42.                             
  43.                         </tr>
  44.                     
  45.                         <tr class="prop">
  46.                             <td valign="top" class="name"><g:message code="staff.staCard" default="Sta Card" />:</td>
  47.                             
  48.                             <td valign="top" class="value">${staff.staCard}</td>
  49.                             
  50.                         </tr>
  51.                     
  52.                         <tr class="prop">
  53.                             <td valign="top" class="name"><g:message code="staff.staSex" default="Sta Sex" />:</td>
  54.                             
  55.                             <td valign="top" class="value">${staff?.staSex}</td>
  56.                             
  57.                             <td valign="top" class="name"><g:message code="staff.staBirth" default="Sta Birth" />:</td>
  58.                             
  59.                             <td valign="top" class="value">${staff.staBirth}</td>
  60.                             
  61.                         </tr>
  62.                     
  63.                         <tr class="prop">
  64.                             <td valign="top" class="name"><g:message code="staff.staImage" default="Sta Image" />:</td>
  65.                             
  66.                             <td valign="top" class="value">${staff.staImage}</td>
  67.                             
  68.                             <td valign="top" class="name"><g:message code="staff.staType" default="Sta Type" />:</td>
  69.                             
  70.                             <td valign="top" class="value">${staff?.staType}</td>
  71.                             
  72.                         </tr>
  73.                     
  74.                         <tr class="prop">
  75.                             <td valign="top" class="name"><g:message code="staff.staDepartment" default="Sta Department" />:</td>
  76.                             
  77.                             <td valign="top" class="value">${staff?.staDepartment}</td>
  78.                             
  79.                             <td valign="top" class="name"><g:message code="staff.staPosition" default="Sta Position" />:</td>
  80.                             
  81.                             <td valign="top" class="value">${staff?.staPosition}</td>
  82.                             
  83.                         </tr>
  84.                     
  85.                         <tr class="prop">
  86.                             <td valign="top" class="name"><g:message code="staff.staCallinTime" default="Sta Callin Time" />:</td>
  87.                             
  88.                             <td valign="top" class="value">${staff.staCallinTime}</td>
  89.                             
  90.                             <td valign="top" class="name"><g:message code="staff.staCometime" default="Sta Cometime" />:</td>
  91.                             
  92.                             <td valign="top" class="value">${staff.staCometime}</td>
  93.                             
  94.                         </tr>
  95.                     
  96.                         <tr class="prop">
  97.                             <td valign="top" class="name"><g:message code="staff.staWorkstate" default="Sta Workstate" />:</td>
  98.                             
  99.                             <td valign="top" class="value">${staff?.staWorkstate}</td>
  100.                             
  101.                             <td valign="top" class="name"><g:message code="staff.staEmail" default="Sta Email" />:</td>
  102.                             
  103.                             <td valign="top" class="value">${staff.staEmail}</td>
  104.                             
  105.                         </tr>
  106.                     
  107.                         <tr class="prop">
  108.                             <td valign="top" class="name"><g:message code="staff.staTel1" default="Sta Tel1" />:</td>
  109.                             
  110.                             <td valign="top" class="value">${staff.staTel1}</td>
  111.                             
  112.                             <td valign="top" class="name"><g:message code="staff.staTel2" default="Sta Tel2" />:</td>
  113.                             
  114.                             <td valign="top" class="value">${staff.staTel2}</td>
  115.                             
  116.                         </tr>
  117.                     
  118.                         <tr class="prop">
  119.                             <td valign="top" class="name"><g:message code="staff.staLinkman" default="Sta Linkman" />:</td>
  120.                             
  121.                             <td valign="top" class="value">${staff.staLinkman}</td>
  122.                             
  123.                             <td valign="top" class="name"><g:message code="staff.staLinktel" default="Sta Linktel" />:</td>
  124.                             
  125.                             <td valign="top" class="value">${staff.staLinktel}</td>
  126.                             
  127.                         </tr>
  128.                     
  129.                         <tr class="prop">
  130.                             <td valign="top" class="name"><g:message code="staff.staMemo" default="Sta Memo" />:</td>
  131.                             
  132.                             <td valign="top" class="value">${staff.staMemo}</td>
  133.                             
  134.                         </tr>
  135.                     
  136.                     
  137.                         <tr class="prop">
  138.                             <td valign="top" class="name"><g:message code="staff.staCreatetime" default="Sta Createtime" />:</td>
  139.                             
  140.                             <td valign="top" class="value">${staff.staCreatetime}</td>
  141.                             
  142.                         </tr>
  143.                     
  144.                         <tr class="prop">
  145.                             <td valign="top" class="name"><g:message code="staff.staCreater" default="Sta Creater" />:</td>
  146.                             
  147.                             <td valign="top" class="value">${staff.staCreater}</td>
  148.                             
  149.                         </tr>
  150.                     
  151.                         <tr class="prop">
  152.                             <td valign="top" class="name"><g:message code="staff.staLastchange" default="Sta Lastchange" />:</td>
  153.                             
  154.                             <td valign="top" class="value">${staff.staLastchange}</td>
  155.                             
  156.                         </tr>
  157.                     
  158.                         <tr class="prop">
  159.                             <td valign="top" class="name"><g:message code="staff.staLastchanger" default="Sta Lastchanger" />:</td>
  160.                             
  161.                             <td valign="top" class="value">${staff.staLastchanger}</td>
  162.                             
  163.                         </tr>
  164.                     
  165.                     </tbody>
  166.                 </table>
  167.             </div>
  168.             <div class="buttons">
  169.                 <g:form>
  170.                     <input type="hidden" name="id" value="${staff?.id}" />
  171.                     <input type="hidden" name="_staId" value="${params._staId}" />
  172.                     <input type="hidden" name="_staName" value="${params._staName}" />
  173.                     <input type="hidden" name="_staType_id" value="${params._staType_id}" />
  174.                     <input type="hidden" name="_staLastchange" value="${params._staLastchangefrom}" />
  175.                     <input type="hidden" name="_staLastchange" value="${params._staLastchangeto}" />
  176.                     <input type="hidden" name="_staDel" value="${params._staDel}" />
  177.                     <input type="hidden" name="offset" value="${params.offset}" />
  178.                     <input type="hidden" name="sort" value="${params.sort}" />
  179.                     <input type="hidden" name="order" value="${params.order}" />                      
  180.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  181.                     <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>
  182.                     <span class="button"><g:link class="link" controller="staff" action="list" params="${[_staId:params._staId,_staName:params._staName,_staType_id:params._staType_id,_staLastchangefrom:params._staLastchangefrom,_staLastchangeto:params._staLastchangeto,_staDel:params._staDel,offset:params.offset,sort:params.sort,order:params.order]}"><g:message code="back" default="Back" /></g:link></span>
  183.                 </g:form>
  184.             </div>
  185.         </div>
  186.     </body>
  187. </html>