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

📄 orderaccept.jsp

📁 电信的网厅的整站代码
💻 JSP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html;charset=GBK" %>
<%@ page import="com.doone.uurm.WebAuth"%>
<%@ page import="com.doone.fj1w.fjmgr.order.DisplayPage"%>
<%@ page import="com.doone.fj1w.fj1w.order.Tf_ProdOrder"%>
<%@ page import="com.doone.fj1w.fjmgr.order.CommonMethod"%>
<%@ page import="com.doone.data.DacClient"%>
<%
	String id = request.getParameter("id");
	String sType = request.getParameter("type");

	WebAuth auth = WebAuth.getInstance(request);
	String cityCode = auth.getCityCode();
	String sSubType = null;
	try {
		// TODO 以后要更换该实现。
		Tf_ProdOrder order = new Tf_ProdOrder(new DacClient(), Long.parseLong(id));
		cityCode = order.getWeborder().substring(4,8);
		sSubType = order.getOperationtype();
	}
	catch(Exception ex){}

	// XXX 暂时关闭所有流程功能,走福州的普通流程。
	if (false && cityCode != null && cityCode.equals("0595") ) {
	
	    String areaCode = CommonMethod.getProdOrderAreaCode(id);
	    if(!areaCode.equals("") && !areaCode.equals("059500")){
	       //只有泉州市区可以直接送到管理平台进行流程受理,而泉州市区外的固话新装工单是直接转派到接口
	       sType = "-1";
	    }
	    
		String toPage = null;
		switch(Integer.parseInt(sType)) {
			case 1:
				// 固定电话处理。
				if ( sSubType.equalsIgnoreCase("M") ) {
    				toPage = "movephone/index.jsp?id=" + id;
				}
				else if ( sSubType.equalsIgnoreCase("TB") ) {
    				toPage = "stopPho/index.jsp?id=" + id;
				}
				else{
    				toPage = "newphone/indexhepler.jsp?id=" + id;
				}
				
				break;
			case 2:
			    if ( sSubType.equalsIgnoreCase("TB") ) {
    				toPage = "stopRadioPho/index.jsp?id=" + id;
				}
				break;
			case 3:
				//wull增加宽带变更
			    if ( sSubType.equalsIgnoreCase("D") ) {
    				toPage = "adslAlter/index.jsp?id=" + id;
				}
				else if ( sSubType.equalsIgnoreCase("TB") ) {
    				toPage = "stopAdsl/index.jsp?id=" + id;
				}
				else if ( sSubType.equalsIgnoreCase("M") ) {
    				toPage = "moveadsl/index.jsp?id=" + id;
				}
				else{
			        toPage = "newAdsl/index.jsp?id=" + id;
			    }
			    break;
			case 6:
			    toPage = "newLan/index.jsp?id=" + id;
			    break;
			default:
				break;
		}
	
	    if ( toPage != null ) {
    		out.print("<script language='javascript'>parent.document.location.href = '"+toPage+"';</script>");
    	    return ;
	    }
	}
	
%>
<Html>
<HEAD>
	<script language="JavaScript" src="../../common/mainTool.js"></script>
	<SCRIPT language="javascript">
		var sURL = "orderDetail.jsp?PRODORDERID=<%= DisplayPage.encode(id)%>";
		parent.window.windowOpen(sURL,900,550,"受理单审核");
	</SCRIPT>
</HEAD>
</Html>

⌨️ 快捷键说明

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