修改中心调研国际化
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ce969822a0
commit
ae913d8213
|
@ -5,6 +5,7 @@
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
namespace IRaCIS.Core.Application.Contracts
|
namespace IRaCIS.Core.Application.Contracts
|
||||||
{
|
{
|
||||||
|
@ -68,7 +69,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public List<TrialSiteUserSurveyView> TrialSiteUserSurveyList { get; set; } = new List<TrialSiteUserSurveyView>();
|
public List<TrialSiteUserSurveyView> TrialSiteUserSurveyList { get; set; } = new List<TrialSiteUserSurveyView>();
|
||||||
|
|
||||||
public List<SiteSurveyFiledConfig> FileConfigList { get; set; } = new List<SiteSurveyFiledConfig>();
|
|
||||||
|
public SiteSurveyFiledConfig SiteSurveyFiledConfig { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialSiteUserSurveyAllDTO : TrialSiteUserSurveyView
|
public class TrialSiteUserSurveyAllDTO : TrialSiteUserSurveyView
|
||||||
|
|
|
@ -393,7 +393,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
var siteSurveryConfig = _trialSiteSurveyRepository.Where(t => t.Id == trialSiteSurveyId).Select(t => t.Trial.SiteSurveyConfigJsonStr).FirstOrDefault();
|
var siteSurveryConfig = _trialSiteSurveyRepository.Where(t => t.Id == trialSiteSurveyId).Select(t => t.Trial.SiteSurveyConfigJsonStr).FirstOrDefault();
|
||||||
|
|
||||||
result.FileConfigList= JsonConvert.DeserializeObject<List<SiteSurveyFiledConfig>>(siteSurveryConfig) ?? new List<SiteSurveyFiledConfig>();
|
result.SiteSurveyFiledConfig = JsonConvert.DeserializeObject<SiteSurveyFiledConfig>(siteSurveryConfig) ?? new SiteSurveyFiledConfig();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
namespace IRaCIS.Core.Domain.Share
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace IRaCIS.Core.Domain.Share
|
||||||
{
|
{
|
||||||
public enum TrialExpedited
|
public enum TrialExpedited
|
||||||
{
|
{
|
||||||
|
@ -41,8 +43,14 @@
|
||||||
|
|
||||||
public class SiteSurveyFiledConfig
|
public class SiteSurveyFiledConfig
|
||||||
{
|
{
|
||||||
public string NotShowField { get; set; }
|
public List<string> NotShowFieldList { get; set; }=new List<string>();
|
||||||
|
|
||||||
|
public List<SiteSurveyModifyFiled> ModifyFiledList { get; set; }=new List<SiteSurveyModifyFiled>();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public class SiteSurveyModifyFiled
|
||||||
|
{
|
||||||
public string NeedModifyFiled { get; set; }
|
public string NeedModifyFiled { get; set; }
|
||||||
|
|
||||||
public string ReplaceContent { get; set; }
|
public string ReplaceContent { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue