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

📄 addreportdatalogicframeinput.jsp

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.gs.util.*"%>
<%@page import="java.sql.*"%>
<%
//*****初始化变量
	String page_code="";
	String logic_mark="";	
	String code="";
	page_code=request.getParameter("page_code");
	logic_mark=request.getParameter("logic_mark");
	code=request.getParameter("code");
	String tempQuery = null;
	int lineNum=0;
	ResultSet rs = null;//结果集合		
//*****连接数据库
	Connection con = Common.getConnection();
	Statement s = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY); 						
	tempQuery="select * from universal_pageelement_define where page_code='"+page_code+"' and (  code>='10000000' and code<'80000000') and logic_mark='"+logic_mark+"'";
	//out.println(tempQuery);
	rs=s.executeQuery(PubFunc.encodeGB(tempQuery));
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="style/webstyle.css" type=text/css rel=stylesheet>
<base target="bottom">
</head>
<body topmargin="0" leftmargin="0">
<DIV id=overDiv style="POSITION: absolute; Z-INDEX: 1"></DIV>
<SCRIPT src="js/overlib.js"></SCRIPT>
<form method="POST" action="" name=form1 target="_blank">
<input type="hidden" name=page_code value="<%=page_code%>">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15">
  <tr>
    <td width="100%">行列交叉点逻辑: </td>
  </tr>
