📄 listproductiondept.jsp
字号:
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>
<script type="text/javascript" language="javascript">
function doSearch() {
var f = document.forms[0];
if (validateSearchProductionDept(f))
{
//alert("ok");
f.action = "<c:url value="/admin/productionDept/searchProductionDept.do"/>";
f.submit();
}
return false;
}
function initAdd() {
var f = document.forms[0];
f.action = "<c:url value="/admin/productionDept/initAddProductionDept.do"/>";
f.submit();
}
function initEdit(id) {
// alert("33");
var f = document.forms[0];
f.elements["productionDeptBean.id"].value = id;
f.action = "<c:url value="/admin/productionDept/initEditProductionDept.do"/>";
f.submit();
}
</script>
<html:form action="/productionDept/searchProductionDept.do">
<html:hidden property="productionDeptBean.id"/>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28" colspan="2">
<img src="<c:url value="/images/dot.gif"/>" width="11" height="11" alt="">
<bean:message key="label.admin.systemSetting"/>>
<bean:message key="label.admin.productionDept.title"/>
</td>
</tr>
<tr>
<td width="2%" height="31" class="section">
<img src="<c:url value="/images/menu_dot.jpg"/>" width="6" height="19" alt="">
</td>
<td width="98%" class="section">
<bean:message key="label.common.searchCondition"/>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<table width="100%" height="43" border="0" cellpadding="0"
cellspacing="0" style="font-size:12px; width:96% ">
<tr>
<td width="11%" nowrap><bean:message key="label.admin.productionDept.name"/></td>
<td width="27%" nowrap><html:text property="searchBean.name"/></td>
<td width="11%" nowrap><bean:message key="label.admin.productionDept.principal"/></td>
<td width="53%" nowrap><html:text property="searchBean.principal"/></td>
</tr>
<tr>
<td nowrap><bean:message key="label.admin.productionDept.handlers"/></td>
<td nowrap><html:text property="searchBean.handlers"/></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="4" nowrap>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<span class="mouse" onclick="doSearch();">
<bean:message key="button.search"/>
</span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td height="31" class="section">
<img src="<c:url value="/images/menu_dot.jpg"/>" width="6" height="19" alt="">
</td>
<td height="31" class="section">
<bean:message key="label.admin.productionDept.List"/>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<c:set var="sn_display_tag"><input type="checkbox" name="idArrHeader"
onclick="selectGlobal(this.checked,'productionDept')"/>
</c:set>
<display:table name="${pagination}" cellspacing="0" cellpadding="0" id="productionDept"
sort="external" export="flase" requestURI="" class="subMainTable"
style="width:98%" decorator="com.szmx.component.displaytag.TableDecoratorExtends">
<display:column title="${sn_display_tag}" class="subMainTd" headerClass="subMainTh">
<html:multibox property="idArr" onclick="selectRow(this.checked,'productionDept')">
<c:out value="${productionDept[0]}"/>
</html:multibox>
</display:column>
<display:column titleKey="label.admin.productionDept.code" class="subMainTd" sortable="true"
sortProperty="code" headerClass="subMainTh">
<a href="#" onclick="initEdit('<c:out value="${productionDept[0]}"/>');"><c:out
value="${productionDept[1]}"/></a>
</display:column>
<display:column titleKey="label.admin.productionDept.name" class="subMainTd" sortable="true"
sortProperty="name" headerClass="subMainTh">
<c:out value="${productionDept[2]}"/>
</display:column>
<display:column titleKey="label.admin.productionDept.principal" class="subMainTd" sortable="true"
sortProperty="principal"
headerClass="subMainTh">
<c:out value="${productionDept[3]}"/>
</display:column>
<display:column titleKey="label.admin.productionDept.handlers" class="subMainTd" sortable="true"
sortProperty="handlers"
headerClass="subMainTh">
<c:out value="${productionDept[4]}"/>
</display:column>
<display:column titleKey="label.admin.productionDept.createDate" class="subMainTd" sortable="true"
sortProperty="createDate"
headerClass="subMainTh">
<c:out value="${productionDept[5]}"/>
</display:column>
</display:table>
</td>
</tr>
<tr>
<td height="39"> </td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover"><span onclick="initAdd();" class="mouse">
<bean:message key="button.add"/></span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<c:set value="${pageContext.request.contextPath}" var="contextPath"/>
<span class="mouse"
onclick="deleteRecord ( 'idArr', '<c:out value="${contextPath}"/>/admin/productionDept/deleteProductionDept.do' );">
<bean:message key="button.delete"/></span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>
<html:javascript formName="/productionDept/searchProductionDept" method="validateSearchProductionDept"/>
<script type="text/javascript" language="javascript">
displayTableRows("productionDept");
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -