fix 考勤下发展示状态修改
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Dlhis.ScheduledTask.TaskAssignment.Response
|
||||
/// <summary>
|
||||
/// 任务下发状态
|
||||
/// </summary>
|
||||
public DeviceTaskStatusEnumType Status { get; set; }
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署点
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
using Dlhis.Entity.Device.Entities;
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Dlhis.ScheduledTask.TaskAssignment.Request;
|
||||
using Dlhis.ScheduledTask.TaskAssignment.Response;
|
||||
using Kurisu.AspNetCore.Utils.Extensions;
|
||||
@@ -66,7 +67,7 @@ public class DeviceTaskAssignmentService : IDeviceTaskAssignmentService
|
||||
DeviceUniqueNo = task.DeviceUniqueNo,
|
||||
UserCode = task.UserCode,
|
||||
Name = ga.Name,
|
||||
Status = task.Status,
|
||||
Status =task.Status.ToString(),
|
||||
DeviceDescription = de.DeployPlace,
|
||||
IP = de.ConnectionInfo
|
||||
}).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user