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
@@ -5,6 +5,7 @@ using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
namespace FineUIPro.Web.CQMS.Plan
{
@@ -291,6 +292,11 @@ namespace FineUIPro.Web.CQMS.Plan
if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.SubPlanMenuId, Const.BtnDelete))
{
var subPlan = CQMS_SubPlanService.GetSubPlanBySubPlanId(id);
if (File.Exists(Funs.RootPath + subPlan.FilePath))
{
File.Delete(Funs.RootPath + subPlan.FilePath);
}
CQMS_SubPlanApproveService.DeleteSubPlanApprovesBySubPlanId(id);
CQMS_SubPlanService.DeleteSubPlan(id);
LogService.AddSys_Log(CurrUser, subPlan.Code, id, Const.SubPlanMenuId, "删除分包施工质量计划");