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

📄 sysremind.asp

📁 企业办公自动化管理系统 asp+sql server 2005
💻 ASP
字号:


<HTML><HEAD>
<style type="text/css">
<!--
BODY {
	FONT-SIZE: 9pt; MARGIN: 0px; FONT-FAMILY: Verdana; LIST-STYLE-TYPE: circle; scrollbar-base-color:#FFFFCC; scrollbar-face-color:#d6d3ce; SCROLLBAR-HIGHLIGHT-COLOR: #f5f9ff; SCROLLBAR-SHADOW-COLOR: #D6D3D6; SCROLLBAR-3DLIGHT-COLOR: #D6D3D6; SCROLLBAR-ARROW-COLOR: #797979; SCROLLBAR-TRACK-COLOR: #EFF3F7; SCROLLBAR-DARKSHADOW-COLOR: #ffffff ; BACKGROUND-COLOR:#D9D9D9
}
-->
</style>
</head>
 







<script language=javascript>
function check_form(thiswins,items)
{
	thiswin = thiswins
	items = items + ",";
	
	for(i=1;i<=thiswin.length;i++)
	{
	tmpname = thiswin.elements[i-1].name;
	tmpvalue = thiswin.elements[i-1].value;
    if(tmpvalue==null){
        continue;
    }
	while(tmpvalue.indexOf(" ") == 0)
		tmpvalue = tmpvalue.substring(1,tmpvalue.length);
	
	if(tmpname!="" &&items.indexOf(tmpname+",")!=-1 && tmpvalue == ""){
		 alert("必要信息不完整");
		 return false;
		}

	}
	return true;
}

function isdel(){
   if(!confirm("确定要删除吗?")){
       return false;
   }
       return true;
   } 


function issubmit(){
   if(!confirm("确定要提交吗?")){
       return false;
   }
       return true;
   } 
</script>


<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
</HEAD></HTML>
<script language=javascript>
lightstatus2 = "off";

img1click = "off";
img2click = "off";
img3click = "off";
img4click = "off";

function showOperation(type){
 	window.parent.parent.frames("mainFrame").location="RemindOperation.htm?type="+type;
}

function handlenewrequest(str) {
    str = "您有新的工作流需要处理:"+str+"您想现在处理吗?";
    var id = confirm(str);
	if (id) {
        window.open("RemindOperation.htm?type=2.2", "", "toolbar,resizable,scrollbars,dependent,height=450,width=600");
    }
}

function handleendrequest(str) {
    str = "您创建的工作流已经完成:"+str+"您想现在查看吗?" ;
    var id = confirm(str);
	if (id) {
        window.open("RemindOperation.htm?type=3.2", "", "toolbar,resizable,scrollbars,dependent,height=450,width=600");
    }
}

function handlesysremind(str) {
    str = "您收到提醒工作流:"+str+"您想现在查看吗?" ;
    var id = confirm(str);
    if (id) {
        window.open("RemindOperation.htm?type=3.2", "", "toolbar,resizable,scrollbars,dependent,height=450,width=600");
    }
}

function turnlighton(index, status) {
    switch (index) {
        case 1: if (status == "on") {
            img1.src = "../images/frame/img1.gif";
            img1.style.cursor = "hand";
            img1click = "on";
        } else {
            img1.src = "../images/frame/img1-2.gif";
            img1.style.cursor = "text";
            img1click = "off";
        }
        break;
        case 2: if (status == "on") {
            img2.src = "/weaver/images/frame/img2.gif";
            img2.style.cursor = "hand";
            lightstatus2 = "on";
            img2click = "on";
        } else {
            img2.src = "../images/frame/img2-2.gif";
            img2.style.cursor = "text";
            lightstatus2 = "off";
            img2click = "off";
        }
        break;
        case 3: if (status == "on") {
            img3.src = "../images/frame/img3.gif";
            img3.style.cursor = "hand";
            img3click = "on";
        } else {
            img3.src = "../images/frame/img3-2.gif";
            img3.style.cursor = "text";
            img3click = "off";
        }
        break;
        case 4: if (status == "on") {
            img4.src = "../images/frame/img4.gif";
            img4.style.cursor = "hand";
            img4click = "on";
        } else {
            img4.src = "../images/frame/img4-2.gif";
            img4.style.cursor = "text";
            img4click = "off";
        }
        break;
        default:
    }
}

function handleclick(index) {
    switch (index) {
        case 1: 
            if(img1click == "on") showOperation(1);
            break;
        case 2: 
            if (img2click == "on") showOperation(2.1);
/*            } else {
                showOperation(2.2);
            }  */
            break;
        case 3: 
            if (img3click == "on") showOperation(3.1);
            break;
        case 4: 
            if (img4click == "on") showOperation(4);
            break;
    }
}
</script>
<div style="left:0;top:0;height:18;width:90">
    <img id=img1 src="../images/frame/img1-2.gif" onclick="handleclick(1)" title="计划" width="18" height="18">
    <img id=img2 src="../images/frame/img2-2.gif" onclick="handleclick(2)" title="公告" width="18" height="18">
    <img id=img3 src="../images/frame/img3-2.gif" onclick="handleclick(3)" title="公文" width="18" height="18">
    <img id=img4 src="../images/frame/img4-2.gif" onclick="handleclick(4)" title="信息" width="18" height="18">
</div>
</HTML>

⌨️ 快捷键说明

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