Files
SGGL_SHJ/SGGL/FineUIPro.Web/AttachFile/EditOffice.aspx.cs
T
lpf 8efe030f47 refactor: 清理旧模块资源并整理人员服务目录
为收敛当前分支代码范围并统一人员服务目录,移除历史模块与静态资源,减少无效代码和目录分散带来的维护成本。
2026-09-19 13:45:38 +08:00

39 lines
991 B
C#

using BLL;
using System;
namespace WordEdit
{
public partial class EditOffice : System.Web.UI.Page
{
public string url;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string cmd = Request.QueryString["cmd"];
var a = cmd.Split('|');
if (a[1] == "Companytemplate")
{
var model = BLL.Base_CompanytemplateService.GetBase_CompanyTemplateById(a[0]);
string filepath = model.FilePath;
url = Funs.SGGLUrl + filepath;
}
else if (a[1] == "CQMS_Check_MaterialAcceptance")
{
var model = BLL.CheckMaterialacceptanceService.GetCheck_MaterialAcceptanceById(a[0]);
string filepath = model.FilePath;
url = Funs.SGGLUrl + filepath;
}
}
}
}
}