@@ -245,7 +245,7 @@ namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
#region QC 影像下载--下个版本删除
|
||||
|
||||
//QC质控
|
||||
//QC质控下载
|
||||
public bool IsSupportQCDownloadImage { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -255,6 +255,28 @@ namespace IRaCIS.Core.Application.Service
|
||||
trial.IsConfigureEmail = true;
|
||||
#endregion
|
||||
|
||||
#region 中心调研默认值
|
||||
|
||||
var trialExtalConfig = new TrialExtraConfig()
|
||||
{
|
||||
EquipmentControlFieldList = new List<SiteSurveyEquipmentField> {
|
||||
new SiteSurveyEquipmentField() { FiledName = "EquipmentTypeEnum", ShowOrder = 0, IsView = true },
|
||||
new SiteSurveyEquipmentField() { FiledName = "OtherEquipmentType", ShowOrder = 1, IsView = true },
|
||||
|
||||
new SiteSurveyEquipmentField() { FiledName = "Parameters", ShowOrder = 2, IsView = true },
|
||||
|
||||
new SiteSurveyEquipmentField() { FiledName = "ManufacturerType", ShowOrder = 3, IsView = true },
|
||||
new SiteSurveyEquipmentField() { FiledName = "ManufacturerName", ShowOrder = 4, IsView = true },
|
||||
|
||||
new SiteSurveyEquipmentField() { FiledName = "ScannerType", ShowOrder = 5, IsView = true },
|
||||
|
||||
new SiteSurveyEquipmentField() { FiledName = "Note", ShowOrder = 6, IsView = true },
|
||||
}
|
||||
};
|
||||
|
||||
trial.TrialExtraConfigJsonStr = trialExtalConfig.ToJsonStr();
|
||||
#endregion
|
||||
|
||||
//如果是PM, 则需要将该人员添加到 运维人员表
|
||||
//添加运维人员PM
|
||||
await _trialIdentityUserRepository.AddAsync(new TrialIdentityUser()
|
||||
@@ -341,7 +363,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
trial.EmailFromName = $"{_systemEmailConfig.FromName}-{trial.TrialCode}";
|
||||
trial.UpdateTime = DateTime.Now;
|
||||
|
||||
|
||||
|
||||
|
||||
var success = await _trialRepository.SaveChangesAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user