📄 special_mess.jsp
字号:
<input type="text" name="chargeDownInput" id="chargeDownInput" class="Input" onKeyUp="value=value.replace(/[^\d]/g,'')" style="width:120px " disabled="disabled">
</td>
</tr>
<tr>
<td class="InnerHead" nowrap><div align="left">
<input type="checkbox" name="fourCheck" value="">
去除带“4”</div></td>
<td align="center" class="InnerMain"></td>
</tr>
<tr>
<td colspan="2" nowrap class="InnerHead"> <div align="right">
<input type="button" name="sreach" calss="button" value="搜索" onClick="fuc_event_sreach()" disabled>
</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="right" class="InnerMain">
<input type="button"
name="cancel"
class="button"
style="width:80px"
value="上一步"
onclick="fuc_event_privious_page();">
<%
if(_flowEngie.getStepSN() == ExtraBssParameter.STEP_14){
%>
<input type="button"
name="Submit"
class="button"
style="width:80px"
onclick="return fuc_event_next_page();"
value="下一步">
<%
}else{%>
<input type="button"
name="Submit"
class="button"
style="width:80px"
onClick="fuc_event_enter()"
value="下一步">
<%}%>
</td>
</tr>
</table>
<%
BssReferCustBean _brCB = _flowEngie.getbssCustMess();
String area_id = _brCB.getCUSTiAREA_ID();
String citycode= _brCB.getCITYCODE();
//锁号
String check = request.getParameter("check");//标志
String nbr_id = request.getParameter("value");//业务编码
String nbr_name = request.getParameter("text");//业务号码
if(check != null && !check.equals("")
&& nbr_id != null && !nbr_id.equals("")
&& nbr_name != null && !nbr_name.equals("")){
//预占它,S是空闲,Z是预占 C是占用
try{
BssInter4.callWebModNbrState(area_id,nbr_id,"S","Z",citycode);
}catch(Exception exs){
%>alert("预占失败,请重新预占本号码,原因: <%=exs.getMessage()%>");<%
return;
}
SelectNbrBean _selctNbr = new SelectNbrBean();
_selctNbr.setSERV_NBRiSERV_NBR_NAME(nbr_name);
_selctNbr.setSERV_NBRiSERV_NBR_ID(nbr_id);
_flowEngie.setRecordFrom(_selctNbr.toFormBody().toDataTable(),ExtraBssParameter.NP_ABOUTTELE_TBL);
_flowEngie.setStepSN(ExtraBssParameter.STEP_5);
_flowEngie.save();
%>
<script>
document.all.ordernum.value = "<%=nbr_name%>";
kill_btn.disabled = false;
</script>
<%
return;
}
//选号
String method = request.getParameter("method");
if(method != null && (method.equals("1") || method.equals("2"))){
BssAddressBean _bab = new BssAddressBean();
_bab.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_AddRESS_TBL));
/**
String SERV_NBRiNBR_CLASS =""; // 级别 String
String KEY_WORD =""; // 号码查询关键字(可空) String
String PRICE_LOW =""; // 价格区间(可空) String
String PRICE_HIGH =""; // 价格区间(可空) String
String EXCHiEXCH_ID = _bab.getSO_ACCESSiEXCH_ID();// 局向 String
String DEVICEiDEVICE_ID ="1"; // 业务类型(不可空) String
String CONN_ROUTEiDOWN_DEVICE_ID = _bab.getSO_ACCESSiACC_NODE_ID();// 接入点编码(可空)
String FLAG1 ="0";// 选号0/配号1(不可空) String
String FLAG2 ="10";// 返回数量(不可空)-1 全部 // count 数量 String
String TEMP_STS_WORDS1 ="QZ000506";//班组编码 String
String TEMP_STS_WORDS2 ="";//机型编码 String
String TEMP_STS_WORDS5 ="";//组合方式0:AABB,1:ABAB,2:ABBB,3:AAAA String
String TEMP_STS_WORDS6 ="0";//去掉带4(0:否,1:是) String
String SERV_NBRiSERV_NBR_TYPE ="P";//
//手动选号
if(method == "1"){
KEY_WORD = request.getParameter("head");
PRICE_LOW = request.getParameter("up");
PRICE_HIGH = request.getParameter("down");
TEMP_STS_WORDS6 = request.getParameter("killfour");
}
*/
//自动选号method == 2
DataTable _dt = null;
try{
_dt = BssInter4.callWebQrySelNbr(area_id,citycode);
if(_dt != null && _dt.getRows().getCount() > 0){
%>
<script>
for(i=document.all.checknum.options.length;i>0-1;i--)
document.all.checknum.options[i]=null;
</script>
<%
for(int i =_dt.getRows().getCount() ; -- i >= 0;){
String name = _dt.getRow(i).getString("SERV_NBRiSERV_NBR_NAME");//业务号
String id = _dt.getRow(i).getString("SERV_NBRiSERV_NBR_ID");// 业务号编码
%>
<script>
tpt = new Option();
tpt.text ="<%=name%>";
tpt.value ="<%=id%>";
document.all.checknum.options.add(tpt);
start_i.disabled = true;
</script>
<%
}
}
}catch(Exception ex){
%>alert("选号失败,原因: <%=ex.getMessage()%>");<%
}
return;
}
//取消预占号码
String cancel = request.getParameter("cancel");
if(cancel != null && !cancel.equals("")){
//获取预占号码
SelectNbrBean _selctNbr = new SelectNbrBean();
_selctNbr.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_ABOUTTELE_TBL));
try{
BssInter4.callWebModNbrState(area_id,_selctNbr.getSERV_NBRiSERV_NBR_ID(),"Z","S",citycode);
_selctNbr.setSERV_NBRiSERV_NBR_NAME("");
_selctNbr.setSERV_NBRiSERV_NBR_ID("");
_flowEngie.setRecordFrom(_selctNbr.toFormBody().toDataTable(),ExtraBssParameter.NP_ABOUTTELE_TBL);
_flowEngie.setStepSN(ExtraBssParameter.STEP_5);
_flowEngie.save();
%>
<script>
ordernum.value= "请预选一个号码";
kill_btn.disabled = true;
start_i.disabled = false;
</script>
<%
}catch(Exception exs){
exs.printStackTrace();
%>alert("取消预占失败,请重新预占本号码,原因: <%=exs.getMessage()%>");<%
return;
}
}
//预选号码
//管理平台选号码
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_ABOUTTELE_TBL)!= null){
SelectNbrBean _selctNbr = new SelectNbrBean();
_selctNbr.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_ABOUTTELE_TBL));
String nrb_name = _selctNbr.getSERV_NBRiSERV_NBR_NAME();
String flag_to = "false";
String start_to= "true";
if(nrb_name == null || nrb_name.equals("")
|| nrb_name.indexOf("预") != -1
|| nrb_name.indexOf("号") != -1){
nrb_name = "请预选一个号码";
flag_to = "true";
start_to = "false";
}
if(_flowEngie.getStepSN() == ExtraBssParameter.STEP_14){
flag_to = "true";
}
%>
<script>
ordernum.value = "<%=nrb_name%>";
kill_btn.disabled = <%=flag_to%>;
start_i.disabled = <%=start_to%>;
</script>
<%
}else{
String abouttel = _flowEngie.getTf_prodOrder().getAbouttel();
SelectNbrBean _selctNbr = new SelectNbrBean();
_selctNbr.setSERV_NBRiSERV_NBR_NAME(abouttel);
_selctNbr.setSERV_NBRiSERV_NBR_ID("");
_flowEngie.setRecordFrom(_selctNbr.toFormBody().toDataTable(),ExtraBssParameter.NP_ABOUTTELE_TBL);
_flowEngie.setStepSN(ExtraBssParameter.STEP_5);
_flowEngie.save();
//fj10000前台选号
String flag_to = "false";
String start_to= "true";
if(abouttel == null || abouttel.equals("")
|| abouttel.indexOf("预") != -1
|| abouttel.indexOf("号") != -1 ){
abouttel = "请预选一个号码";
flag_to = "true";
start_to = "false";
}
%>
<script>
ordernum.value = "<%=abouttel%>";
kill_btn.disabled = <%=flag_to%>;
start_i.disabled = <%=start_to%>;
</script>
<%
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -