Home » Source Code » Telecom billing system » service_list.jsp

service_list.jsp ( File view )

  • By mumu93 2015-03-30
  • View(s):0
  • Download(s):17
  • Point(s): 0
			<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/main/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>达内-NetCTOSS</title>
        <link type="text/css" rel="stylesheet" media="all" href="../styles/global.css" />
        <link type="text/css" rel="stylesheet" media="all" href="../styles/global_color.css" />
        <script type="text/javascript" src="../js/jquery-1.4.3.js"></script>
        <script type="text/javascript" src="../js/myjs.js"></script>
        <script language="javascript" type="text/javascript">
            //开通帐号
        	function setStart(service_id){

        		var r = window.confirm("是否开通此账务账号?");
        		if(!r){

        			return;
        		
}
        		//异步向服务器发送请求
        		$.post(
            		"startService.do",
            		{
"service_id":service_id
},
            		function(data) {

            			//回调函数的参数即为返回的json
            			//实际上data={
"success":true,"message":"开通成功."
}
            			$("#operate_msg").text(data.msg);
            			$("#operate_result_info").show('slow');
            			//推迟2S,执行function
            			setTimeout(function(){

            				//关闭提示框
            				$("#operate_result_info").hide('slow');
            				//如果开通成功,则刷新页面
            				if(data.success) {

            					location.href = "findService.do";
            				
}
            			
},2000);
            		
}
            	);
        	
}
            
            //暂停业务帐号
            function setPause(service_id){

        		var r = window.confirm("是否暂停此账务账号?");
        		if(!r){

        			return;
        		
}
        		//异步向服务器发送请求
        		$.post(
            		"pauseService.do",
            		{
"service_id":service_id
},
            		function(data) {

            			//回调函数的参数即为返回的json
            			//实际上data={
"success":true,"message":"暂停."
}
            			$("#operate_msg").text(data.msg);
            			$("#operate_result_info").fadeIn('slow');
            			//推迟2S,执行function
            			setTimeout(function(){

            				//关闭提示框
            				$("#operate_result_info").fadeOut('slow');
            				//如果暂停成功,则刷新页面
            				if(data.success) {

            					location.href = "findService.do";
            				
}
            			
},2000);
            		
}
            	);
        	
}
            //删除业务帐号
            function deleteService(service_id){

        		var r = window.confirm("是否删除此账务账号? 删除后将不可恢复!");
        		if(!r){

        			return;
        		
}
        		//异步向服务器发送请求
        		$.post(
            		"deleteService.do",
            		{
"service_id":service_id
},
            		function(data) {

            			//回调函数的参数即为返回的json
            			//实际上data={
"success":true,"message":"删除."
}
            			$("#operate_msg").text(data.msg);
            			$("#operate_result_info").show('slow');
            			//推迟2S,执行function
            			setTimeout(function(){

            				//关闭提示框
            				$("#operate_result_info").hide('slow');
            				//如果删除成功,则刷新页面
            				if(data.success) {

            					location.href = "findService.do";
            				
}
            			
},2000);
            		
}
            	);
        	
}
            
        	//显示角色详细信息
            function showDetail(flag, a) {

                var detailDiv = a.parentNode.getElementsByTagName("div")[0];
                if (flag) {

                    detailDiv.style.display = "block";
                
}
                else
                    detailDiv.style.display = "none";
            
}
           	
            //开通或暂停
            function setState() {

                var r = window.confirm("确定要开通此业务账号吗?");
                document.getElementById("operate_result_info").style.display = "block";
            
}
            
            //闪动的小点
            var Eles1 = document.getElementsByName('point1');
			var Eles2 = document.getElementsByName('point2');
			var Eles3 = document.getElementsByName('point3');
			function pointHidden(){

				for(var i = 0 ; i <Eles1.length; i++){

					var Ele = Eles1[i];
					Ele.setAttribute('style', 'visibility:hidden;color:green;');
				
}
				for(var i = 0 ; i <Eles2.length; i++){

					var Ele = Eles2[i];
					Ele.setAttribute('style', 'visibility:hidden;color:green;');
				
}
				for(var i = 0 ; i <Eles3.length; i++){

					var Ele = Eles3[i];
					Ele.setAttribute('style', 'visibility:hidden;color:green;');
				
}
				setTimeout("point1Visible()", 400);
			
}
			function point1Visible(){

				for(var i = 0 ; i <Eles1.length; i++){

					var Ele = Eles1[i];
					Ele.setAttribute('style', 'visibility:visible;color:green;');
				
}
				setTimeout("point2Visible()", 400);
			
}
			function point2Visible(){

				for(var i = 0 ; i <Eles2.length; i++){

					var Ele = Eles2[i];
					Ele.setAttribute('style', 'visibility:visible;color:green;');
				
}
				setTimeout("point3Visible()", 400);
			
}
			function point3Visible(){

				for(var i = 0 ; i <Eles3.length; i++){

					var Ele = Eles3[i];
					Ele.setAttribute('style', 'visibility:visible;color:green;');
				
}
				setTimeout("pointHidden()", 400);
			
}
			
			//搜索的数据高亮
			function setHigh(){

				//获取搜索数据
				var search_os = $('#search_os').val();
				var search_host = $('#search_host').val();
				var search_idcard = $('#search_idcard').val();
				//获取os_username , unix_host, idcard_no栏数据
				var oses = $('.high_os');
				var hosts = $('.high_host');
				var idcards = $('.high_idcard');
				//拼接正则表达式
				var re_os = eval("/(" + search_os + ")/g");
				var re_host = eval("/(" + search_host + ")/g");
				var re_idcard = eval("/(" + search_idcard + ")/g");
				//对os进行循环
				for(var i = 0; i< oses.length; i++){

					//获取数据
					var os = $(oses[i]);
					var str = os.text();
					if(search_os != ""){

						str = str.replace(re_os, "<font color='red'><b>$1</b></font>");
						os.html(str);
					
}
				
}
				//对host进行循环
				for(var i = 0; i< hosts.length; i++){

					//获取数据
					var host = $(hosts[i]);
					var str = host.text();
					if(search_host != ""){

						str = str.replace(re_host, "<font color='red'><b>$1</b></font>");
						host.html(str);
					
}
				
}
				//对idcard进行循环
				for(var i = 0; i< idcards.length; i++){

					//获取数据
					var idcard = $(idcards[i]);
					var str = idcard.text();
					if(search_idcard != ""){

						str = str.replace(re_idcard, "<font color='red'><b>$1</b></font>");
						idcard.html(str);
					
}
				
}
			
}
        </script>
    </head>
    <body onload="pointHidden();setHigh();">
        <!--Logo区域开始-->
        <div id="header">
            <img src="../images/logo.png" alt="logo" class="left"/>
            <!-- 用户名导入photo.jsp文件 -->
            <jsp:include page="/WEB-INF/main/photo.jsp" />
            <a href="javascript:exit('${
