首页修改
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Web.Http;
|
||||
@@ -831,15 +832,35 @@ namespace WebAPI.Controllers
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="projectUnitId"></param>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getProjectIdAndUnitId(string projectUnitId)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
var projectUnit = APIBaseInfoService.ProjectUnit(projectUnitId);
|
||||
responeData.data = new { ProjectId = projectUnit.ProjectId, UnitId = projectUnit.UnitId };
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
#region 获取工作阶段
|
||||
/// <summary>
|
||||
/// 获取施工方案类别
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getWorkStage()
|
||||
#region 获取工作阶段
|
||||
/// <summary>
|
||||
/// 获取施工方案类别
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getWorkStage()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user