Web/DsoFramer/EditFile.aspx

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditFile.aspx.cs" Inherits="DsoFramer_EditFile" %>
<html>
	<head>
		<title>通用办公自动化系统</title>
  <LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">  
  
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		
    <SCRIPT language="javascript" event="NotifyCtrlReady" for="FramerControl1">		
        function OpenHelpDoc()
        {
            document.all.FramerControl1.Open("../UploadFile/<%=Request.QueryString["FilePath"].ToString() %>", true);
        }
        OpenHelpDoc();        
    </SCRIPT>
		<script language="javascript">
		var documentopenflag=0;
        function NewDoc(filetype){
        if (filetype=='xls')
        document.all.FramerControl1.CreateNew("Excel.Sheet");
        if (filetype=='doc')
        document.all.FramerControl1.CreateNew("Word.Document");
        if (filetype=='ppt')
        document.all.FramerControl1.CreateNew("PowerPoint.Show");
        }
        function OpenDoc(){        
                document.all.FramerControl1.showdialog(1);
        }
        function OpenWebDoc(filetype){
            if (filetype=='doc')
            document.all.FramerControl1.Open("../UploadFile/633520231204062500.doc", true);//doc模板
            if (filetype=='xls')
            document.all.FramerControl1.Open("../UploadFile/633520231204062500.doc", true);//xls模板
        }
        function SaveToLocal(){
        alert('将保存在您电脑的c:\\mydoc.doc')
            document.all.FramerControl1.Save("c:\\mydoc.doc",true);
        }
        function SaveToWeb(){
            document.all.FramerControl1.HttpInit();
            
            document.all.FramerControl1.HttpAddPostString("RecordID","200601022");
            document.all.FramerControl1.HttpAddPostString("UserID","李局长");
            document.all.FramerControl1.HttpAddPostCurrFile("FileData", "<%=Request.QueryString["FilePath"].ToString() %>");
            //alert(window.location.host);
            document.all.FramerControl1.HttpPost("http://"+window.location.host+"<%=System.Configuration.ConfigurationManager.AppSettings["OARoot"] %>/DsoFramer/SaveDoc.aspx?FilePath=<%=Request.QueryString["FilePath"].ToString() %>"); 
            alert("对文件的修改已经保存成功!");
            window.close();          
        }
        function Track(){
            document.all.FramerControl1.SetCurrUserName("<%=ZWL.Common.PublicMethod.GetSessionValue("UserName")%>");
            document.all.FramerControl1.SetTrackRevisions(1);
        }
        function UnTrack(){
            document.all.FramerControl1.SetTrackRevisions(0);            
        }
后面还有 124 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。