Commit 15138d91 by 1391696987

修复手工录入bug

parent 497fb866
...@@ -148,7 +148,6 @@ public ApiResponse GetAttendanceVacationHandsonTable(int allotId) ...@@ -148,7 +148,6 @@ public ApiResponse GetAttendanceVacationHandsonTable(int allotId)
/// 查询考勤记录 /// 查询考勤记录
/// </summary> /// </summary>
/// <param name="allotId"></param> /// <param name="allotId"></param>
/// <param name="hospitalId"></param>
/// <returns></returns> /// <returns></returns>
[HttpGet("Vacation/{allotId},{hospitalId}")] [HttpGet("Vacation/{allotId},{hospitalId}")]
public ApiResponse<List<RecordAttendcance>> GetAttendanceVacation(int allotId) public ApiResponse<List<RecordAttendcance>> GetAttendanceVacation(int allotId)
......
...@@ -899,10 +899,8 @@ public ApiResponse SaveGatherHands([FromRoute] int allotId, [FromBody] SaveGathe ...@@ -899,10 +899,8 @@ public ApiResponse SaveGatherHands([FromRoute] int allotId, [FromBody] SaveGathe
if (request.Data == null || !request.Data.Any()) if (request.Data == null || !request.Data.Any())
return new ApiResponse(ResponseType.Fail, "用户提交数据为空"); return new ApiResponse(ResponseType.Fail, "用户提交数据为空");
employeeService.CheckGatherData(allotId, request); ;
employeeService.SaveGatherHands(allotId, request); return employeeService.SaveGatherHands(allotId, request);
employeeService.AddCategoryToConfig(allotId);
return new ApiResponse(ResponseType.OK);
} }
/// <summary> /// <summary>
...@@ -965,9 +963,9 @@ public ApiResponse DeleteGather([FromBody] Gather gather) ...@@ -965,9 +963,9 @@ public ApiResponse DeleteGather([FromBody] Gather gather)
/// <returns></returns> /// <returns></returns>
[Route("auditGather")] [Route("auditGather")]
[HttpPost] [HttpPost]
public ApiResponse auditGather([FromBody] List<Gather> gather) public ApiResponse AuditGather([FromBody] List<Gather> gather)
{ {
employeeService.auditGather(gather); employeeService.AuditGather(gather);
return new ApiResponse(ResponseType.OK,""); return new ApiResponse(ResponseType.OK,"");
} }
#endregion #endregion
......
...@@ -384,7 +384,6 @@ ...@@ -384,7 +384,6 @@
查询考勤记录 查询考勤记录
</summary> </summary>
<param name="allotId"></param> <param name="allotId"></param>
<param name="hospitalId"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Performance.Api.Controllers.AttendanceController.AttendanceBatch(System.Int32,System.Int32,Performance.DtoModels.SaveCollectData)"> <member name="M:Performance.Api.Controllers.AttendanceController.AttendanceBatch(System.Int32,System.Int32,Performance.DtoModels.SaveCollectData)">
...@@ -1400,7 +1399,7 @@ ...@@ -1400,7 +1399,7 @@
<param name="gather"></param> <param name="gather"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Performance.Api.Controllers.EmployeeController.auditGather(System.Collections.Generic.List{Performance.DtoModels.Gather})"> <member name="M:Performance.Api.Controllers.EmployeeController.AuditGather(System.Collections.Generic.List{Performance.DtoModels.Gather})">
<summary> <summary>
批量审核 批量审核
</summary> </summary>
......
...@@ -6605,6 +6605,11 @@ ...@@ -6605,6 +6605,11 @@
</summary> </summary>
</member> </member>
<member name="P:Performance.EntityModels.per_dept_dic.AllotId">
<summary>
</summary>
</member>
<member name="P:Performance.EntityModels.per_dept_dic.HISDeptName"> <member name="P:Performance.EntityModels.per_dept_dic.HISDeptName">
<summary> <summary>
his系统科室名称 his系统科室名称
......
...@@ -172,7 +172,7 @@ public enum Deduction ...@@ -172,7 +172,7 @@ public enum Deduction
} }
public enum AuditGather public enum AuditGatherEnum
{ {
未审核 = 0, 未审核 = 0,
未通过 = 1, 未通过 = 1,
......
...@@ -104,7 +104,7 @@ public class ColumnHeadsConfig ...@@ -104,7 +104,7 @@ public class ColumnHeadsConfig
public static List<Heads> GatherTotal { get; } = new List<Heads> public static List<Heads> GatherTotal { get; } = new List<Heads>
{ {
new Heads{Column="核算组别",Name=nameof(GatherTotalRequest.Department)}, new Heads{Column="His科室",Name=nameof(GatherTotalRequest.Department)},
new Heads{Column="来源",Name=nameof(GatherTotalRequest.Source)}, new Heads{Column="来源",Name=nameof(GatherTotalRequest.Source)},
new Heads{Column="核算项目",Name=nameof(GatherTotalRequest.Category)}, new Heads{Column="核算项目",Name=nameof(GatherTotalRequest.Category)},
new Heads{Column="提交人",Name=nameof(UserRequest.Login)}, new Heads{Column="提交人",Name=nameof(UserRequest.Login)},
......
...@@ -27,8 +27,6 @@ public class GatherInfo ...@@ -27,8 +27,6 @@ public class GatherInfo
public class GatherDropResponse public class GatherDropResponse
{ {
public string Label { get; set; }
public string Value { get; set; } public string Value { get; set; }
public List<GatherDropResponse> Children { get; set; } public List<GatherDropResponse> Children { get; set; }
......
...@@ -20,6 +20,10 @@ public class per_dept_dic ...@@ -20,6 +20,10 @@ public class per_dept_dic
/// </summary> /// </summary>
[Key] [Key]
public int Id { get; set; } public int Id { get; set; }
/// <summary>
///
/// </summary>
public int AllotId { get; set; }
/// <summary> /// <summary>
/// his系统科室名称 /// his系统科室名称
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment