2023-10-12

This commit is contained in:
2023-10-12 19:33:22 +08:00
parent 7d87e48818
commit d1c7977da2
24 changed files with 688 additions and 237 deletions
@@ -84,6 +84,17 @@ namespace FineUIPro.Web.AttachFile
ViewState["JointCheck"] = value;
}
}
public string editorMode
{
get
{
return (string)ViewState["editorMode"];
}
set
{
ViewState["editorMode"] = value;
}
}
#endregion
#region
@@ -112,6 +123,12 @@ namespace FineUIPro.Web.AttachFile
this.Type = Request.Params["type"];
JointCheck = Request.Params["JointCheck"];//是否共检页面
Source = Request.QueryString["source"];//如果等于1则是文件柜
editorMode = Request.Params["editorMode"];
if (string.IsNullOrEmpty(editorMode))
{
editorMode = "edit";
}
//Request.QueryString["type"]; ////类型:0时是上传资源页面,附件权限不需要判断 -1时只查看权限 -2查看集团公司
this.GetButtonPower();
this.BindGrid();
@@ -760,7 +777,7 @@ namespace FineUIPro.Web.AttachFile
if (isSupportType)
{
url = url.Replace(Funs.RootPath, "");
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../AttachFile/OnlineEditing.aspx?fileUrl={0}", url, "编辑 -")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../AttachFile/OnlineEditing.aspx?fileUrl={0}&&editorMode={1}", url,editorMode, "编辑 -")));
}
else
{