- <%@ page language="C#" autoeventwireup="true" inherits="SysManage_SysFNameModify, App_Web_2n6c6zuv" theme="Normal" %>
- <!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">
- <base target="_self" />
- <link href="../Workflow/style/formbody.css" rel="Stylesheet" />
- <title>文件管理</title>
- <script type="text/javascript">
- function CheckNull()
- {
- if (form1.TID.value==null || form1.TID.value=="")
- {
- alert('系统提示:文件名不能为空!');
- return false;
- }
- }
- function OKCancel()
- {
- if (confirm("系统提示:您确定放弃本次操作吗?"))
- {
- window.close();
- }
- return false;
- }
- function OpenShowWindowDoc()
- {
- var NUrl ="../workflow/SysSelectDoc.aspx?StrN=N&StrM=" + escape( form1.tname.value);
- var NVale=window.showModalDialog(NUrl,"","help=0;dialogWidth=800px;dialogHeight=550px;status=no;status=no;");
- if (NVale!=undefined)
- {
- form1.TID.value = NVale;
- form1.tname.value = NVale;
- // var Vstr = NVale.split("|");
- // var VValue,VText;
- // if (Vstr.length==2)
- // {
- // DelAllItem(document.all.LstDoc);
- // var i=0;
- // VValue=Vstr[0].split(",");
- // VText=Vstr[1].split(",");
- // for(i=0;i<VValue.length-1;i++)
- // {
- // var oItem=document.createElement("option");
- // oItem.text=VText[i];
- // oItem.value=ReplaceBacksLash(VValue[i]);
- // document.all.LstDoc.add(oItem);
- // }
- // }
- }
- return false;
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <input id ="tname" type="hidden" runat ="server" />
- <div>
- <table width="100%">
- <tr style="height:10px;">
- </tr>
- <tr>
- <td style="background-image:url(../images/toolbarbg.jpg); height:25;">
- <img alt="" src="../Images/assignuser.ico" height="15" align="absmiddle"/>
- <strong>文件管理</strong>
- </td>
- </tr>
- </table>
- <table style="width:95%; left:10px;">
- <tr style="height:10px;"></tr>
- <tr>
- <td style="width:10px"></td>
- <td>
- <fieldset>
- <table>
- <tr>
- <td>
- 文件名称:
- </td>
- <td>
- <asp:TextBox ID="TID" runat="server" MaxLength="40" Width="300px" Enabled="False"></asp:TextBox>
- </td>
- <td>
- <asp:ImageButton id="ImgSelect" runat="server" ImageUrl="../WORKFLOW/image/ch.gif" OnClientClick="javascript:return OpenShowWindowDoc();"></asp:ImageButton>
- </td>
- </tr>
- <tr>
- <td>
- 文件描述:
- </td>
- <td>
- <asp:TextBox ID="TDesc" runat ="server" MaxLength="100" TextMode="multiLine" Rows="5" Width="300"></asp:TextBox>
- </td>
- <td></td>
- </tr>
- </table>
- </fieldset>
- <table width="90%">
- <tr style="height:20px;"></tr>
- <tr>
- <td style="width:60px;height:20;">
- </td>
- <td style="height:22; text-align:right;">
- <asp:ImageButton id="ImgSave" runat="server" ImageUrl="~/Workflow/image/savebt.gif" OnClientClick ="javascript:return CheckNull();" OnClick="ImgSave_Click" ></asp:ImageButton>
- <asp:ImageButton id="ImgCancel" runat="server" ImageUrl="image/cancel.gif" OnClientClick="javascript:return OKCancel();"></asp:ImageButton>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>