GetTableName.jsp 6.91 KB
<!DOCTYPE HTML>
<%@ page import="weaver.general.Util" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>

<%
response.setHeader("cache-control", "no-cache");
response.setHeader("pragma", "no-cache");
response.setHeader("expires", "Mon 1 Jan 1990 00:00:00 GMT");
String type = Util.null2String(request.getParameter("type"));
response.sendRedirect("/notice/noright.jsp?isovertime=0");
%>

<HTML><HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<SCRIPT language="javascript" src="/js/weaver_wev8.js"></script>
<script type="text/javascript" src="/wui/common/jquery/jquery.min_wev8.js"></script>
<script language=javascript src="/wui/theme/ecology8/jquery/js/zDialog_wev8.js"></script>
<script language=javascript src="/wui/theme/ecology8/jquery/js/zDrag_wev8.js"></script>
<link rel="stylesheet" href="/wui/theme/ecology8/jquery/js/e8_zDialog_btn_wev8.css" type="text/css" />
<link rel="stylesheet" href="/css/ecology8/request/seachBody_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/jNice/jNice/jquery.jNice_wev8.js"></script>
<link rel="stylesheet" href="/js/ecology8/jNice/jNice/jNice_wev8.css" type="text/css" />
<script type="text/javascript">
	jQuery(document).ready(function(){
		jQuery(".e8_btn_top_first").hover(function(){
			jQuery(this).addClass("e8_btn_top_first_hover");
		},function(){
			jQuery(this).removeClass("e8_btn_top_first_hover");
		});
	});
</script>
<style type="text/css">
	.e8_btn_top:hover{
		background-color: #03a996 !important;
		color: white!important;
		border: 1px solid #03a996;
	}
</style>
</head>
<BODY>
<FORM style="MARGIN-TOP: 0px" id="frmMain" name=frmMain method=post action="E7ToE9Operator.jsp?operate=getTableName">
   
  <TABLE width="800px" style="text-align:center;margin-left:auto;margin-right:auto;margin-top:30px;" height=100% border="0" cellspacing="0" cellpadding="0">
    <COLGROUP> <COL width="20%"> <COL width="80%"><TBODY> 
	 <tr class=Title >
    	<TD colSpan=2 style="background-color:#f8f8f8;font-weight: bold;text-align:center;height:50px;color:#545454;border:1px solid #eaeaea;padding-bottom:5px;">
    		<span style="display:inline-block;line-height:32px;height:32px;background-image:url(/images/ecology8/dbinit_wev8.png);background-repeat:no-repeat;background-position:0 50%;">
    			<span id="title" style="padding-left:42px;display:inline-block;height:32px;line-height:45px;font-size:18px;">获取e7/e9都存在的表名</span>
    		</span>
    	</TD>
    </tr>
     <tr>
        <td  style="font-size:14px;color:#5c5c5c;height:33px;border-left:1px solid #eaeaea;text-align:right;padding-right:30px;padding-top:6px;">验证码:</td>
        <td  style="font-size:14px;color:#5c5c5c;border-right:1px solid #eaeaea;text-align:left;"><input style="margin-top:10px;border:1px solid #c5c5c5;width:300px;height:30px;" class="InputStyle"  type=password  name=code maxlength=16 size=16><a style="margin-left:10px;color:#006dff;" href="/system/ModifyCode.jsp?from=db">更改验证码</a></td>
    </tr>
     <tr>
         <td  style="font-size:14px;color:#5c5c5c;height:33px;border-left:1px solid #eaeaea;text-align:right;padding-right:30px;padding-top:6px;">e7表名:</td>
         <td  style="font-size:14px;color:#5c5c5c;border-right:1px solid #eaeaea;text-align:left;">
             <textarea style="margin-top:10px;border:1px solid #c5c5c5;width:296px;height:100px;" name="tablenames7"></textarea>
         </td>
     </tr>
     <tr>
         <td  style="font-size:14px;color:#5c5c5c;height:33px;border-left:1px solid #eaeaea;text-align:right;padding-right:30px;padding-top:6px;">e9表名:</td>
         <td  style="font-size:14px;color:#5c5c5c;border-right:1px solid #eaeaea;text-align:left;">
             <textarea style="margin-top:10px;border:1px solid #c5c5c5;width:296px;height:100px;" name="tablenames9"></textarea>
         </td>
     </tr>
	<tr>
    	<td colspan="2" style="text-align:right;height:60px;border-left:1px solid #eaeaea;border-bottom:1px solid #eaeaea;border-right:1px solid #eaeaea;">
    	<input style="margin-right:18px;font-size:14px;height:35px;width:100px;text-align:center;" class="e8_btn_top_first" id=btnSave accessKey=S name=btnSave type=button    onClick="OnSubmit()"value="开始获取"></input>
		<input style="margin-right:18px;font-size:14px;height:35px;width:100px;text-align:center;color:#000;border:1px solid #d8d8d8;" class="e8_btn_top" id=btnClear accessKey=R name=btnClear type=reset value="重  置"></input>
		</td>
    </tr>
    </TBODY> 
  </TABLE>
  </FORM>
<SCRIPT language="javascript">
function OnSubmit(){
        document.frmMain.btnSave.disabled = true;
		jQuery("#btnSave").css("background-color", "rgb(224,224,224)");
		jQuery("#btnSave").css("border", "1px solid #d8d8d8");
		jQuery("#btnSave").css("color", "#000");
		document.frmMain.submit();
}
jQuery(document).ready(function(){
    var type= "<%=type%>";
    if(type == "getTableName"){
        jQuery("#frmMain").attr("action","E7ToE9Operator.jsp?operate=getTableName");
        jQuery("#title").text("获取e7/e9都存在的表名");
        jQuery(window.parent.document).find("#getTableName").attr("class","current");
        jQuery(window.parent.document).find("#dropTable").removeAttr("class");
        jQuery(window.parent.document).find("#deleteTable").removeAttr("class");
        jQuery(window.parent.document).find("#createFormTableMain").removeAttr("class");
        jQuery(window.parent.document).find("#transDatabaseStruct").removeAttr("class");
        jQuery(window.parent.document).find("#synchroSequence").removeAttr("class");
        jQuery(window.parent.document).find("#clearRepeatTable").removeAttr("class");
        jQuery(window.parent.document).find("#initFormTableTrigger").removeAttr("class");
        jQuery(window.parent.document).find("#initHtmlMode").removeAttr("class");
        jQuery(window.parent.document).find("#getTableName1").removeAttr("class");
    }else if(type == "getTableName1"){
        jQuery("#title").text("获取只在e9不在e7中的表名");
        jQuery("#frmMain").attr("action","E7ToE9Operator.jsp?operate=getTableName1");
        jQuery(window.parent.document).find("#getTableName1").attr("class","current");
        jQuery(window.parent.document).find("#dropTable").removeAttr("class");
        jQuery(window.parent.document).find("#deleteTable").removeAttr("class");
        jQuery(window.parent.document).find("#createFormTableMain").removeAttr("class");
        jQuery(window.parent.document).find("#transDatabaseStruct").removeAttr("class");
        jQuery(window.parent.document).find("#synchroSequence").removeAttr("class");
        jQuery(window.parent.document).find("#clearRepeatTable").removeAttr("class");
        jQuery(window.parent.document).find("#initFormTableTrigger").removeAttr("class");
        jQuery(window.parent.document).find("#initHtmlMode").removeAttr("class");
        jQuery(window.parent.document).find("#getTableName").removeAttr("class");
    }
});
</script>
</BODY>
</HTML>