|
@@ -2873,6 +2873,19 @@ public class OrderController : BaseController
|
|
|
[HttpGet("screen/base")]
|
|
|
public async Task<object> ScreenBaseData()
|
|
|
{
|
|
|
+ var screenStatisticalNodes = _systemSettingCacheManager.GetSetting(SettingConstants.ScreenStatisticalNodes).SettingValue;
|
|
|
+ var screenStatisticalNodesList = new List<Kv>();
|
|
|
+ if (screenStatisticalNodes != null && screenStatisticalNodes.Any())
|
|
|
+ {
|
|
|
+ foreach (var item in screenStatisticalNodes)
|
|
|
+ {
|
|
|
+ screenStatisticalNodesList.Add(new Kv
|
|
|
+ {
|
|
|
+ Key = item,
|
|
|
+ Value = item
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
var rsp = new
|
|
|
{
|
|
|
ScreenStatus = EnumExts.GetDescriptions<EScreenStatus>(),
|
|
@@ -2884,6 +2897,7 @@ public class OrderController : BaseController
|
|
|
SourceChannel = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.SourceChannel),
|
|
|
VisitSatisfaction = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.VisitSatisfaction),
|
|
|
DissatisfiedReason = _sysDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.DissatisfiedReason),
|
|
|
+ ScreenStatisticalNodes= screenStatisticalNodesList,
|
|
|
};
|
|
|
return rsp;
|
|
|
}
|