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

📄 revokequerysupershow.jsp

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JSP
📖 第 1 页 / 共 2 页
字号:
function changeItem(stockman,selectnum,xName,selectSN,selectBID,xnameV){
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;
	if(document.all.selectRow.value!=""){
		for(j=0;j<rowT.rows[document.all.selectRow.value].cells.length;j++){
			if((document.all.selectRow.value)%2==0){
				rowT.rows[document.all.selectRow.value].cells[j].className="businessTd01LeftBig";
			}else{
				rowT.rows[document.all.selectRow.value].cells[j].className="businessTd00LeftBig";
			}
		}
	}

	for(j=0;j<rowT.rows[selectnum].cells.length;j++){
			rowT.rows[selectnum].cells[j].className="businessTd03LeftBig";
	}
	document.all.selectRow.value=selectnum;
	document.all.selectItemName.value=xName;

	document.all.selectSN.value=selectSN;
	document.all.selectBID.value=selectBID;
	document.all.selectItem.value=xnameV;

	//选择企业
	selectBussiness.innerHTML="<font class=textLeft12><b>您选择的企业是:<font color=red>"+document.all.selectItemName.value+"</font></b></font>";
}

function selectallItem(state,stockman){
	//取消选择
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;
	if(state=="0"){
		for(i=1;i<rowsNum;i++){
			rowT.rows[i].cells[0].children[0].checked=false;
		}
	}else{
		//全部选择
		for(i=1;i<rowsNum;i++){
			rowT.rows[i].cells[0].children[0].checked=true;
		}
	}
	window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_printSelectALL%>&pagePrintSelectAllFlag="+state,"","toolbar=no,resizable,scrollbars,dependent,width=300,height=160,top="+(screen.availHeight/2-160/2)+",left="+(screen.availWidth/2-300/2));
}

function functionInstance(id,stockman,nexpageNum){
	var w = screen.availWidth-10;
	var h = screen.availHeight-30;
	if(id==null||id=="")return false;

	//取消选择
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;

	//打印信封条
	if(id==1){
	if(rowsNum==2){
		if(rowT.rows[1].cells[0].children[0].checked){
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="1";
			}else{
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="0";
			}
		}else{
			for(i=1;i<rowsNum;i++){
				if(rowT.rows[i].cells[0].children[0].checked){
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="1";
				}else{
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="0";
				}
			}
		}
		document.forms[0].target="_blank";
		document.forms[0].action.value="<%=PageBuilderEvent.query_print_mail%>";
		document.forms[0].submit();
	}else
	//打印选项(保存Excel)
	if(id==2){
		var rowselectCheckItemT=document.all("selectCheckItem");
		var j=0;
		if(rowsNum==2){
			if(rowT.rows[1].cells[0].children[0].checked){
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="1";
			}else{
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="0";
			}
		}else{
			for(i=1;i<rowsNum;i++){
				if(rowT.rows[i].cells[0].children[0].checked){
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="1";
				}else{
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="0";
				}
			}
		}
		document.forms[0].target="_top";
		document.forms[0].action.value="4011";
		document.forms[0].submit();
	}else
	//企业现状态
	if(id==3){
		if(document.all.selectItem.value==""){
			alert("请选择企业!");
			return false;
		}
		window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_defineFrame%>&actionTo=<%=PageBuilderEvent.query_defineList%>&BID="+document.all.selectBID.value+"&innerID="+document.all.selectItem.value,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
	}else
	//年检情况
	if(id==4){
		if(document.all.selectItem.value==""){
			alert("请选择企业!");
			return false;
		}
		var yearCheckupY="";
		yearCheckupY=prompt("请输入年检年度:",'<%=tempdate%>');
		if(yearCheckupY==null){
			return false;
		}else{
			if((document.all.selectBID.value).length>2){
				window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_defineFrame%>&actionTo=<%=PageBuilderEvent.query_defineList%>&BID=07"+(document.all.selectBID.value).substring(2,(document.all.selectBID.value).length)+"&innerID="+document.all.selectItem.value+"&yearCheckupY="+yearCheckupY,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
			}else{
				alert("您选择企业的业务类型不正确!");
			}
		}
	}else
	//变更情况
	if(id==5){
		if(document.all.selectItem.value==""){
			alert("请选择企业!");
			return false;
		}else{
			window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_change_list%>&SN="+document.all.selectSN.value+"&innerID="+document.all.selectItem.value+"&BID=03"+(document.all.selectBID.value).substring(2,(document.all.selectBID.value).length),"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
		}
	}else
	//返回
	if(id==6){
//		location="<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=nextAction%>&type=<%=nextPageType%>";
        window.close();

	}else
	//翻页
	if(id==10){
		//如果为单行
		if(rowsNum==2){
			if(rowT.rows[1].cells[0].children[0].checked){
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="1";
			}else{
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="0";
			}
		}else{
			for(i=1;i<rowsNum;i++){
				if(rowT.rows[i].cells[0].children[0].checked){
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="1";
				}else{
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="0";
				}
			}
		}
		document.forms[0].target="_top";
		document.forms[0].nowPageNum.value=nexpageNum;
		document.forms[0].action.value="4002";
		document.forms[0].submit();
	}
}
//设置页面显示数量
function updatePageNUM(){
	var queryShowNum="";
	queryShowNum=prompt("请输入页面显示记录数量:",'<%=queryShowNum%>');
	if(queryShowNum==null){
		return false;
	}else{
		location="pageBuilderAction.do?action=4002&nowPageNum=<%=pageNum%>&queryShowNum="+queryShowNum;
	}
}

//刷新当前页
function refurbishPage(){
	functionInstance(10,'stockmanID','<%=pageNum%>');
}

<%=tempStrSelect%>
</script>
</center>
</body>
</html>
<%}catch(Exception ex){
	Debug.println("[querySuperShow.jsp]--->exception:"+ex.getMessage());
}%>

⌨️ 快捷键说明

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