|
@@ -4692,20 +4692,21 @@ public class OrderController : BaseController
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
[HttpGet("waited/center/base")]
|
|
|
- public async Task<object> WaitedForCenterBaseData()
|
|
|
+ public async Task<Dictionary<string, object>> WaitedForCenterBaseData()
|
|
|
{
|
|
|
- var rsp = new
|
|
|
+ var rsp = new Dictionary<string, object>
|
|
|
{
|
|
|
- OrderStatus = EnumExts.GetDescriptions<EOrderStatus>(),
|
|
|
- ExpiredStatus = EnumExts.GetDescriptions<EExpiredStatus>(),
|
|
|
- StepNames = new string[] { "话务部", "派单组", "班长审批" },
|
|
|
+ {"orderStatus" , EnumExts.GetDescriptions<EOrderStatus>() },
|
|
|
+ {"expiredStatus", EnumExts.GetDescriptions<EExpiredStatus>() },
|
|
|
+ { "stepNames" , new string[] { "话务部", "派单组", "班长审批" } },
|
|
|
};
|
|
|
|
|
|
if (_systemSettingCacheManager.Snapshot)
|
|
|
{
|
|
|
- var industry = await _industryRepository.Queryable()
|
|
|
- .Select(d => new { d.Id, d.Name, })
|
|
|
- .ToListAsync();
|
|
|
+ var industry = await _industryRepository.Queryable()
|
|
|
+ .Select(d => new { d.Id, d.Name, })
|
|
|
+ .ToListAsync();
|
|
|
+ rsp.Add("industry", industry);
|
|
|
}
|
|
|
|
|
|
return rsp;
|