8efe030f47
为收敛当前分支代码范围并统一人员服务目录,移除历史模块与静态资源,减少无效代码和目录分散带来的维护成本。
39 lines
991 B
C#
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;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|