show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:11k
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title><g:message code="staff.show" default="Show Staff" /></title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- <span class="menuButton"><g:link class="list" action="list"><g:message code="staff.list" default="Staff List" /></g:link></span>
- <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>
- </div>
- <div class="body">
- <h1><g:message code="staff.show" default="Show Staff" /></h1>
- <g:if test="${flash.message}">
- <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
- </g:if>
- <div class="dialog">
- <table>
- <tbody>
-
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.person" default="Person" />:</td>
-
- <td valign="top" class="value"><g:link controller="person" action="show" id="${staff?.person?.id}">${staff?.person}</g:link></td>
-
- <td valign="top" class="name"><g:message code="staff.staId" default="Sta Id" />:</td>
-
- <td valign="top" class="value">${staff.staId}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staName" default="Sta Name" />:</td>
-
- <td valign="top" class="value">${staff.staName}</td>
-
- <td valign="top" class="name"><g:message code="staff.staEname" default="Sta Ename" />:</td>
-
- <td valign="top" class="value">${staff.staEname}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staCard" default="Sta Card" />:</td>
-
- <td valign="top" class="value">${staff.staCard}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staSex" default="Sta Sex" />:</td>
-
- <td valign="top" class="value">${staff?.staSex}</td>
-
- <td valign="top" class="name"><g:message code="staff.staBirth" default="Sta Birth" />:</td>
-
- <td valign="top" class="value">${staff.staBirth}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staImage" default="Sta Image" />:</td>
-
- <td valign="top" class="value">${staff.staImage}</td>
-
- <td valign="top" class="name"><g:message code="staff.staType" default="Sta Type" />:</td>
-
- <td valign="top" class="value">${staff?.staType}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staDepartment" default="Sta Department" />:</td>
-
- <td valign="top" class="value">${staff?.staDepartment}</td>
-
- <td valign="top" class="name"><g:message code="staff.staPosition" default="Sta Position" />:</td>
-
- <td valign="top" class="value">${staff?.staPosition}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staCallinTime" default="Sta Callin Time" />:</td>
-
- <td valign="top" class="value">${staff.staCallinTime}</td>
-
- <td valign="top" class="name"><g:message code="staff.staCometime" default="Sta Cometime" />:</td>
-
- <td valign="top" class="value">${staff.staCometime}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staWorkstate" default="Sta Workstate" />:</td>
-
- <td valign="top" class="value">${staff?.staWorkstate}</td>
-
- <td valign="top" class="name"><g:message code="staff.staEmail" default="Sta Email" />:</td>
-
- <td valign="top" class="value">${staff.staEmail}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staTel1" default="Sta Tel1" />:</td>
-
- <td valign="top" class="value">${staff.staTel1}</td>
-
- <td valign="top" class="name"><g:message code="staff.staTel2" default="Sta Tel2" />:</td>
-
- <td valign="top" class="value">${staff.staTel2}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staLinkman" default="Sta Linkman" />:</td>
-
- <td valign="top" class="value">${staff.staLinkman}</td>
-
- <td valign="top" class="name"><g:message code="staff.staLinktel" default="Sta Linktel" />:</td>
-
- <td valign="top" class="value">${staff.staLinktel}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staMemo" default="Sta Memo" />:</td>
-
- <td valign="top" class="value">${staff.staMemo}</td>
-
- </tr>
-
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staCreatetime" default="Sta Createtime" />:</td>
-
- <td valign="top" class="value">${staff.staCreatetime}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staCreater" default="Sta Creater" />:</td>
-
- <td valign="top" class="value">${staff.staCreater}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staLastchange" default="Sta Lastchange" />:</td>
-
- <td valign="top" class="value">${staff.staLastchange}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="staff.staLastchanger" default="Sta Lastchanger" />:</td>
-
- <td valign="top" class="value">${staff.staLastchanger}</td>
-
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <g:form>
- <input type="hidden" name="id" value="${staff?.id}" />
- <input type="hidden" name="_staId" value="${params._staId}" />
- <input type="hidden" name="_staName" value="${params._staName}" />
- <input type="hidden" name="_staType_id" value="${params._staType_id}" />
- <input type="hidden" name="_staLastchange" value="${params._staLastchangefrom}" />
- <input type="hidden" name="_staLastchange" value="${params._staLastchangeto}" />
- <input type="hidden" name="_staDel" value="${params._staDel}" />
- <input type="hidden" name="offset" value="${params.offset}" />
- <input type="hidden" name="sort" value="${params.sort}" />
- <input type="hidden" name="order" value="${params.order}" />
- <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
- <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>
- <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>
- </g:form>
- </div>
- </div>
- </body>
- </html>