⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.jsp

📁 管理公司合同
💻 JSP
字号:
<%@ page contentType = "text/html;charset=GBK"%>
<%@ taglib uri="/WEB-INF/tag.tld" prefix="tag" %>
<%@ taglib uri="/WEB-INF/displaytag-11.tld" prefix="display" %>
<%@ page import="cn.com.juneng.system.common.BaseForm" %>
<%@ page import="cn.com.juneng.system.common.COMMON" %>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/COMMON.js'></script>
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/calendar.js'></script>
<script>
	function move(){
		if(!selectRecord("single")){
			return false;
		}
		var orgId = getFieldValue("Ids");
		var tree = new Tree();
		tree.setTreeName("组织机构");
		tree.setSql("select org_id as nodeid,org_name as nodename,parent_id as parentid from sys_org where org_id<> '"+orgId+"' and delete_flag is null");
		var nodes = getValues(tree);
		if(nodes!=null&&confirm("确定将所选择机构移动到‘"+nodes[1]+"’下吗?")){
			form1.parentId.value = nodes[0];
			execute('move');
		}
	}
</script>
<%
	BaseForm bForm = (BaseForm)request.getAttribute("BaseForm");
%>
<form name=form1 action="<tag:attr source="ActionUrl" />" method="post" >
<input type="hidden" name="showQuery" value="<%=bForm.isShowQuery() %>">
<input type="hidden" name="orgId"><input type="hidden" name="parentId" value="<tag:attr source="VO"  attr="parentId"/>">
<table >
	<tr>
	<td class="tHeading"><div align='center'><b>组织机构.列表</b></div></td>
	</tr>
	<tr><td >
	<fieldset>
		<legend ><span onclick='query()'><img id="qImg" src="<%=request.getContextPath() %>/images/common/<%=bForm.isShowQuery()?"jian.gif":"jia.gif" %>">查询</span></legend>  
		<table id="qTable" title="输入条件值进行查询;双击清除查询条件" ondblclick="clearQuery()" border='0' class="list_condition_table" style="display:<%=bForm.isShowQuery()?"block":"none" %>">
			<tr>
			<td class="list_condition_td_title" width='10%'>机构名称</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_orgName" value="<tag:attr source="qMap" attr="$Q_orgName" />"></td>
			
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>机构类型</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_orgType" value="<tag:attr source="qMap" attr="$Q_orgType" />"></td>
			<td class="list_condition_td_title" width='10%'>机构负责人</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_principal" value="<tag:attr source="qMap" attr="$Q_principal" />"></td>
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>邮政编码</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_postalcode" value="<tag:attr source="qMap" attr="$Q_postalcode" />"></td>
			<td class="list_condition_td_title" width='10%'>机构地址</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_address" value="<tag:attr source="qMap" attr="$Q_address" />"></td>
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>联系电话</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_phone" value="<tag:attr source="qMap" attr="$Q_phone" />"></td>
			<td class="list_condition_td_title" width='10%'>传真号</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_faxNo" value="<tag:attr source="qMap" attr="$Q_faxNo" />"></td>
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>成立日期</td>
			<td class="list_condition_td_input" width='40%'><input type="text" readonly onfocus="setday(this)" name=">=$Q_foundedDate" value="<tag:attr source="qMap" attr=">=$Q_foundedDate" />">-<input type="text" readonly onfocus="setday(this)" name="<=$Q_foundedDate" value="<tag:attr source="qMap" attr="<=$Q_foundedDate" />"></td>
			<td class="list_condition_td_title" width='10%'>所属省份</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_province" value="<tag:attr source="qMap" attr="$Q_province" />"></td>
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>所属城市</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_city" value="<tag:attr source="qMap" attr="$Q_city" />"></td>
			<td class="list_condition_td_title" width='10%'>机构优先级</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_priority" value="<tag:attr source="qMap" attr="$Q_priority" />"></td>
			</tr>
			<tr>
			<td class="list_condition_td_title" width='10%'>机构的公用邮箱</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_email" value="<tag:attr source="qMap" attr="$Q_email" />"></td>
			<td class="list_condition_td_title" width='10%'>机构状态</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_deleteFlag" value="<tag:attr source="qMap" attr="$Q_deleteFlag" />"></td>
			</tr>
		</table>
	</fieldset>
	</td></tr>
	<TBODY>
	<tr><td>
	<tag:turnPageTag pageMethod="list"/>
	</td></tr>
	</TBODY>
</table>

<display:table class="its" name="List"  id="VO" export="false" attribute="<%=COMMON.TABLE_STYLE%>">
	<display:column title="选择" attribute="style='cursor:hand' title='点击全选' onclick=\"selectAll('Ids')\"">
		<input type=checkbox name=Ids value='<tag:attr source="VO" attr="orgId" />'>
	</display:column>
	<display:column title="机构名称" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('orgName')\"">
		<a  href="#" onclick="view('orgId','<tag:attr source="VO" attr="orgId" />')">
			<tag:attr source="VO" attr="orgName" />
		</a>
	</display:column>
	<display:column title="机构类型" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('orgType')\"" property="orgType"/>
	<display:column title="机构负责人" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('principal')\"" property="principal"/>
	<display:column title="联系电话" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('phone')\"" property="phone"/>
	<display:column title="传真号" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('faxNo')\"" property="faxNo"/>
	<display:column title="优先级" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('email')\"" property="priority"/>
</display:table>
<br>
<input type="button"  value="新增" onclick="execute('init')">
<input type="button"  value="移动" onclick="move()">
<input type="button"  value="删除" onclick="selectAndExecute('delete') ">
</form>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -