20230307 质量在线文档编辑修改

This commit is contained in:
2023-03-07 11:24:59 +08:00
parent f42d330b00
commit 1bbab53e2f
22 changed files with 532 additions and 104 deletions
@@ -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";
}