</table>
<table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#86C2FF" width="1000" id="AutoNumber14" name="table1" height="31" cellpadding="0" >    
    <tr>
      <td bgcolor="#E6F2FF" width="6" height="18"></td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">类型</td>      
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">内容</td>      
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">属性</td>      
      <td width="54" height="18" bgcolor="#CEE7FF" align="center">对齐</td>
      <td width="76" height="18" bgcolor="#CEE7FF" align="center">宽度</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">高度</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">字体</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">文字大小</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">文字样式</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center">文字颜色</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center" >元素<br>输出值</td>
      <td width="111" height="18" bgcolor="#CEE7FF" align="center" >是否报出</td>
      <td width="200" height="17" colspan="4" align="center" bgcolor="#CEE7FF" >
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#86C2FF" width="100%" id="AutoNumber16" height="40">
        <tr>
          <td width="100%" colspan="4" height="16">
          <p align="center">边线</td>
        </tr>
        <tr>
          <td width="25%" height="20">左</td>
          <td width="25%" height="20">右</td>
          <td width="25%" height="20">上</td>
          <td width="25%" height="20">下</td>
        </tr>
      </table>
      </td>      
    </tr>            
    <%while(rs.next()){%>
      <tr>
      <td width="6" height="12" ><input type='hidden' name='T00' size='15' value="">
      </td>      
      <td width="126" height="12" ><select size="1" name='T03' onmouseover="drs('类型'); return true;" onmouseout="nd(); return true;"><option value="1" <%if((PubFunc.toShowForm(rs.getString(3))).equals("1"))out.println("selected");%>>单列输出</option><option value="2" <%if((PubFunc.toShowForm(rs.getString(3))).equals("2"))out.println("selected");%>>行列交叉输出</option><option value="3" <%if((PubFunc.toShowForm(rs.getString(3))).equals("3"))out.println("selected");%>>计算输出</option><option value="4" <%if((PubFunc.toShowForm(rs.getString(3))).equals("4"))out.println("selected");%>>机器编码</option></select>
      </td>
      <td width="111" height="12" ><input type='text' name='T04' size='40' onmouseover="drs('内容'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(4))%>">
      </td>
      <td width="124" height="12" ><select size="1" name="T05" onmouseover="drs('属性'); return true;" onmouseout="nd(); return true;"><option value="1" <%if((PubFunc.toShowForm(rs.getString(5))).equals("1"))out.println("selected");%>>标签</option></select>
      </td>                  
      <td width="54" height="12" ><select size="1" name="T09" onmouseover="drs('对齐'); return true;" onmouseout="nd(); return true;" ><option value="center" <%if((PubFunc.toShowForm(rs.getString(17))).equals("center"))out.println("selected");%>>居中</option><option value="left" <%if((PubFunc.toShowForm(rs.getString(17))).equals("left"))out.println("selected");%>>居左</option><option value="right" <%if((PubFunc.toShowForm(rs.getString(17))).equals("right"))out.println("selected");%>>居右</option></select>
      </td>
      <td width="76" height="12" ><input type='text' name='T10' size='6' onmouseover="drs('宽度'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(6))%>">
      </td>
      <td width="111" height="12" ><input type='text' name='T11' size='6' onmouseover="drs('高度'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(7))%>">
      </td>
      <td width="111" height="12" ><input type='text' name='T12' size='6' onmouseover="drs('字体'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(8))%>">
      </td>
      <td width="111" height="12" ><input type='text' name='T13' size='6' onmouseover="drs('字体大小'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(9))%>">
      </td>
      <td width="111" height="12" ><input type='text' name='T14' size='6' onmouseover="drs('文字样式'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(10))%>">
      </td>
      <td width="111" height="12" ><input type='text' name='T15' size='6' onmouseover="drs('文字颜色'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(11))%>">
      </td>      
      <td width="111" height="12" ><input type='text' name='T19' size='6' onmouseover="drs('元素输出值'); return true;" onmouseout="nd(); return true;" value="<%=PubFunc.toShowForm(rs.getString(19))%>">
      </td>      
      <td width="111" height="12" ><input type="checkbox" name="T18" value="1" onmouseover="drs('是否报出'); return true;" onmouseout="nd(); return true;" <%if((PubFunc.toShowForm(rs.getString(15))).equals("1"))out.println("checked");%>>
      </td>
      <td width="80" height="12" ><input type="checkbox" name="T20" value="1" onmouseover="drs('左边线'); return true;" onmouseout="nd(); return true;" <%if((PubFunc.toShowForm(rs.getString(20))).equals("1"))out.println("checked");%>>
      </td>
      <td width="40" height="12" ><input type="checkbox" name="T21" value="1" onmouseover="drs('右边线'); return true;" onmouseout="nd(); return true;" <%if((PubFunc.toShowForm(rs.getString(22))).equals("1"))out.println("checked");%>>
      </td>
      <td width="39" height="12" ><input type="checkbox" name="T22" value="1" onmouseover="drs('上边线'); return true;" onmouseout="nd(); return true;" <%if((PubFunc.toShowForm(rs.getString(24))).equals("1"))out.println("checked");%>>
      </td>
      <td width="41" height="12" ><input type="checkbox" name="T23" value="1" onmouseover="drs('下边线'); return true;" onmouseout="nd(); return true;" <%if((PubFunc.toShowForm(rs.getString(26))).equals("1"))out.println("checked");%>>
      </td>      
    </tr>     
  <%
    lineNum++;
    }
    rs.close();
    con.close();
    %>           
    </table>
    
<script>
var num=<%=lineNum%>
function check(){	
var page_code,code1,type1,input_value,style1,width1,height1,font_type,font_size,font_style,color1,rowspan1,colspan1,rowcolendpoint,change_sign,change_num_logic,position,border_haveno_sign,output_value,left_haveno_sign,left_startend_sign,right_haveno_sign,right_startend_sign,top_haveno_sign,top_startend_sign,bottom_haveno_sign,bottom_startend_sign,typelogic
	typelogic=charReplace(parent.main.form1.logicstr.value);
	logic_mark=charReplace(parent.main.form1.code.value);
	if(num>0)
	if(document.form1.T00.length>1){
		for(var i = 0;i<document.form1.T00.length;i++){	
			page_code=document.form1.page_code.value;				
			type1=document.form1.T03[i].value;
			input_value=charReplace(document.form1.T04[i].value);
			style1=document.form1.T05[i].value;
			position=document.form1.T09[i].value;		
			width1=document.form1.T10[i].value;

⌨️ 快捷键说明

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