2023-03-07 11:24:59 +08:00
|
|
|
using BLL;
|
2023-03-03 10:46:14 +08:00
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace WordEdit
|
|
|
|
|
{
|
|
|
|
|
public partial class EditOffice : System.Web.UI.Page
|
|
|
|
|
{
|
|
|
|
|
public string url;
|
|
|
|
|
|
2025-10-10 14:33:21 +08:00
|
|
|
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
2023-03-03 10:46:14 +08:00
|
|
|
{
|
2025-10-10 14:33:21 +08:00
|
|
|
if (!IsPostBack)
|
2023-03-03 10:46:14 +08:00
|
|
|
{
|
2025-10-10 14:33:21 +08:00
|
|
|
|
|
|
|
|
string cmd = Request.QueryString["cmd"];
|
2023-03-07 11:24:59 +08:00
|
|
|
var a = cmd.Split('|');
|
2026-09-19 13:45:38 +08:00
|
|
|
if (a[1] == "Companytemplate")
|
2023-03-14 22:04:28 +08:00
|
|
|
{
|
|
|
|
|
var model = BLL.Base_CompanytemplateService.GetBase_CompanyTemplateById(a[0]);
|
|
|
|
|
string filepath = model.FilePath;
|
|
|
|
|
url = Funs.SGGLUrl + filepath;
|
|
|
|
|
}
|
2023-03-03 10:46:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-10 14:33:21 +08:00
|
|
|
|
2023-03-03 10:46:14 +08:00
|
|
|
}
|
2026-09-19 13:45:38 +08:00
|
|
|
}
|