📄 history_index.jsp
字号:
QueryTable.tBodies[1].style.display='block';
window.setTimeout("cltScript_Toolbar();",30);
}
function ReadCookie(name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return GookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function WriteCookie(name, value) {
var argv = WriteCookie.arguments;
var argc = WriteCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" +escape (value) +((expires == null) ?"" : ("; expires="+ expires.toGMTString()))+((path == null) ? "" :("; path=" + path)) +((domain == null) ?"" : ("; domain=" + domain))+((secure == true) ? "; secure" : "");
}
function loadCookie() {
var qt = document.getElementById("QueryTable");
try {
var inputs = qt.getElementsByTagName("INPUT");
var selects = qt.getElementsByTagName("SELECT");
var preName = "ORDER_INDEX_";
for ( var i = 0; i<inputs.length; i++ ) {
if ( inputs[i].id == "" || inputs[i].disabled ) continue;
var sValue = ReadCookie(preName+inputs[i].id);
if ( sValue != null ) inputs[i].value = sValue;
}
for ( var i = 0; i<selects.length; i++ ) {
if ( selects[i].id == "" || selects[i].disabled ) continue;
selects[i].selectedIndex = ReadCookie(preName + selects[i].id);
}
sHistoryStateName = ReadCookie("ORDER_INDEX_HistoryStateName");
sHistoryStateValue = ReadCookie("ORDER_INDEX_HistoryStateValue");
}
catch(ex){
alert(ex.description);
}
}
function saveCookie() {
var qt = document.getElementById("QueryTable");
try {
var inputs = qt.getElementsByTagName("INPUT");
var selects = qt.getElementsByTagName("SELECT");
var preName = "ORDER_INDEX_";
for ( var i = 0; i<inputs.length; i++ ) {
if ( inputs[i].id == "" ) continue;
WriteCookie(preName+inputs[i].id, inputs[i].value);
}
for ( var i = 0; i<selects.length; i++ ) {
if ( selects[i].id == "" ) continue;
WriteCookie(preName + selects[i].id, selects[i].selectedIndex);
}
var qr = document.getElementById("QueryResult");
var aLink = qr.tBodies[0].rows(0).getElementsByTagName("A");
var sName = null;
var sValue = null;
for ( var i=0; i<aLink.length; i++) {
if ( aLink[i].style.fontWeight == "bold" ) {
sName = aLink[i].name;
sValue = aLink[i].value;
break;
}
}
// 当前状态;
WriteCookie("ORDER_INDEX_HistoryStateName", sName);
WriteCookie("ORDER_INDEX_HistoryStateValue", sValue);
}
catch(ex){
alert(ex.description);
}
}
window.onunload = saveCookie;
-->
</script>
<meta name="Microsoft Theme" content="compass 1011, default">
<meta name="Microsoft Border" content="tlb, default">
</head>
<body onLoad="fn_onload();">
<script id="event_id"></script>
<form id="Default" method="post" action="index.jsp" onSubmit="return fn_OnSubmit(this);">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td> </td>
</tr>
</table>
<jsp:include page="../../common/inc_top.jsp" >
<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
</jsp:include>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr>
<td width="100%" colspan="2" class="OuterHead" align="left">
<span id="ItemTitle"><font face="webdings">8</font>查询订单:</span>
<input type="radio" id="SIMPLEQUERY" name="querymode" checked="checked" value="simple" onClick="fnShowSimple();"><label for="SIMPLEQUERY" id="ItemTitle">简单查询</label>
<input type="radio" id="QUERYALL" name="querymode" value="all" onClick="fnShowAll();" ><label for="QUERYALL" id="ItemTitle">复杂查询</label> </td>
</tr>
<tr>
<td width="100%" colspan="2" class="InnerMain" align="left">
<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
<caption style="display:none;">
<input type="hidden" name="STAFFID" value="<%=userid%>">
</caption>
<tbody>
<!--常用简单的查询条件-->
<tr>
<td width="11%" align="right" nowrap="nowrap" class="Caption_Td">订单流水号:</td>
<td width="24%" align="left" nowrap="nowrap" class="body_td">
<input type="text" id="ORDERID" name="ORDERID" style="width: 100%;"> </td>
<td width="10%" align="right" nowrap="nowrap" class="Caption_Td">工单类型:</td>
<td width="26%" nowrap="nowrap" class="body_td">
<select name="CATE" id="CATE" style="width: 100%">
<option value="1">业务受理单</option>
<option value="2">客户服务单</option>
<option value="3">故障申告单</option>
</select></td>
<td width="8%" align="right" nowrap="nowrap" class="Caption_Td">
状态: </td>
<td width="21%" nowrap="nowrap" class="body_td" colspan="2" align="left">
<select name="STATE" style="width: 100%;">
<option value="0">所有订单</option>
<option value="1">待处理</option>
<option value="2">转派</option>
<option value="3">挂起</option>
<option value="4">已作废</option>
<option value="5">已完成</option>
<option value="6">自己锁定</option>
</select>
</td>
</tr>
</tbody>
<tbody style="display:none;">
<!--其它查询条件-->
<tr>
<td class="Caption_Td" align="right" nowrap="nowrap"><span class="body_td">开始时间:</span></td>
<td class="body_td" align="left" nowrap="nowrap">
<input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" onDblClick="this.value='';" size="19" /><span style="cursor:hand"
onclick="return showCalendar('STARTTIME', '%Y-%m-%d', '24', true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14">
</td>
<td class="body_td" align="right" nowrap="nowrap">结束时间: </td>
<td class="body_td" align="left" nowrap="nowrap"><span class="body_td">
<input type="text" name="ENDTIME" id="ENDTIME" title="双击清空。" onDblClick="this.value='';" size="19" readonly="readonly" /><span style="cursor:hand"
onclick="return showCalendar('ENDTIME', '%Y-%m-%d %H:%M', '24', true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14">
</td>
<td class="body_td" align="right" nowrap="nowrap"> </td>
<td class="body_td" align="right" nowrap="nowrap"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="OuterFoot">
<td width="15%" align="left" class="Caption_Td">
<input type="submit" class="button" value="查询">
<input type="reset" class="button" value="重填">
</td>
<td width="85%" align="left" class="Caption_td"><table id="QueryResult" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
ontableload="return onQueryResultLoad();"
serviceurl="<%= request.getContextPath() + "/XmlHttpService"%>"
service="OrderHisService"
dataservice="getOrderMethod"
rcservice="getOrderMethodCount"
autoload="False"
locked="true">
<caption style="display:none;">
</caption>
<tr>
<td></td>
</tr>
</table></td>
</tr>
<tr height="5"><td colspan="2"><img src="../../common/images/spacer.gif"></td></tr>
</table>
</div>
<div id="divMain" style="overflow: auto">
<!--service表的服务名--><!--dataService表的内容--><!--rcService表的行数-->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="50%" valign="top">
<table id="Result" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
DefaultClass="DefaltRow"
keyName="key"
SelectedClass="SelectedRow"
multiple="true"
onselected="return onChoosed();"
onunselected="return onUnChoosed();"
ontableload="return onContentLoad();"
ondblclick="return fn_dblClick();"
serviceURL="<%=request.getContextPath()+"/XmlHttpService"%>"
service="OrderHisService"
dataService="getOrderList"
rcService="getOrderCount"
pageStyle="0"
autoLoad="false"
class="OuterTable">
<thead>
<tr class="OuterHead" style="cursor: none;">
<TD class="title_td" align="center" width="23%" nowrap><b>订单流水号</b></TD>
<TD class="title_td" align="center" width="14%" nowrap><b>客户名称</b></TD>
<TD class="title_td" align="center" width="15%" nowrap><b>业务类别</b></TD>
<TD class="title_td" align="center" width="20%" nowrap><b>受理时间</b></TD>
<TD class="title_td" align="center" width="14%" nowrap><b>状态</b></TD>
<TD class="title_td" align="center" width="14%" nowrap><b>锁定员工名</b></TD>
</tr>
</thead>
<caption style="display:none;"></caption>
<tr key="-1" type=""><td class="InnerHead" colspan="6" style="cursor: default;" onClick="">没有任何记录信息</td></tr>
<tfoot>
<tr class="OuterFoot">
<td align="right" class="foot_td" nowrap colspan="6">
分页:<span id="pageSet"></span> </td>
</tr>
</tfoot>
</table>
</td>
</tr>
</table>
</div>
</div>
</form>
<IFRAME id="orderAccept" style="display:none;"></IFRAME>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -