229 lines
12 KiB
Plaintext
229 lines
12 KiB
Plaintext
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NWorkToDoAdd.aspx.cs" Inherits="NWorkFlow_NWorkToDoAdd" %>
|
|||
|
|
<html>
|
|||
|
|
<head>
|
|||
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
|||
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
|||
|
|
<script type="text/javascript" language="javascript" src="../JS/calendar.js"></script>
|
|||
|
|
<script language="javascript">
|
|||
|
|
function PrintTable()
|
|||
|
|
{
|
|||
|
|
document.getElementById("PrintHide") .style.visibility="hidden"
|
|||
|
|
print();
|
|||
|
|
document.getElementById("PrintHide") .style.visibility="visible"
|
|||
|
|
}
|
|||
|
|
// function SelectDefault()
|
|||
|
|
// {
|
|||
|
|
//
|
|||
|
|
// if(document.getElementById('TextBox2').value=="<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="visible";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="visible";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="visible";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22><>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>ѡ<EFBFBD><D1A1>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="visible";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>̷<EFBFBD><CCB7><EFBFBD><EFBFBD><EFBFBD>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="hidden";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22>Զ<EFBFBD>ѡ<EFBFBD><EFBFBD><F1B1BEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="hidden";
|
|||
|
|
// }
|
|||
|
|
// else if(document.getElementById('TextBox2').value=="<22>Զ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
|
|||
|
|
// {
|
|||
|
|
// document.getElementById("searchimg").style.visibility="hidden";
|
|||
|
|
// }
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
function selectUser(imgidstr)
|
|||
|
|
{
|
|||
|
|
var wName;
|
|||
|
|
var RadNum=Math.random();
|
|||
|
|
wName=window.showModalDialog('../Main/SelectUser.aspx?Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if(wName==null||wName=="")
|
|||
|
|
{}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
imgidstr.value=wName;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function selectBuMen(imgidstr)
|
|||
|
|
{
|
|||
|
|
var wName;
|
|||
|
|
var RadNum=Math.random();
|
|||
|
|
wName=window.showModalDialog('../Main/SelectDanWei.aspx?Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if(wName==null||wName=="")
|
|||
|
|
{}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
imgidstr.value=wName;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
function selectyinzhang(imgidstr)
|
|||
|
|
{
|
|||
|
|
var wName;
|
|||
|
|
var RadNum=Math.random();
|
|||
|
|
wName=window.showModalDialog('../Main/SelectYinZhang.aspx?Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if(wName==null||wName=="")
|
|||
|
|
{}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
imgidstr.src="http://"+window.location.host+"<%=System.Configuration.ConfigurationManager.AppSettings["OARoot"] %>/UploadFile/"+wName;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function selectShouXie(imgidstr)
|
|||
|
|
{
|
|||
|
|
var wName;
|
|||
|
|
var RadNum=Math.random();
|
|||
|
|
wName=window.showModalDialog('../Main/InsertQianMing.aspx?Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');
|
|||
|
|
if(wName==null||wName=="")
|
|||
|
|
{}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
imgidstr.src="http://"+window.location.host+"<%=System.Configuration.ConfigurationManager.AppSettings["OARoot"] %>/UploadFile/"+wName;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
</script>
|
|||
|
|
</head>
|
|||
|
|
<body onload="javascript:document.getElementById('TextBox5').readOnly=true;Load_Do();">
|
|||
|
|
<form id="form1" runat="server">
|
|||
|
|
<div>
|
|||
|
|
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
|
|||
|
|
<tr>
|
|||
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;"> <img src="../images/BanKuaiJianTou.gif" />
|
|||
|
|
<a class="hei" href="../Main/MyDesk.aspx"><3E><><EFBFBD><EFBFBD></a> >> <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >> <3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
|
|||
|
|
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
|
|||
|
|
OnClick="ImageButton1_Click" />
|
|||
|
|
<img src="../images/Button/JianGe.jpg" />
|
|||
|
|
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" /> </td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td height="3px" colspan="2" style="background-color: #ffffff"></td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" colspan="2" style="height: 25px; background-color: #D6E2F3; text-align: center">
|
|||
|
|
<strong><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></strong></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|||
|
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:TextBox id="txtWorkName" runat="server" Width="350px"></asp:TextBox>
|
|||
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtWorkName" ErrorMessage="*<2A><><EFBFBD><EFBFBD><EEB2BB><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>"></asp:RequiredFieldValidator>
|
|||
|
|
</td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td colspan="2" style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:Label ID="Label1" runat="server"></asp:Label><asp:TextBox ID="TextBox3" runat="server"
|
|||
|
|
Style="display: none"></asp:TextBox></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="width: 170px; height: 25px; background-color: #D6E2F3" align="right">
|
|||
|
|
<09><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
|
|||
|
|
</td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff" >
|
|||
|
|
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
|
|||
|
|
</asp:CheckBoxList> <asp:ImageButton ID="ImageButton3" runat="server" CausesValidation="False"
|
|||
|
|
ImageAlign="AbsMiddle" ImageUrl="../images/Button/DelFile.jpg" OnClick="ImageButton3_Click" />
|
|||
|
|
|
|||
|
|
<asp:ImageButton ID="ImageButton5" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|||
|
|
ImageUrl="~/images/Button/ReadFile.gif" OnClick="ImageButton5_Click" />
|
|||
|
|
|
|||
|
|
<asp:ImageButton ID="ImageButton6" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|||
|
|
ImageUrl="~/images/Button/EditFile.gif" OnClick="ImageButton6_Click" /></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:FileUpload ID="FileUpload1" runat="server" Width="350px" />
|
|||
|
|
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
|
|||
|
|
ImageUrl="../images/Button/UpLoad.jpg" OnClick="ImageButton2_Click" />
|
|||
|
|
</td></tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" colspan="2" style="height: 25px; background-color: #D6E2F3; text-align: center">
|
|||
|
|
<strong><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></strong></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20><>һ<EFBFBD>ڵ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged"
|
|||
|
|
Width="350px">
|
|||
|
|
</asp:DropDownList>
|
|||
|
|
<asp:CheckBox ID="CheckBox1" runat="server" Checked="True" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>ڵ<EFBFBD>" /></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20><><EFBFBD><EFBFBD>ģʽ<C4A3><CABD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:TextBox ID="TextBox1" runat="server" BorderStyle="None" BorderWidth="0px" ReadOnly="True"
|
|||
|
|
Width="350px"></asp:TextBox></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ģʽ<C4A3><CABD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:TextBox ID="TextBox2" runat="server" BorderStyle="None" BorderWidth="0px" ReadOnly="True"
|
|||
|
|
Width="350px"></asp:TextBox></td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:TextBox ID="TextBox5" runat="server" onkeydown="javascript:return false;" Width="349px"></asp:TextBox>
|
|||
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox5"
|
|||
|
|
Display="Dynamic" ErrorMessage="*<2A><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:RequiredFieldValidator><img class="HerCss" id="searchimg" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectUser.aspx?TableName=ERPUser&LieName=UserName&Condition='+document.getElementById('TextBox5').value+'&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('TextBox5').value=wName;}"
|
|||
|
|
src="../images/Button/search.gif" /><asp:CheckBox ID="CHKSMS" runat="server" Checked="True" /><img
|
|||
|
|
src="../images/TreeImages/@sms.gif" /><3E><><EFBFBD><EFBFBD>Ϣ<asp:CheckBox ID="CHKMOB" runat="server" /><img
|
|||
|
|
src="../images/TreeImages/mobile_sms.gif" /><3E><><EFBFBD><EFBFBD>Ϣ</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|||
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD></td>
|
|||
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|||
|
|
<asp:TextBox ID="txtChaoSong" runat="server" onkeydown="javascript:return false;" Width="349px"></asp:TextBox>
|
|||
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox5"
|
|||
|
|
Display="Dynamic" ErrorMessage="*<2A><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:RequiredFieldValidator><img class="HerCss" id="Img1" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectUser.aspx?TableName=ERPUser&LieName=UserName&Condition='+document.getElementById('txtChaoSong').value+'&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('txtChaoSong').value=wName;}"
|
|||
|
|
src="../images/Button/search.gif" /><asp:CheckBox ID="CHKSMS1" runat="server" Checked="True" /><img
|
|||
|
|
src="../images/TreeImages/@sms.gif" /><3E><><EFBFBD><EFBFBD>Ϣ<asp:CheckBox ID="CHKMOB1" runat="server" /><img
|
|||
|
|
src="../images/TreeImages/mobile_sms.gif" /><3E><><EFBFBD><EFBFBD>Ϣ</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<script>
|
|||
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶεĿ<CEB5>д<EFBFBD>뱣<EFBFBD><EBB1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
<%=PiLiangSet %>
|
|||
|
|
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
<SCRIPT>
|
|||
|
|
function Load_Do()
|
|||
|
|
{
|
|||
|
|
setTimeout("Load_Do()",0);
|
|||
|
|
var content = document.getElementById("Label1").innerHTML
|
|||
|
|
document.getElementById("TextBox3").value=content;
|
|||
|
|
}
|
|||
|
|
</SCRIPT>
|
|||
|
|
</form>
|
|||
|
|
</body>
|
|||
|
|
</html>
|