📄 listclientinfo.jsp
字号:
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>
<script type="text/javascript" language="javascript">
function doSearch() {
var f = document.forms[0];
f.action = "<c:url value="/admin/clientInfo/searchClientInfo.do"/>";
f.submit();
return false;
}
function initAdd() {
var f = document.forms[0];
f.action = "<c:url value="/admin/clientInfo/initAddClientInfo.do"/>";
f.submit();
}
function initAddClientContact(attributeNamezz) {
var f = document.forms[0];
id = viewRecord(attributeNamezz);
if (id != false) {
f.elements["clientInfoBean.id"].value = id;
f.action = "<c:url value="/admin/clientContact/searchClientContact.do"/>";
f.submit();
}
}
function initEdit(attributeNamezz) {
// alert("33");
var f = document.forms[0];
id = viewRecord(attributeNamezz);
if (id != false) {
f.elements["clientInfoBean.id"].value = id;
f.action = "<c:url value="/admin/clientInfo/initEditClientInfo.do"/>";
f.submit();
}
}
</script>
<html:form action="/clientInfo/searchClientInfo.do">
<html:hidden property="clientInfoBean.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.clientInfo.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.clientInfo.name"/></td>
<td width="27%" nowrap><html:text property="searchBean.name"/></td>
<td width="11%" nowrap><bean:message key="label.admin.clientInfo.code"/></td>
<td width="53%" nowrap><html:text property="searchBean.code"/></td>
</tr>
<tr>
<td width="11%" nowrap><bean:message key="label.admin.clientInfo.corpType"/></td>
<td width="27%" nowrap>
<html:select property="searchBean.corpType" value="${searchBean.corpType}">
<html:option value=""><bean:message key="label.common.pleaseSelect"/></html:option>
<c:forEach items="${corpTypeList}" var="corpType">
<html:option value="${corpType[0]}"><c:out value="${corpType[1]}"/></html:option>
</c:forEach>
</html:select>
</td>
<td width="11%" nowrap><bean:message key="label.admin.clientInfo.clientCatalog"/></td>
<td width="53%" nowrap>
<html:select property="searchBean.clientCatalog" value="${searchBean.clientCatalog}">
<html:option value=""><bean:message key="label.common.pleaseSelect"/></html:option>
<c:forEach items="${clientCatalogList}" var="clientCatalog">
<html:option value="${clientCatalog[0]}"><c:out value="${clientCatalog[1]}"/></html:option>
</c:forEach>
</html:select>
</td>
</tr>
<tr>
<td width="11%" nowrap><bean:message key="label.admin.clientInfo.calling"/></td>
<td width="27%" nowrap>
<html:select property="searchBean.calling" value="${searchBean.calling}">
<html:option value=""><bean:message key="label.common.pleaseSelect"/></html:option>
<c:forEach items="${callingList}" var="calling">
<html:option value="${calling[0]}"><c:out value="${calling[1]}"/></html:option>
</c:forEach>
</html:select>
</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.clientInfo.List"/>
</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/clientInfo/deleteClientInfo.do' );">
<bean:message key="button.delete"/></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="initEdit('idArr');">
<bean:message key="label.admin.clientInfo.particular"/></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="initAddClientContact('idArr');">
<bean:message key="label.admin.clientInfo.clientContact"/></span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td>
<c:set var="sn_display_tag"><input type="checkbox" name="idArrHeader"
onclick="selectGlobal(this.checked,'clientInfo')"/>
</c:set>
<display:table name="${pagination}" cellspacing="0" cellpadding="0" id="clientInfo"
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,'clientInfo')">
<c:out value="${clientInfo[0]}"/>
</html:multibox>
</display:column>
<display:column titleKey="label.admin.clientInfo.code" class="subMainTd" sortable="true"
sortProperty="clientInfo.code" headerClass="subMainTh">
<c:out value="${clientInfo[1]}"/>
</display:column>
<display:column titleKey="label.admin.clientInfo.name" class="subMainTd" sortable="true"
sortProperty="clientInfo.name" headerClass="subMainTh">
<c:out value="${clientInfo[4]}"/>
</display:column>
<display:column titleKey="label.admin.clientInfo.calling" class="subMainTd" sortable="true"
sortProperty="clientInfo.calling" headerClass="subMainTh">
<c:out value="${clientInfo[5]}"/>
</display:column>
<display:column titleKey="label.admin.clientInfo.address" class="subMainTd" sortable="true"
sortProperty="clientInfo.address" headerClass="subMainTh">
<c:out value="${clientInfo[7]}"/>
</display:column>
<display:column titleKey="label.admin.clientInfo.business" class="subMainTd" sortable="false"
headerClass="subMainTh">
<business:display clientID="${clientInfo[0]}"/>
</display:column>
</display:table>
</td>
</tr>
</table>
</html:form>
<script type="text/javascript" language="javascript">
displayTableRows("clientInfo");
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -