20230307 质量在线文档编辑修改
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FineUIPro;
|
||||
using BLL;
|
||||
using FineUIPro;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -14,12 +15,26 @@ namespace WordEdit
|
||||
public string url;
|
||||
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
string cmd= Request.QueryString["cmd"];
|
||||
var a = cmd.Split('|');
|
||||
if (a[1] == "CQMSMainPlan")
|
||||
{
|
||||
var model = BLL.CQMS_MainPlanService.GetMainPlanByMainPlanId(a[0]);
|
||||
string filepath = model.FilePath;
|
||||
url = Funs.SGGLUrl + filepath;
|
||||
}
|
||||
else if (a[1]== "CQMSSubPlan")
|
||||
{
|
||||
var model = BLL.CQMS_SubPlanService.GetSubPlanBySubPlanId(a[0]);
|
||||
string filepath = model.FilePath;
|
||||
url = Funs.SGGLUrl + filepath;
|
||||
}
|
||||
|
||||
url = "http://localhost:8899/File/Word/集团公司安全监督检查管理办法.doc";
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user