前端

 

 1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="flow_view.aspx.cs" Inherits="general_WorkFlow_flow_view" %>
 2 
 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 4 
 5 <html xmlns="http://www.w3.org/1999/xhtml">
 6 <head runat="server">
 7         <title>流程图</title>
 8     <link href="http://f.oa.com/theme2009/1/top.css" rel="Stylesheet" type="text/css" />
 9         <script language="javascript" type="text/javascript">
10         focus();
11 function SetBgColor(obj, color)
12 {
13    obj.parentElement.style.backgroundColor = color;
14 }
15 function SetStatus(obj)
16 {
17    
18    if (obj.parentElement.rows.length == 1return;
19    if (obj.parentElement.rows[1].style.display == 'none')
20    {
21        obj.parentElement.rows[1].style.display = '';
22        obj.parentElement.rows[2].style.display = '';
23    }
24    else
25    {
26        obj.parentElement.rows[1].style.display = 'none';
27        obj.parentElement.rows[2].style.display = 'none';
28    }
29 }
30 function view_graph()
31 {
32   myleft=(screen.availWidth-800)/2;
33   window.open("view_graph.aspx?flow_id=<%=ViewState["FlowId"] %>","graph_view","status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=800,height=500,left="+myleft+",top=50");
34 }
35 focus();
36 
37 function sms_remind()
38 {
39     var url="sms.aspx?run_id=<%= ViewState["RunId"]%>";
40     myleft=(screen.availWidth-600)/2;
41     window.open(url,"flow_sms","status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=600,height=350,left="+myleft+",top=100");
42 }
43 </script>
44 
45     </HEAD>
46     <body class="bodycolor" topMargin="5">
47         <form id="Form1" method="post" runat="server"></form>
48         <asp:placeholder runat="server" ID="plMap" ></asp:placeholder>
49     </body>
50 
51 </HTML>
52 

 

 

后端

 

Code

 

图例

 

posted on 2009-05-27 20:50  许维光  阅读(246)  评论(0)    收藏  举报