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

📄 appealtypeedit.jsp

📁 电信的网厅的整站代码
💻 JSP
字号:
<%@ page import="com.doone.uurm.Sys_Organise,
                 com.doone.data.*,
                 com.doone.fj1w.common.TD_City,
                  com.doone.fj1w.fjmgr.useroperinfo.Operappealtype,
                  com.doone.fj1w.common.ConfigFactory,
                 com.doone.util.FileLogger,java.util.*"%>
<%@ page contentType="text/html; charset=GBK" %>
<%request.setCharacterEncoding("gb2312");%>
<%String sPurvICode="NBGL001";%>
<%
	String strappealtypeid=request.getParameter("APPEALTYPEID");
	if(strappealtypeid==null || strappealtypeid.equals("")){
           response.sendRedirect("Appealtypeframe.jsp");
        }
        session.setAttribute("APPEALTYPEID",strappealtypeid);

        DataTable dtshowinfo=null;
        Operappealtype copershowinfo=new Operappealtype();
  try{
         
        dtshowinfo=copershowinfo.queryappealtype11("Td_AppealType","APPEALTYPEID",strappealtypeid);
  }catch(Exception ex){
       FileLogger.getLogger().error(ex);
       String strinfo="资源忙,请稍候!";
       session.setAttribute("OPERRESULT",strinfo);
       response.sendRedirect("resultinter.jsp");
  }
  String appealtypeid="";
  String citycode="";
  String appealtypename="";
  String appealmode="";
  String upappealtypeid="";
  if(dtshowinfo!=null){
    for(int t=0;t<dtshowinfo.getRows().getCount();t++){
      DataRow drshowinfo = dtshowinfo.getRow(t);
      appealtypeid=drshowinfo.getString("APPEALTYPEID");
      citycode=drshowinfo.getString("CITYCODE");
      upappealtypeid=drshowinfo.getString("UPAPPEALTYPEID");
      appealtypename =drshowinfo.getString("APPEALTYPENAME");
     appealmode =drshowinfo.getString("APPEALMODE");
    }
  }else{
       String strinfo="资源忙,请稍候!";
       session.setAttribute("OPERRESULT",strinfo);
       response.sendRedirect("resultinter.jsp");
  }

%>

<html>
<head>
<title>故障投诉建议类别</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../common/style/main.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="../../common/script/Calendar.js"></script>
<script language="JavaScript" src="../../common/script/CalendarLib30.js"></script>
<script language="JavaScript" src="../../common/script/CheckInfo.js"></script>
</head>
<body>
<script language="JavaScript" src="../../common/script/ChangeStyle.js"></script>
<DIV id=overDiv style="Z-INDEX: 1000; VISIBILITY: hidden; POSITION: absolute"></DIV>
<form action="Appealtyperesult.jsp?TYPE=2" method="post" name="insertfrm">
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="InnerTable">
<tr>
	  <td class="OuterHead" colspan="9">
      <table width="100%"  border="0" cellspacing="0" cellpadding="1">
      <tr>
        <td nowrap="nowrap" style="text-align:left">
        <span id="ItemTitle"><font face="webdings">8</font>更新信息</span></td>
        <td align="right" nowrap>&nbsp;        </td>
      </tr>
      </table>
    </td>
    </tr>
    <tr>
	  <td class="InnerHead" style="text-align:right" width="585"><font color="red">*</font>类别名称</td>
	  <td class="InnerMain" width="585"><input name="APPEALTYPENAME"  id="APPEALTYPENAME" type="text" style="width:120" maxlength="20" value="<%=appealtypename%>"></td>
    </tr>
    <tr>
      <td class="InnerHead" style="text-align:right">类型</td>
      <td class="InnerMain"><select name="APPEALMODE" style="width:120 ">
	    	<%
                String pmode = null;
                DataRow drmode = null;

                ConfigFactory cconfigdata=new ConfigFactory();
                //投送内容 帐单 长途清单 ADSL清单
                String sordersort="APPEALMODE";
                DataTable dtmode=cconfigdata.getSysConfigList(sordersort);

                if (dtmode != null) {
      		for (int t = 0; t < dtmode.getRows().getCount(); t++) {
                  drmode = dtmode.getRow(t);
                  if(appealmode.equals(drmode.getString(0))){
                  pmode = pmode+ "<option value='" + drmode.getString(0) + "' selected>" + drmode.getString(1) +
                  "</option>";
                  break;
                  }
                  }
	   	}
                out.print(pmode);
                %>

      </select></td>
    </tr>
    <tr>
	  <td class="InnerHead" style="text-align:right" width="585"><font color="red">*</font>上级类别</td>
	  <td class="InnerMain" width="585"><select name="UPAPPEALTYPEID" style="width:120 ">
	    	<%
          String supappealidname="";
          String supappealidfield="";
          String supappealidvalue="";
          if(upappealtypeid.equals("0")){
            supappealidname="无";
          }else{
            supappealidfield="APPEALTYPEID";
            supappealidvalue=upappealtypeid;

            DataTable dtupappealid=copershowinfo.qryappealtypeupid(supappealidfield,supappealidvalue);
            if (dtupappealid != null) {
              for(int icircle=0;icircle<dtupappealid.getRows().getCount();icircle++){
                DataRow drupappealid=dtupappealid.getRow(icircle);
                if(upappealtypeid.equals(drupappealid.getString(0))){
                  supappealidname=drupappealid.getString(1);
                  break;
                }
              }
            }
          }
                %><option value="<%=upappealtypeid%>" selected><%=supappealidname%></option>
	    </select></td>

    </tr>

    <tr>
	  <td  class="InnerMain" colspan="2" align="center">
      <input  type="submit"  class="button"  value="确认" onClick="return check()">
      <input type="reset"  class="button"  value="重写">
      </td>
    </tr>
</table>
</form>

</body>
</html>
<script language="javascript">
function check(){
if(document.getElementById("APPEALTYPENAME").value==""){
alert("请输入新的业务类别名称");
return false;

}
}
</script>

⌨️ 快捷键说明

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