ctx
}');">[退出]</a>            
        </div>
        <!--Logo区域结束-->
        <!--导航区域开始-->
        <div id="navi">                        
            <ul id="menu">
               	<!-- 通过标签导入页面 -->
            	<jsp:include page="/WEB-INF/main/menu.jsp"/>
            </ul>            
        </div>
        <!--导航区域结束-->
        <!--主要区域开始-->
        <div id="main">
            <form action="findService.do" method="post">
                <!-- 重新搜索时强制当前页为第一页 -->
                <input type="hidden" name="currentPage" value="1"/>
                	
                <!--查询-->
                <div class="search_add">                        
                    <div>OS 账号:<input type="text" value="${
servicePage.os_username
}" id="search_os" name="os_username" class="width100 text_search" /></div>                            
                    <div>服务器 IP:<input type="text" value="${
servicePage.unix_host
}" id="search_host" name="unix_host" class="width100 text_search" /></div>
                    <div>身份证:<input type="text"  value="${
servicePage.idcard_no
}" id="search_idcard" name="idcard_no" class="text_search" /></div>
                    <div>状态:
                        <select class="select_search" name="status">
                        	
                            <option value="-1" <c:if test="${
servicePage.status == -1
}">selected</c:if> >全部</option>
                            <option value="0" <c:if test="${
