<%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@page import="java.util.List"%>
<%@page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@page import="java.sql.Date"%>
<%@page import="java.util.Calendar"%>
<%@page import="com.luojin.model.Custom"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0069)http://spzx.panyu.gov.cn/OuterNetWeb/appMain?service=index&func=index -->
<HTML lang=en xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<HTML lang=en xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<HEAD><TITLE>行政服务管理系统</TITLE>
<link rel="stylesheet" href="/OuterNetWeb/skin/py2/css/irstyle.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/OuterNetWeb/skin/py2/css/class.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/OuterNetWeb/skin/py2/css/print.css" type="text/css" media="print">
<!--[if IE 6]><script src="/OuterNetWeb/common/tools/IE8.js" type="text/javascript"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="/OuterNetWeb/common/tools/calendar/humanity.datepick.css" />
<link href="./css/css.css" rel="stylesheet" type="text/css" />
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.6332" name=GENERATOR><LINK
media="screen, projection" href="AdminServer.files/irstyle.css"
type=text/css rel=stylesheet><LINK media="screen, projection"
href="AdminServer.files/class.css" type=text/css rel=stylesheet><LINK
media=print href="AdminServer.files/print.css" type=text/css
rel=stylesheet><!--[if IE 6]>
<SCRIPT src="AdminServer.files/IE8.htm" type=text/javascript></SCRIPT>
<![endif]-->
<SCRIPT src="AdminServer.files/jquery-1.4.2.min.htm"
type=text/javascript></SCRIPT>
<SCRIPT src="AdminServer.files/login.htm" type=text/javascript></SCRIPT>
<SCRIPT src="AdminServer.files/openWin.htm" type=text/javascript></SCRIPT>
<SCRIPT src="AdminServer.files/js_func.htm" type=text/javascript></SCRIPT>
<SCRIPT src="AdminServer.files/swfobject_modified.htm"
type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
$(document).ready(function(i){
initItemTitle();
getItemCount();
getRollItem();
$('.casetable tr:even').each(function(){
$(this).css({background:"#F3F3F3"})
});
scrollDivLeft();
});
// 加载办件统计
function getItemCount(){
$.ajax({
url: '/OuterNetWeb/appMain',
async: true,
type: 'POST',
data: {
service: 'info',
func: 'getItemCount'
},
success: function(msg){
var s = '';
var dayNum = 0;
for(var i in msg){
if(i < 6){
s = '<li><span>' + getString(msg[i].value, 0) + '件</span>' + msg[i].name + ' : </li>';
$('#allCount').append(s);
}else{
dayNum += parseInt(getString(msg[i].value, 0));
s = '<li><span>' + getString(msg[i].value, 0) + '件</span>' + msg[i].name + ' : </li>';
$('#dayCount').append(s);
}
}
$('#dayCount li').eq(0).html('<span>' + dayNum + '件</span> 今日收件 : ');
}
});
}
// 事项类别
function initItemTitle(){
$.post("/OuterNetWeb/appMain?service=info&func=getItemTitle",{
},function(msg){
if(isSet(msg)){
var numCom = 0;
var numPer = 0;
for(var i in msg[0].enterprise){
numCom++;
$('#enterpriseTitle').append("<li><a href=\"/OuterNetWeb/appMain?service=work&func=comWorkShow&itemId=" + msg[0].enterprise[i].ITEM_ID + "\" title='" + msg[0].enterprise[i].ITEM_NAME + "'>" + getSubString(msg[0].enterprise[i].ITEM_NAME, 7) + "</a></li>");
}
for(var i in msg[0].individual){
numPer++;
$('#personalTitle').append("<li><a href=\"/OuterNetWeb/appMain?service=work&func=personWorkShow&itemId=" + msg[0].individual[i].ITEM_ID + "\" title='" + msg[0].individual[i].ITEM_NAME + "'>" + getSubString(msg[0].individual[i].ITEM_NAME, 7) + "</a></li>");
}
for(var i in msg[0].perAndCom){
numCom++;
numPer++;
$('#enterpriseTitle').append("<li><a href=\"/OuterNetWeb/appMain?service=work&func=comWorkShow&itemId=" + msg[0].perAndCom[i].ITEM_ID + "\" title='" + msg[0].perAndCom[i].ITEM_NAME + "'>" + getSubString(msg[0].perAndCom[i].ITEM_NAME, 7) + "</a></li>");
$('#personalTitle').append("<li><a href=\"/OuterNetWeb/appMain?service=work&func=personWorkShow&itemId=" + msg[0].perAndCom[i].ITEM_ID + "\" title='" + msg[0].perAndCom[i].ITEM_NAME + "'>" + getSubString(msg[0].perAndCom[i].ITEM_NAME, 7) + "</a></li>");
}
for(var i = numCom%8; i!=0 && i < 8; i++){
$('#enterpriseTitle').append("<li><a href='javascript:void(0);'> </a></li>");
}
for(var i = numPer%8; i!=0 && i < 8; i++){
$('#personalTitle').append("<li><a href='javascript:void(0);'> </a></li>");
}
}
});
}
// 办件统计切换
function showCount(){
if($('#allCount').css('display') == 'none'){
$('.countClass').hide();
$('#allCount').show();
}else{
$('.countClass').hide();
$('#dayCount').show();
}
}
// 加载滚动事项
function getRollItem(){
$.ajax({
url: '/OuterNetWeb/appMain',
async: true,
type: 'POST',
data: {
service: 'info',
func: 'getRollItem'
},
success: function(msg){
var s = '';
var bgColor = '#fff';
for(var i in msg){
if(i > 50){
break;
}
if(i%2 == 0){
bgColor = "#ffffff";
}else{
bgColor = "#f3f3f3";
}
s = '';
s += '<tr style="background-color:' + bgColor + ';">';
s += '<td width="93">' + msg[i].CONTROL_SEQ + '</td>';
s += '<td width="373">' + msg[i].APPROVE_ITEM + '</td>';
s += '<td width="96">' + msg[i].STEP_DESC + '</td>';
s += '<td width="96">' + getSubString(msg[i].AFTIME,10) + '</td>';
s += '<td width="48" class="last">' + getString(msg[i].FINISH_TIMELIMIT, '') + '</td>';
s += '</tr>';
$('#rollTable').append(s);
}
setInterval(function(){rollItem('U');}, 2000);
}
});
}
function rollItem(directUD){
if(directUD == "U"){ // 向上
$("#rollTable").animate({marginTop:"-26px"},500,function(){
$(this).css({marginTop:"0px"}).find("tr:first").appendTo(this);
});
}else if(directUD == "D"){ // 向下
$("#rollTable").animate({marginTop:"26px"},500,function(){
$(this).css({marginTop:"0px"}).find("tr:last").prependTo(this);
});
}
}
// 用户登陆
function userLogin(){
if(document.getElementById("caLogin").style.display == ''){
//document.all.item("j_username").value = 'wukm';
//document.all.item("j_password").value = '123456a';
caWin.checkUserPwd();
}else{
var userName=$("input[name='j_username']").val();
var sReturn = 1;
$.ajax({
url: '/OuterNetWeb/appMain',
async: false,
type: 'POST',
data: {
service: 'user',
func: 'isCA',
userCode: userName
},
success: function(msg){
sReturn = msg;
}
});
if(sReturn == 0){
contextPath = '/OuterNetWeb';
url = window.location.href;
login(contextPath, url);
}else{
alert("用户不能使用会员方式登陆");
}
}
//document.loginForm.submit();
}
// 切换登陆方式
function changeLogin(tab){
if( tab == 1){
$('#tabs_example_one li').eq(0).removeClass('taboff').addClass('tabon');
$('#tabs_example_one li').eq(1).removeClass('tabon').addClass('taboff');
$('#normalLogin').show();
$('#caWin').attr('src', '');
$('#caLogin').hide();
}else if(tab == 2){
$('#tabs_example_one li').eq(0).removeClass('tabon').addClass('taboff');
$('#tabs_example_one li').eq(1).removeClass('taboff').addClass('tabon');
$('#normalLogin').hide();
$('#caWin').attr('src', '/OuterNetWeb/Login/CALogin.jsp?f=index');
$('#caLogin').show();
}
}
/** 通知公告滚动脚本 **/
var m = 0;
function scrollDivLeft(){
timer = setInterval(mar,50);
}
function mar(){
var ml = $("#rollDiv li").eq(0).width() + 30; // 这个 30 为 li 的间隔
if(m <= ml){
m++;
$("#rollDiv").css({marginLeft:"-" + m + "px"});
}else{
m = 0;
$("#rollDiv").css({marginLeft:"-" + m + "px"}).find("li:first").appendTo($("#rollDiv"));
}
}
/** 通知公告滚动脚本 END **/
function workRoomMove(roomId, directFlag){
var typeNum = $("#" + roomId + " li").length;
if(typeNum > 8){
if(directFlag == 'left'){
for(var i = 0; i < 8; i++){
$("#" + roomId).find("li:first").appendTo($("#" + roomId));
}
}else if(directFlag == 'right'){
for(var i = 0; i < 8; i++){
$("#" + roomId).find("li:last").prependTo($("#" + roomId));
}
}
// $("#" + roomId + " li").eq(0).insertAfter($("#" + roomId + " li").eq(3));
}
}
function lookAsk(the_seq,the_type){
var sdialogWidth = 850;//window.screen.Width -250;
var sdialogHeight = 600;//window.screen.height -40;
var hrefAddr="/OuterNetWeb/appMain?service=ask&func=questionShow&the_seq=" + the_seq + "&the_type=" + the_type + "";
var sFeatures;
sFeatures = "dialogHeight:"+sdialogHeight+"px;dialogWidth:"+sdialogWidth+"px;";
sFeatures += "center:yes;edge:raised;scroll:auto;status:no;unadorned:yes;";
var sReturn;
sReturn = window.showModalDialog(hrefAddr, window, sFeatures);
}
</SCRIPT>
<STYLE type=text/css></STYLE>
<script type="text/javascript">
setInterval("document.getElementById(\"viewTime\").innerHTML=new Date().toLocaleString()",1000);
/* setInterval("timeRoll()",1000);
function timeRoll(){
var time=document.getElementById("viewTime");
var date=new Date();
time.innerHTML=new Date().toUTCString()+"时间到"+date.getDay();
} */
</script>
</HEAD>
<BODY background="./bodybg.jpg">
<%
List<Custom> customList=(List<Custom>)session.getAttribute("cu");
%>
<DIV class=header>
<DIV class=logo background="./logo.gif"></DIV></DIV><!--导航栏 开始-->
<DIV class=nav>
<UL>
<LI class=on><A
href="">客户查询</A>
</LI>
<LI><A
href=""></A>
</LI>
<LI><A
href=""></A>
</LI>
<LI><A
href=""></A>
</LI>
<LI><A
href=""></A>
</LI>
<LI><A
href=""></A>
</LI>
<LI class=0n ><A href="AdSerViews.jsp"><font color="blue">安全退出</fonts></A>
</LI>
</UL>
<DIV class=shardow style="text-align: right;">
<span style="position: right;">
<span id="viewTime" style="color: blue"></span>
</span>
</DIV>
</DIV>
<div class="container">
<!--左边开始-->
<!--左边开始-->
<div class="span-6 leftpagebox " >
<div class="title">客户办件查询</div>
<DIV class=photoframe
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px">
<IFRAME
id=newsImagesShow border=0 name=newsImagesShow align=center
src="AdminServer.files/LoopImage.html" frameBorder=0 width=220 scrolling=no
height=240></IFRAME>
</DIV>
</div>
<div class="span-18 last" >
<div class="rightpagebox">
<div class="bigtitle"><h4>办件进度详情</h4>
<DIV >
<marquee style="color:blue;font-size:15px">
<% for(Custom custom : customList){ %>
<!-- 用户名:<%=custom.getItemName() %> ,欢迎光临!
身份证号码为: <%=custom.getPersionCard() %>-->
<% } %>
</marquee>
</DIV>
</div>
<!--查询列表开始-->
<tr>
<td height="40" class="font42">
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
<tr>
<td height="20" colspan="21" align="center" bgcolor="#EEEEEE"class="tablestyle_title"> 尊敬的<%=customList.get(0).getApplName()%>客户,您办理的业务如下 </td>
</tr>
<tr>
<td width="6%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">申请人编号</font></td>
<td width="8%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">申请事项名称</font></td>
<td width="8%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">申请日期</font></td>
<td width="8%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">当前进度状态</font></td>
<td width="8%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">承诺办结时间</font></td>
<td width="10%" align="center" bgcolor="#EEEEEE"><font size="3" color="black">审批备注说明</font></td>
</tr>
<% for(Custom custom : customList){ %>
<tr align="center">
<td width="2%" align="center" bgcolor="#EEEEEE"><font size="3" color="black"><%=custom.getIdOrder()%></font></td>
<td width="2%" align="center" bgcolor="#EEEEEE"class="right-text09"><%=custom.getItemName() %></td>
<td width="2%" align="center" bgcolor="#EEEEEE"><font size="3" color="black"><font size="3" color="black"><%=custom.getStateTime()%></font></font></td>
<td width="2%" align="center" bgcolor="#EEEEEE"class="right-text09" ><font size="2" ><%=custom.getAudClstate()%></font></td>
<td width="2%" align="center" bgcolor="#EEEEEE"><font size="3" color="black"><%=custom.getEndTiem() %></font></td>
<td width="4%" align="center" bgcolor="#EEEEEE"class="right-text09"><font size="2" color="black"><%=custom.getAudRemark()!=null?custom.getAudRemark():"没有批注"%></font></td>
<tr>
<% } %>
</tbody>
</table>
<!--查询列表结束-->
</div>
</div>
<!--右边结束-->
<script type="text/javascript">
function fri_link(url) {
if(url!='#') {
window.open(url)
}
}
</SCRIPT>
<DIV class="span-24 friendlink" class=container>
</DIV>
<!--主体页面 结束-->
<DIV class=footer style="width:960px" class=title>
<DIV style="color: blue;font-size: 13px">
<DIV class=signature><BR>技术支持:南方学院
</DIV>
<DIV class=signature>
</DIV>
<DIV>政务服务咨询热线: 39112345 技术支持热线:84698621
</DIV>
</DIV>
</DIV>
<SCRIPT type=text/javascript>
function showDateFun()
{
var x = new Array("星期日", "星期一", "星期二");
var x = x.concat("星期三","星期四", "星期五");
var x = x.concat("星期六");
bobo=new Date();
bobo1=bobo.getYear();
bobo2=bobo.getMonth()+1;
bobo3=bobo.getDate();
document.getElementById("dateTextShow").innerHTML = bobo1+"年"+bobo2+"月"+bobo3+"日"+" "+x[bobo.getDay()];
//document.thisform.a1.value=bobo1+"年"+bobo2+"月"+bobo3+"日"+" "+bobo4+":"+bobo5;
}
$(function(){
showDateFun();
});
</SCRIPT>
<SCRIPT type=text/javascript>
swfobject.registerObject("FlashID");
</SCRIPT>
</BODY></HTML>