代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,13 +1,10 @@
using BLL;
using Newtonsoft.Json.Linq;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Web.UI.WebControls;
using AspNet = System.Web.UI.WebControls;
using System.IO;
namespace FineUIPro.Web.CQMS.Plan
{
@@ -66,7 +63,7 @@ namespace FineUIPro.Web.CQMS.Plan
hdId.Text = this.MainPlanId;
txtPlanCode.Text = MainPlan.PlanCode;
txtFileName.Text = MainPlan.FileName;
List<string> list = BLL.CQMS_MainPlanApproveService.GetAudit3PersonIds(MainPlanId);
if (list.Count > 0)
{
@@ -112,7 +109,7 @@ namespace FineUIPro.Web.CQMS.Plan
this.btnSubmit.Visible = false;
this.next.Hidden = true;
}
drpHandleType_SelectedIndexChanged(null, null);
}
else
@@ -120,7 +117,7 @@ namespace FineUIPro.Web.CQMS.Plan
string prefix = BLL.ProjectService.GetProjectCodeByProjectId(this.CurrUser.LoginProjectId) + "-ZBJH-";
txtPlanCode.Text = BLL.SQLHelper.RunProcNewId("SpGetThreeNumber", "Plan_MainPlan", "PlanCode", this.CurrUser.LoginProjectId, prefix);
txtFileName.Text = "总包施工质量计划";
drpHandleType.DataSource = BLL.CQMS_MainPlanService.GetDHandleTypeByState(BLL.Const.MainPlan_Compile,string.Empty);
drpHandleType.DataSource = BLL.CQMS_MainPlanService.GetDHandleTypeByState(BLL.Const.MainPlan_Compile, string.Empty);
drpHandleType.DataBind();
drpHandleType_SelectedIndexChanged(null, null);
}
@@ -416,7 +413,7 @@ namespace FineUIPro.Web.CQMS.Plan
}
}
LogService.AddSys_Log(CurrUser, MainPlan.PlanCode, MainPlan.MainPlanId, Const.MainPlanMenuId, "修改总包施工质量计划");
if (saveType== "submit")
if (saveType == "submit")
{
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
@@ -487,13 +484,13 @@ namespace FineUIPro.Web.CQMS.Plan
{
Directory.CreateDirectory(newPath);
}
if (drpCompanyTemplate.SelectedValue!=Const._Null)
if (drpCompanyTemplate.SelectedValue != Const._Null)
{
var template = BLL.Base_CompanytemplateService.GetBase_CompanyTemplateById(drpCompanyTemplate.SelectedValue);
File.Copy(rootPath + template.FilePath, path);
}
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/IndexOffice.aspx?cmd={0}|CQMSMainPlan", MainPlanId, "查看 -")));
PageContext.RegisterStartupScript(WindowAtt.GetHideReference());
}
@@ -531,9 +528,9 @@ namespace FineUIPro.Web.CQMS.Plan
if (!File.Exists(Funs.RootPath + MainPlan.FilePath))
{
drpCompanyTemplate.Hidden= false;
drpCompanyTemplate.Hidden = false;
}
}
else
{
@@ -544,18 +541,18 @@ namespace FineUIPro.Web.CQMS.Plan
}
protected void btnEditWord_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(MainPlanId))
{
Model.Plan_MainPlan MainPlan = BLL.CQMS_MainPlanService.GetMainPlanByMainPlanId(MainPlanId);
if (!File.Exists(Funs.RootPath + MainPlan.FilePath))
{
GetCompanyTemplate();
//PageContext.RegisterStartupScript(Confirm.GetShowReference("是否使用公司模板?",
// String.Empty,
// MessageBoxIcon.Question,
// PageManager1.GetCustomEventReference("Yes"), // 第一个参数 false 用来指定当前不是AJAX请求
// PageManager1.GetCustomEventReference("No")));
//PageContext.RegisterStartupScript(Confirm.GetShowReference("是否使用公司模板?",
// String.Empty,
// MessageBoxIcon.Question,
// PageManager1.GetCustomEventReference("Yes"), // 第一个参数 false 用来指定当前不是AJAX请求
// PageManager1.GetCustomEventReference("No")));
}
else
{