You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/WorkFlow/Edit.aspx

86 lines
3.3 KiB
Plaintext

2 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="DSWeb.WorkFlow.Edit" %>
<!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 runat="server">
<title>WorkFlow编辑</title>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
function $(id){
return document.getElementById(id);
}
function getCompany(){
var companyID = $("h_compid").value;
var openSet = "height=370, width=500, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-370)/2 + ",Left= "+(screen.width-500)/2
var openType = "_blank";
var openUrl = "CompanyTree.aspx?compid="+companyID;
//window.open (openUrl,openType,openSet);
var tempWin = window.open ("about:blank",openType,openSet);
tempWin.location = openUrl;
}
function btn_cancel_onclick() {
this.close();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="100%">
<tr>
<td width="70px" align="right"><div>工作流设置</div></td>
<td></td>
<td></td>
</tr>
<tr>
<td colspan="3" style="height:10px"></td>
</tr>
<tr>
<td width="70px" align="right"><div>系统名称</div></td>
<td><input type="text" id="txt_wfname" runat="server" class="txtTab"/></td>
<td></td>
</tr>
<tr>
<td width="70px" align="right"><div>显示名称</div></td>
<td><input type="text" id="txt_wfdescription" runat="server" class="txtTab"/></td>
<td></td>
</tr>
<tr>
<td width="70px" align="right"><div>工作流类型</div></td>
<td><select style="width:100%" id="sel_workflowtype" runat="server"></select></td>
<td></td>
</tr>
<tr>
<td width="70px" align="right"><div>所属分公司</div></td>
<td><input type="text" id="txt_company" runat="server" class="txtTab" disabled=1/></td>
<td><div style="float:left; width:16px; margin-left:2px; cursor:default;" onclick="getCompany()"><img src="../images/icons/addapplication.gif" style="width:16px; height:16px; padding-left:5px; padding-top:2px;"/></div></td>
</tr>
<tr>
<td width="70px" align="right"><div>创建人</div></td>
<td><input type="text" id="txt_wfcreateuser" runat="server" class="txtTab" disabled/></td>
<td></td>
</tr>
<tr>
<td width="70px" align="right"><div>创建时间</div></td>
<td><input type="text" id="txt_wfcreatetime" runat="server" class="txtTab" disabled/></td>
<td></td>
</tr>
<tr>
<td></td>
<td style="height:30px;"><asp:Button ID="btn_enter" runat="server" Text="确定"
CssClass="btn" onclick="btn_enter_Click"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btn_cancel" value="取消" class="btn" onclick="return btn_cancel_onclick()" />
</td>
<td></td>
</tr>
</table>
<input type="hidden" id="h_module" runat="server"/>
<input type="hidden" id="h_handle" runat="server" />
<input type="hidden" id="h_compid" runat="server" />
<input type="hidden" id="h_workflowid" runat="server" />
</div>
</form>
</body>
</html>