servicePage.status == 0
}">selected</c:if> >开通</option>
                            <option value="1" <c:if test="${
servicePage.status == 1
}">selected</c:if> >暂停</option>
                            <option value="2" <c:if test="${
servicePage.status == 2
}">selected</c:if> >删除</option>
                        </select>
                    </div>
                    <div><input type="submit" value="搜索" class="btn_search" /></div>
                    <input type="button" value="增加" class="btn_add" onclick="location.href='toAddService.do';" />
                </div>
                	<!-- 退出提示 -->
               <div id="exit" class="exit">
             	<span class="exit_msg">&nbsp;&nbsp;&nbsp;&nbsp;用户已经退出</span><br/><span class="exit_msg" style="font-style: italic; color:red;">正在清除访问痕迹...</span>
               </div>
            	    <!--删除的操作提示-->
                <div id="operate_result_info" class="operate_success">
                    <img src="../images/close.png" onclick="this.parentNode.style.display='none';" />
                    	<span id="operate_msg
...
...
(Not finished, please download and read the complete file)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 0

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.97 kB
01.97 kB
01.97 kB
01.97 kB
MANIFEST.MF39.00 B2014-10-28 09:27
01.97 kB
01.97 kB
account_list.jsp13.87 kB2014-10-28 09:27
add_account.jsp11.32 kB2014-10-28 09:27
update_account.jsp11.54 kB2014-10-28 09:27
01.97 kB
add_admin.jsp6.09 kB2014-10-28 09:26
admin_list.jsp11.50 kB2014-10-28 09:26
update_admin.jsp5.99 kB2014-10-28 09:26
01.97 kB
bill_list.jsp8.62 kB2014-10-28 09:27
01.97 kB
applicationContext.xml5.26 kB2014-10-28 09:26
01.97 kB
01.97 kB
01.97 kB
MyBatisDAO.class162.00 B2014-10-28 09:26
01.97 kB
ExceptionLogger.class2.88 kB2014-10-28 09:26
01.97 kB
AccountController.class4.48 kB2014-10-28 09:26
AdminController.class5.40 kB2014-10-28 09:26
BaseController.class796.00 B2014-10-28 09:26
BillController.class632.00 B2014-10-28 09:26
CostController.class3.87 kB2014-10-28 09:26
LoginController.class4.39 kB2014-10-28 09:26
PasswordContorller.class2.65 kB2014-10-28 09:26
ReportController.class648.00 B2014-10-28 09:26
RoleController.class4.13 kB2014-10-28 09:26
ServiceController.class5.46 kB2014-10-28 09:26
UserController.class3.68 kB2014-10-28 09:26
01.97 kB
AccountDao.class729.00 B2014-10-28 09:26
AdminDao.class1.13 kB2014-10-28 09:26
CostDao.class719.00 B2014-10-28 09:26
RoleDao.class837.00 B2014-10-28 09:26
ServiceDao.class744.00 B2014-10-28 09:26
01.97 kB
Account.class5.69 kB2014-10-28 09:26
AccountMapper.xml3.96 kB2014-10-28 09:26
Admin.class3.36 kB2014-10-28 09:26
AdminMapper.xml5.70 kB2014-10-28 09:26
Cost.class3.04 kB2014-10-28 09:26
CostMapper.xml2.40 kB2014-10-28 09:26
Module.class1.13 kB2014-10-28 09:26
Role.class1.96 kB2014-10-28 09:26
RoleMapper.xml2.67 kB2014-10-28 09:26
Service.class3.12 kB2014-10-28 09:26
ServiceMapper.xml4.11 kB2014-10-28 09:26
01.97 kB
AccountPage.class1.51 kB2014-10-28 09:26
AdminPage.class1.21 kB2014-10-28 09:26
CostPage.class306.00 B2014-10-28 09:26
Page.class1.70 kB2014-10-28 09:26
RolePage.class306.00 B2014-10-28 09:26
ServicePage.class1.51 kB2014-10-28 09:26
01.97 kB
CheckLoginInterceptor.class2.08 kB2014-10-28 09:26
CheckModuleInterceptor.class2.56 kB2014-10-28 09:26
CurrentModuleInterceptor.class2.25 kB2014-10-28 09:26
01.97 kB
MyTest.class643.00 B2014-10-28 09:26
TestAdminDao.class1.25 kB2014-10-28 09:26
TestCostDao.class3.13 kB2014-10-28 09:26
TestRole.class2.16 kB2014-10-28 09:26
TestServiceDao.class1.71 kB2014-10-28 09:26
01.97 kB
DateEditor.class1.03 kB2014-10-28 09:26
ImageUtil.class2.50 kB2014-10-28 09:26
log4j.properties618.00 B2014-10-28 09:26
netctoss.sql11.32 kB2014-10-28 09:26
01.97 kB
add_cost.jsp7.20 kB2014-10-28 09:26
cost_list.jsp10.53 kB2014-10-28 09:26
update_cost.jsp7.59 kB2014-10-28 09:26
01.97 kB
aopalliance.jar4.36 kB2014-10-28 09:27
aspectjweaver.jar1.47 MB2014-10-28 09:27
c3p0-0.9.5-pre8.jar472.30 kB2014-10-28 09:27
commons-collections-3.1.jar546.26 kB2014-10-28 09:27
commons-dbcp-1.2.2.jar118.90 kB2014-10-28 09:27
commons-fileupload-1.2.1.jar56.42 kB2014-10-28 09:27
commons-io-1.3.2.jar85.72 kB2014-10-28 09:27
commons-logging.jar59.42 kB2014-10-28 09:27
commons-pool.jar60.65 kB2014-10-28 09:27
jackson-annotations-2.4.1.jar37.70 kB2014-10-28 09:27
jackson-core-2.4.1.jar220.03 kB2014-10-28 09:27
jackson-databind-2.4.1.jar1.02 MB2014-10-28 09:27
jstl.jar17.39 kB2014-10-28 09:27
log4j-1.2.11.jar342.41 kB2014-10-28 09:27
mchange-commons-java-0.2.7.jar588.12 kB2014-10-28 09:27
mybatis-3.2.5.jar699.60 kB2014-10-28 09:27
mybatis-spring-1.2.2.jar47.64 kB2014-10-28 09:27
ojdbc6.jar2.01 MB2014-10-28 09:27
spring-aop-3.2.8.RELEASE.jar329.78 kB2014-10-28 09:27
spring-aspects-3.2.8.RELEASE.jar50.25 kB2014-10-28 09:27
spring-beans-3.2.8.RELEASE.jar598.21 kB2014-10-28 09:27
spring-context-3.2.8.RELEASE.jar845.97 kB2014-10-28 09:27
spring-core-3.2.8.RELEASE.jar853.13 kB2014-10-28 09:27
spring-expression-3.2.8.RELEASE.jar191.76 kB2014-10-28 09:27
spring-jdbc-3.2.8.RELEASE.jar396.21 kB2014-10-28 09:27
spring-tx-3.2.8.RELEASE.jar236.75 kB2014-10-28 09:27
spring-web-3.2.8.RELEASE.jar613.73 kB2014-10-28 09:27
spring-webmvc-3.2.8.RELEASE.jar622.95 kB2014-10-28 09:27
standard.jar343.11 kB2014-10-28 09:27
01.97 kB
error.jsp1.93 kB2014-10-28 09:27
index.jsp972.00 B2014-10-28 09:27
loading.jsp4.57 kB2014-10-28 09:27
login.jsp4.35 kB2014-10-28 09:27
menu.jsp4.02 kB2014-10-28 09:27
nopower.jsp2.06 kB2014-10-28 09:27
photo.jsp399.00 B2014-10-28 09:27
taglib.jsp197.00 B2014-10-28 09:27
01.97 kB
update_password.jsp4.92 kB2014-10-28 09:27
01.97 kB
report_list.jsp8.59 kB2014-10-28 09:27
01.97 kB
add_role.jsp5.60 kB2014-10-28 09:27
role_list.jsp6.38 kB2014-10-28 09:27
update_role.jsp5.26 kB2014-10-28 09:27
01.97 kB
add_service.jsp7.63 kB2014-10-28 09:27
service_list.jsp16.41 kB2014-10-28 09:27
update_service.jsp4.79 kB2014-10-28 09:27
01.97 kB
update_user.jsp7.65 kB2014-10-28 09:27
web.xml1.42 kB2014-10-28 09:27
01.97 kB
account_on.png5.71 kB2014-10-28 09:27
account_out.png4.55 kB2014-10-28 09:27
add.png1,018.00 B2014-10-28 09:27
admin_on.png5.79 kB2014-10-28 09:27
admin_out.png4.39 kB2014-10-28 09:27
bill_on.png5.87 kB2014-10-28 09:27
bill_out.png4.57 kB2014-10-28 09:27
body_bg.png3.25 kB2014-10-28 09:27
btn_bg.png2.46 kB2014-10-28 09:27
close.png1.25 kB2014-10-28 09:27
close1.png1.22 kB2014-10-28 09:27
close3.png1.77 kB2014-10-28 09:27
delete.png1.13 kB2014-10-28 09:27
down.png2.46 kB2014-10-28 09:27
error.png394.37 kB2014-10-28 09:27
error_power.png372.28 kB2014-10-28 09:27
fail.png1.36 kB2014-10-28 09:27
fee_on.png6.25 kB2014-10-28 09:27
fee_out.png4.96 kB2014-10-28 09:27
form_btn.png4.41 kB2014-10-28 09:27
form_btn_on.png3.66 kB2014-10-28 09:27
hide.png1.88 kB2014-10-28 09:27
index_bg.jpg37.50 kB2014-10-28 09:27
index_navi_bg.png1.02 kB2014-10-28 09:27
index_on.png5.26 kB2014-10-28 09:27
index_out.png3.76 kB2014-10-28 09:27
information_on.png6.40 kB2014-10-28 09:27
information_out.png5.13 kB2014-10-28 09:27
login_bg.jpg30.85 kB2014-10-28 09:27
login_box.png78.19 kB2014-10-28 09:27
login_btn.png6.29 kB2014-10-28 09:27
logo.png16.11 kB2014-10-28 09:27
modification.png1.09 kB2014-10-28 09:27
navigation.png1,001.00 B2014-10-28 09:27
ok.png1.18 kB2014-10-28 09:27
password_on.png5.71 kB2014-10-28 09:27
password_out.png4.47 kB2014-10-28 09:27
pause.png1.14 kB2014-10-28 09:27
report_on.png4.62 kB2014-10-28 09:27
report_out.png3.25 kB2014-10-28 09:27
role_on.png5.95 kB2014-10-28 09:27
role_out.png4.55 kB2014-10-28 09:27
search.png2.26 kB2014-10-28 09:27
search_large.png1.74 kB2014-10-28 09:27
service_on.png5.70 kB2014-10-28 09:27
service_out.png4.49 kB2014-10-28 09:27
show.png1.85 kB2014-10-28 09:27
start.png1.15 kB2014-10-28 09:27
tab_on.png1.08 kB2014-10-28 09:27
tab_out.png1.11 kB2014-10-28 09:27
top_bg.png30.44 kB2014-10-28 09:27
up.png2.45 kB2014-10-28 09:27
valicode.jpg2.35 kB2014-10-28 09:27
warning.png1.12 kB2014-10-28 09:27
wrong.gif115.00 B2014-10-28 09:27
index.jsp829.00 B2014-10-28 09:27
01.97 kB
jquery-1.4.3.js176.23 kB2014-10-28 09:27
myjs.js426.00 B2014-10-28 09:27
01.97 kB
test1.jpg1.45 kB2014-10-28 09:27
test2.jpg865.00 B2014-10-28 09:27
01.97 kB
mydelete.png6.32 kB2014-10-28 09:27
mypause.png7.65 kB2014-10-28 09:27
01.97 kB
MyJsp.jsp842.00 B2014-10-28 09:27
photo_Eddyli.jpg1.36 kB2014-10-28 09:27
01.97 kB
global.css8.92 kB2014-10-28 09:27
global_color.css7.44 kB2014-10-28 09:27
01.97 kB
applicationContext.xml5.26 kB2014-10-28 09:26
01.97 kB
01.97 kB
01.97 kB
MyBatisDAO.java305.00 B2014-10-28 09:26
01.97 kB
ExceptionLogger.java1.95 kB2014-10-28 09:26
01.97 kB
AccountController.java5.16 kB2014-10-28 09:26
AdminController.java4.78 kB2014-10-28 09:26
BaseController.java720.00 B2014-10-28 09:26
BillController.java453.00 B2014-10-28 09:26
CostController.java2.77 kB2014-10-28 09:26
LoginController.java3.82 kB2014-10-28 09:26
PasswordContorller.java1.93 kB2014-10-28 09:26
ReportController.java453.00 B2014-10-28 09:26
RoleController.java3.73 kB2014-10-28 09:26
ServiceController.java5.02 kB2014-10-28 09:26
UserController.java3.21 kB2014-10-28 09:26
01.97 kB
AccountDao.java1.17 kB2014-10-28 09:26
AdminDao.java1.81 kB2014-10-28 09:26
CostDao.java1.05 kB2014-10-28 09:26
RoleDao.java1.34 kB2014-10-28 09:26
ServiceDao.java1.47 kB2014-10-28 09:26
01.97 kB
Account.java4.26 kB2014-10-28 09:26
AccountMapper.xml3.96 kB2014-10-28 09:26
Admin.java2.07 kB2014-10-28 09:26
AdminMapper.xml5.70 kB2014-10-28 09:26
Cost.java2.09 kB2014-10-28 09:26
CostMapper.xml2.40 kB2014-10-28 09:26
Module.java579.00 B2014-10-28 09:26
Role.java990.00 B2014-10-28 09:26
RoleMapper.xml2.67 kB2014-10-28 09:26
Service.java2.11 kB2014-10-28 09:26
ServiceMapper.xml4.11 kB2014-10-28 09:26
01.97 kB
AccountPage.java946.00 B2014-10-28 09:26
AdminPage.java670.00 B2014-10-28 09:26
CostPage.java132.00 B2014-10-28 09:26
Page.java1.52 kB2014-10-28 09:26
RolePage.java73.00 B2014-10-28 09:26
ServicePage.java887.00 B2014-10-28 09:26
01.97 kB
CheckLoginInterceptor.java1.50 kB2014-10-28 09:26
CheckModuleInterceptor.java1.63 kB2014-10-28 09:26
CurrentModuleInterceptor.java1.76 kB2014-10-28 09:26
01.97 kB
MyTest.java165.00 B2014-10-28 09:26
TestAdminDao.java672.00 B2014-10-28 09:26
TestCostDao.java2.21 kB2014-10-28 09:26
TestRole.java928.00 B2014-10-28 09:26
TestServiceDao.java706.00 B2014-10-28 09:26
01.97 kB
DateEditor.java1.00 kB2014-10-28 09:26
ImageUtil.java2.28 kB2014-10-28 09:26
log4j.properties618.00 B2014-10-28 09:26
netctoss.sql11.32 kB2014-10-28 09:26
...
Sponsored links

service_list.jsp (12.90 MB)

Need 0 point
Your Point(s)
Download Download

Download failed? Click here to download one by one.

Tip: this source code project contains 2 packages, please click the allow button on the browser pop-up dialog,after you click the download button.

▪ Click to download this source code directly

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D